net: hns3: Adds support to dump(using ethool-d) PCIe regs in HNS3 PF driver
authorJian Shen <shenjian15@huawei.com>
Thu, 29 Nov 2018 16:40:59 +0000 (16:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Dec 2018 23:26:33 +0000 (15:26 -0800)
commitea4750caa0567879ec622a0999eb58479989ad2f
tree2018b44e1e42548ef6416bbe3fd149be586d7415
parent1600c3e5f23e39c0ecdad237838e6366713656b7
net: hns3: Adds support to dump(using ethool-d) PCIe regs in HNS3 PF driver

This patch adds support to dump PF PCIe registers using ethtool -d
for HNS3 PF Driver.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h