]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: support PTP over IPv6/UDP
authorÍñigo Huguet <ihuguet@redhat.com>
Mon, 5 Sep 2022 08:23:22 +0000 (10:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Sep 2022 11:23:25 +0000 (12:23 +0100)
commitd5b3d24c84817249e02aa2329259f81ed9220b22
tree7e3b48db4a3e3caf0bfa4820ab3db08f5886de9e
parent023de5cf1572d551c965fe565fc5319a775b26c8
sfc: support PTP over IPv6/UDP

commit ac95b26f2bb9 ("sfc: use hardware tx timestamps for more than
PTP") added support for hardware timestamping on TX for cards of the
8000 series and newer, in an effort to provide support for other
transports other than IPv4/UDP.

However, timestamping was still not working on RX for these other
transports. This patch add support for PTP over IPv6/UDP.

Tested: sync as master and as slave is correct using ptp4l from linuxptp
package, both with IPv4 and IPv6.

Suggested-by: Edward Cree <ecree.xilinx@gmail.com>
Signed-off-by: Íñigo Huguet <ihuguet@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/filter.h
drivers/net/ethernet/sfc/ptp.c