[PATCH net-next 0/2] net: hns3: add support for PTP
From: Guangbin Huang
Date: Tue Jun 01 2021 - 07:37:39 EST
This series adds PTP support for the HNS3 ethernet driver.
Huazhong Tan (2):
net: hns3: add support for PTP
net: hns3: add debugfs support for ptp info
drivers/net/ethernet/hisilicon/Kconfig | 1 +
drivers/net/ethernet/hisilicon/hns3/hnae3.h | 13 +
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 13 +-
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 27 ++
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 9 +-
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 12 +
.../net/ethernet/hisilicon/hns3/hns3pf/Makefile | 2 +-
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 4 +
.../ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c | 55 +++
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 57 ++-
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 6 +
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c | 520 +++++++++++++++++++++
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.h | 133 ++++++
13 files changed, 844 insertions(+), 8 deletions(-)
create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c
create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.h
--
2.8.1