]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: print out status register when VF receives unknown source interrupt
authorHuazhong Tan <tanhuazhong@huawei.com>
Sat, 7 Mar 2020 03:42:47 +0000 (11:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2020 02:36:13 +0000 (19:36 -0700)
commita4379cee0d187ad889bcb2cffe275ae1e6bb3fb2
tree98991172feb2f394544d4c5a8d7740a82fcf12ca
parentf90ef22e2c84fb82433094d69db8972853c12191
net: hns3: print out status register when VF receives unknown source interrupt

When received an unknown vector 0 interrupt, there is not a
helpful information for user to realize that now. So this patch
prints out the value of the status register for this case, and
uses dev_info() instead of dev_dbg() in hclge_check_event_cause().

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c