]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: hns3: dump some debug information when reset fail
authorHuazhong Tan <tanhuazhong@huawei.com>
Thu, 31 Oct 2019 11:23:16 +0000 (19:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Oct 2019 19:03:22 +0000 (12:03 -0700)
commit3d77d0cb054cbc8d9171ebc7f6b0c33445b2a94d
treed48a89168bc70ae7c93e85a2e730c7fe14f36501
parent796977443018f81df68abf12f3263b8da85899f3
net: hns3: dump some debug information when reset fail

When reset fails, there is some information that will help for
finding out why does reset fail. and removes an unused
core_rst_cnt field in struct hclge_rst_stats.

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