Thread (14 messages) 14 messages, 5 authors, 2017-08-10

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

flat view

From: Andrew Lunn <hidden>
Date: 2017-08-09 13:52:31
Also in: linux-mediatek, lkml

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-lv6y7wLVQPlWk0Htik3J/w@public.gmane.org>
Signed-off-by: Shashidhar Lakkavalli <shashidhar.lakkavalli-lv6y7wLVQPlWk0Htik3J/w@public.gmane.org>
Signed-off-by: John Crispin <redacted>
Reviewed-by: Andrew Lunn <redacted>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help