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)
commite4616f64726bfe3362712b403b70f9d3bcde166a
treef7f6ebfc27ba4fd819252be6a0124e1ec0fc523b
parent621918c45fdc6554981c01f5517d5b0dc33de4ae
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