]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: Implement flow dissection for tag_brcm.c
authorFlorian Fainelli <f.fainelli@gmail.com>
Sun, 22 Mar 2020 21:09:57 +0000 (14:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Mar 2020 04:48:59 +0000 (21:48 -0700)
commitfcdcd6dff8e04f72f7ec84ca697683426d065bdc
tree949d19dccb3f225fcd8a535b1a5246bce2435c49
parent842c5721fbb96f4ebfce63006b6dae9dfe7c4b64
net: dsa: Implement flow dissection for tag_brcm.c

Provide a flow_dissect callback which returns the network offset and
where to find the skb protocol, given the tags structure a common
function works for both tagging formats that are supported.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vivien Didelot <vivien.didelot@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/tag_brcm.c