]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: dump more information when tx timeout happens
authorJian Shen <shenjian15@huawei.com>
Fri, 19 Apr 2019 03:05:42 +0000 (11:05 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Apr 2019 01:43:16 +0000 (18:43 -0700)
commit34fcd30edc753461fc89b3fb32a44786511b6bd0
tree005aacb66acb38ea5f2cb3292aa2aff55ddefa87
parentf98ba7bb5811fb37746aa6df96cdb25feb6a5cdd
net: hns3: dump more information when tx timeout happens

Currently we just print few information when tx timeout happens.
In order to find out the cause of timeout, this patch prints more
information about the packet statistics, tqp registers and
napi state.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c