[PATCH 2/4] net-next: dsa: add flow_dissect callback to struct dsa_device_ops

Andrew Lunn andrew at lunn.ch
Wed Aug 9 06:51:59 PDT 2017


On Wed, Aug 09, 2017 at 02:41:17PM +0200, John Crispin wrote:
> When the flow dissector first sees packets coming in on a DSA devices the
> 802.3 header wont be located where the code expects it to be as the tag
> is still present. Adding this new callback allows a DSA device to provide a
> new function that the flow_dissector can use to get the correct protocol
> and offset of the network header.
> 
> Signed-off-by: Muciri Gatimu <muciri at openmesh.com>
> Signed-off-by: Shashidhar Lakkavalli <shashidhar.lakkavalli at openmesh.com>
> Signed-off-by: John Crispin <john at phrozen.org>

Reviewed-by: Andrew Lunn <andrew at lunn.ch>

    Andrew



More information about the Linux-mediatek mailing list