net: hns3: add some DFX info for reset issue
authorHuazhong Tan <tanhuazhong@huawei.com>
Wed, 11 Sep 2019 02:40:39 +0000 (10:40 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Sep 2019 08:08:46 +0000 (09:08 +0100)
commit0ecf1f7b28b7b062480dfc3bfb1023811e9d83ad
tree124e5961db3138199ccbb5fef42d01c4f579d90f
parentfa17c708ff5aa169eb87c9de665c1f2011cc51b9
net: hns3: add some DFX info for reset issue

This patch adds more information for reset DFX. Also, adds some
cleanups to reset info, move reset_fail_cnt into struct
hclge_rst_stats, and modifies some print formats.

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