]> 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)
commit780bcba55ccf13a33f45634bff2d824aafd41aa7
tree005aacb66acb38ea5f2cb3292aa2aff55ddefa87
parent1c4dd0dd30dde4f510e4fa73a75498a53bd8d12f
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