net: hns3: add debugfs support for ptp info
authorHuazhong Tan <tanhuazhong@huawei.com>
Thu, 10 Jun 2021 13:38:57 +0000 (21:38 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jun 2021 19:43:16 +0000 (12:43 -0700)
commitb34c157f0cdd0b9e52c002288ff77b1a553dd438
tree7916beb7541dc646b24b56f202229925740caf6c
parent0bf5eb788512187b744ef7f79de835e6cbe85b9c
net: hns3: add debugfs support for ptp info

Add a debugfs interface for dumping ptp information, which
is helpful for debugging.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c