diff options
author | Jianbo Liu <jianbol@mellanox.com> | 2018-07-06 07:38:12 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-07 13:51:53 +0200 |
commit | 2064c3d4c02026572d4975177f28a58052f0a8b7 (patch) | |
tree | 7b7f23e9d67d4b44a707ce2542a7f11d98700a5f /include/net/flow_dissector.h | |
parent | farsync: remove redundant variable txq_length (diff) | |
download | linux-2064c3d4c02026572d4975177f28a58052f0a8b7.tar.xz linux-2064c3d4c02026572d4975177f28a58052f0a8b7.zip |
net/flow_dissector: Save vlan ethertype from headers
Change vlan dissector key to save vlan tpid to support both 802.1Q
and 802.1AD ethertype.
Signed-off-by: Jianbo Liu <jianbol@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/flow_dissector.h')
-rw-r--r-- | include/net/flow_dissector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/flow_dissector.h b/include/net/flow_dissector.h index adc24df56b90..8f899688a965 100644 --- a/include/net/flow_dissector.h +++ b/include/net/flow_dissector.h @@ -47,7 +47,7 @@ struct flow_dissector_key_tags { struct flow_dissector_key_vlan { u16 vlan_id:12, vlan_priority:3; - u16 padding; + __be16 vlan_tpid; }; struct flow_dissector_key_mpls { |