aboutsummaryrefslogtreecommitdiff
path: root/net/dsa/legacy.c
diff options
context:
space:
mode:
authorGravatar John Crispin <john@phrozen.org> 2017-08-09 14:41:18 +0200
committerGravatar David S. Miller <davem@davemloft.net> 2017-08-09 22:51:47 -0700
commit2dd592b274861021018446102fb443e24f72fe72 (patch)
treec6ab27e229b804d7b74b924b6a9a3f4f87e7d34f /net/dsa/legacy.c
parentnet-next: dsa: add flow_dissect callback to struct dsa_device_ops (diff)
downloadlinux-2dd592b274861021018446102fb443e24f72fe72.tar.gz
linux-2dd592b274861021018446102fb443e24f72fe72.tar.bz2
linux-2dd592b274861021018446102fb443e24f72fe72.zip
net-next: tag_mtk: add flow_dissect callback to the ops struct
The MT7530 inserts the 4 magic header in between the 802.3 address and protocol field. The patch implements the callback that can be called by the flow dissector to figure out the real protocol and offset of the network header. With this patch applied we can properly parse the packet and thus make hashing function properly. Signed-off-by: Muciri Gatimu <muciri@openmesh.com> Signed-off-by: Shashidhar Lakkavalli <shashidhar.lakkavalli@openmesh.com> Signed-off-by: John Crispin <john@phrozen.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/legacy.c')
0 files changed, 0 insertions, 0 deletions