]> 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)
commit9b1714b1f9d9bba135e846d0f5f8481eccff9098
treed48a89168bc70ae7c93e85a2e730c7fe14f36501
parent5e2cb1305ca810ed92488adbd3c68584ab1de15e
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