]> git.baikalelectronics.ru Git - kernel.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)
commit3f4ebcfea82353a969e8bc7d11593e78cc10adf5
treed48a89168bc70ae7c93e85a2e730c7fe14f36501
parent08ff1de480c8b11f8134e9631615f82a00448471
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