diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2019-04-19 06:05:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-20 04:43:15 +0300 |
commit | f02eb82dfe12a0922b539f8cd3c4151826cae94e (patch) | |
tree | 8ff7ae00a6ba0e3c6d31ccff615ed0880a43d33e /drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | |
parent | d7cc399e1227e74e44f78847d9732a228b46cc91 (diff) | |
download | linux-f02eb82dfe12a0922b539f8cd3c4151826cae94e.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c b/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c index 0de543faa5b1..c46da81a75a9 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c @@ -247,6 +247,7 @@ static void hns3_dbg_help(struct hnae3_handle *h) dev_info(&h->pdev->dev, "dump qos pri map\n"); dev_info(&h->pdev->dev, "dump qos buf cfg\n"); dev_info(&h->pdev->dev, "dump mng tbl\n"); + dev_info(&h->pdev->dev, "dump reset info\n"); memset(printf_buf, 0, HNS3_DBG_BUF_LEN); strncat(printf_buf, "dump reg [[bios common] [ssu <prt_id>]", |