On Sat, Mar 06, 2021 at 05:38:14PM +0530, Sunil Kovvuri wrote: > > Can you share the format of the DSA tag? Is there a driver for it > > upstream? Do we need to represent it in union ethtool_flow_union? > > > > No, there is no driver for this tag in the kernel. > I have attached the tag format. > There are multiple DSA tag formats and representing them ethtool_flow > union would be difficult. > Hence wondering if it would be okay to add a more flexible way ie > offset and num_bytes from the start of packet.
How sure are you that the tag format you've shared is not identical to the one parsed by net/dsa/tag_dsa.c?