]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: add reset statistics info for PF
authorHuazhong Tan <tanhuazhong@huawei.com>
Fri, 19 Apr 2019 03:05:36 +0000 (11:05 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Apr 2019 01:43:15 +0000 (18:43 -0700)
commite4c28b2f59f11223e27e818aae2cb5754846c6de
tree8ff7ae00a6ba0e3c6d31ccff615ed0880a43d33e
parentb7e5fc08d33cfbe0d50c207c7daf5f50d1787233
net: hns3: add reset statistics info for PF

This patch adds statistics for PF's reset information,
also, provides a debugfs command to dump these statistics.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
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