lkml.org 
[lkml]   [2021]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH V2 net-next 0/2] net: hns3: add support for PTP
Date
This series adds PTP support for the HNS3 ethernet driver.

change log:
V1 -> V2:
1. use spinlock to prevent concurrency
2. add the handling when ptp_clock_register() returns NULL

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 | 61 ++-
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 6 +
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c | 544 +++++++++++++++++++++
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.h | 134 +++++
13 files changed, 873 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

\
 
 \ /
  Last update: 2021-06-10 15:42    [W:0.037 / U:0.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site