]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb0488d09251e5c3277b21fd98879e299184a202d
tree7916beb7541dc646b24b56f202229925740caf6c
parent541a8362ff41ddb650663c80edabacebf0d77fda
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