net: hns3: add debugfs of dumping pf interrupt resources
authorYufeng Mo <moyufeng@huawei.com>
Fri, 25 Sep 2020 00:26:16 +0000 (08:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2020 03:19:25 +0000 (20:19 -0700)
commit348775ebe9114e9ceedafc5c85530c7e29cea369
treec66c8f76d2b9ecd50b1c02d95892de3e48381fbd
parent6cd131dd10dbb91a65ac9cbcb67a0dabce08c5e5
net: hns3: add debugfs of dumping pf interrupt resources

The pf's interrupt resources will be changed with the number of
enabled pf. Dumping this resource information 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