net: hns3: add support for dumping MAC reg in debugfs
authorYufeng Mo <moyufeng@huawei.com>
Mon, 20 Apr 2020 02:17:34 +0000 (10:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Apr 2020 19:49:18 +0000 (12:49 -0700)
commit5cb51cfe8ad65117d4404b82fb8531768b149ad9
treebe4489219087da05e9016c17a8bfc09d6f51bfb1
parenta3ca5e9048be07576259d2ba9628dc8187f7690e
net: hns3: add support for dumping MAC reg in debugfs

This patch adds support for dumping MAC reg in debugfs,
which will be helpful for debugging.

Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@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