[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241106010756.1588973-1-arkadiusz.kubalewski@intel.com>
Date: Wed, 6 Nov 2024 02:07:54 +0100
From: Arkadiusz Kubalewski <arkadiusz.kubalewski@...el.com>
To: netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
intel-wired-lan@...ts.osuosl.org
Cc: anthony.l.nguyen@...el.com,
przemyslaw.kitszel@...el.com,
davem@...emloft.net,
edumazet@...gle.com,
kuba@...nel.org,
pabeni@...hat.com,
richardcochran@...il.com,
Arkadiusz Kubalewski <arkadiusz.kubalewski@...el.com>
Subject: [PATCH net-next v3 0/2] ptp: add control over HW timestamp latch point
HW support of ptp/timesync solutions in network PHY chips can be
achieved with two different approaches, the timestamp maybe latched
either in the beginning or after the Start of Frame Delimiter (SFD) [1].
Allow ptp device drivers to provide user with control over the timestamp
latch point.
[1] https://www.ieee802.org/3/cx/public/april20/tse_3cx_01_0420.pdf
v3:
- move new enum ptp_ts_point to uapi ptp_clock.h and add NONE value to
indicate that the timestamp latch point was not provided by the HW,
allow further changes to ethtool netlink interface exstensions.
Arkadiusz Kubalewski (2):
ptp: add control over HW timestamp latch point
ice: ptp: add control over HW timestamp latch point
Documentation/ABI/testing/sysfs-ptp | 12 +++++
drivers/net/ethernet/intel/ice/ice_ptp.c | 44 +++++++++++++++
drivers/net/ethernet/intel/ice/ice_ptp_hw.c | 60 +++++++++++++++++++++
drivers/net/ethernet/intel/ice/ice_ptp_hw.h | 2 +
drivers/ptp/ptp_sysfs.c | 44 +++++++++++++++
include/linux/ptp_clock_kernel.h | 12 +++++
include/uapi/linux/ptp_clock.h | 18 +++++++
7 files changed, 192 insertions(+)
base-commit: 0452a2d8b8b98a5b1a9139c1a9ed98bccee356cc
--
2.38.1
Powered by blists - more mailing lists