OSDN Git Service

Merge branch 'net-lan966x-enable-ptp-on-bridge-interfaces'
authorPaolo Abeni <pabeni@redhat.com>
Tue, 6 Dec 2022 12:26:45 +0000 (13:26 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 6 Dec 2022 12:26:45 +0000 (13:26 +0100)
commit01d0e110f2365151d8e69ca4978128112637642d
tree51c4c3f3abb5582a07f999a43308e0d82fb4f048
parentc9f8d73645b6f76c8d14f49bc860f7143d001cb7
parent72df3489fb10324e30616d278ea9b37a8a801b6f
Merge branch 'net-lan966x-enable-ptp-on-bridge-interfaces'

Horatiu Vultur says:

====================
net: lan966x: Enable PTP on bridge interfaces

Before it was not allowed to run ptp on ports that are part of a bridge
because in case of transparent clock the HW will still forward the frames
so there would be duplicate frames.
Now that there is VCAP support, it is possible to add entries in the VCAP
to trap frames to the CPU and the CPU will forward these frames.
The first part of the patch series, extends the VCAP support to be able to
modify and get the rule, while the last patch uses the VCAP to trap the ptp
frames.
====================

Link: https://lore.kernel.org/r/20221203104348.1749811-1-horatiu.vultur@microchip.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>