OSDN Git Service

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)
commit52015366e361a88c569550a285c71f72bb095661
tree949d19dccb3f225fcd8a535b1a5246bce2435c49
parent4076c693d3afb405c0db7f43a1594e5cfce119ad
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