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

The previous patch add support for PTP over IPv6/UDP (only for 8000
series and newer) and this one add support for PTP over 802.3.

Tested: sync as master and as slave is correct with ptp4l. PTP over IPv4
and IPv6 still works fine.

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/ptp.c