mbox series

[net-next,v2,0/3] sfc: add support for PTP over IPv6 and 802.3

Message ID 20220819082001.15439-1-ihuguet@redhat.com (mailing list archive)
Headers show
Series sfc: add support for PTP over IPv6 and 802.3 | expand

Message

Íñigo Huguet Aug. 19, 2022, 8:19 a.m. UTC
Most recent cards (8000 series and newer) had enough hardware support
for this, but it was not enabled in the driver. The transmission of PTP
packets over these protocols was already added in commit bd4a2697e5e2
("sfc: use hardware tx timestamps for more than PTP"), but receiving
them was already unsupported so synchronization didn't happen.

These patches add support for timestamping received packets over
IPv6/UPD and IEEE802.3.

v2: fixed weird indentation in efx_ptp_init_filter

Íñigo Huguet (3):
  sfc: allow more flexible way of adding filters for PTP
  sfc: support PTP over IPv6/UDP
  sfc: support PTP over Ethernet

 drivers/net/ethernet/sfc/filter.h |  22 +++++
 drivers/net/ethernet/sfc/ptp.c    | 134 ++++++++++++++++++++----------
 2 files changed, 112 insertions(+), 44 deletions(-)