[PATCH net-next v3 4/4] net: lan966x: Add ptp trap rules

Vladimir Oltean olteanv at gmail.com
Fri Dec 9 06:43:28 PST 2022


On Fri, Dec 09, 2022 at 03:20:58PM +0100, Horatiu Vultur wrote:
> On ocelot, the vcap is enabled at port initialization, while on other
> platforms(lan966x and sparx5) you have the option to enable or disable.

Even if that wasn't the case, I'd still consider enabling/disabling VCAP
lookups privately in the ocelot driver when there are non-tc users of
traps, instead of requiring users to do anything with tc. It's simply
too unfriendly for somebody who just wants PTP. You can use devlink
traps to show which non-tc traps are active.



More information about the linux-arm-kernel mailing list