]> asedeno.scripts.mit.edu Git - linux.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)
commitf02eb82dfe12a0922b539f8cd3c4151826cae94e
tree8ff7ae00a6ba0e3c6d31ccff615ed0880a43d33e
parentd7cc399e1227e74e44f78847d9732a228b46cc91
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