summaryrefslogtreecommitdiffstats
path: root/include/net/flow_dissector.h
diff options
context:
space:
mode:
authorTom Herbert2015-06-04 18:16:46 +0200
committerDavid S. Miller2015-06-05 00:44:31 +0200
commitb3baa0fbd02a1a9d493d8cb92ae4a4491b9e9d13 (patch)
treee19a85590547279215e55378b5d34f76b4e07d7a /include/net/flow_dissector.h
parentnet: Add GRE keyid in flow_keys (diff)
downloadkernel-qcow2-linux-b3baa0fbd02a1a9d493d8cb92ae4a4491b9e9d13.tar.gz
kernel-qcow2-linux-b3baa0fbd02a1a9d493d8cb92ae4a4491b9e9d13.tar.xz
kernel-qcow2-linux-b3baa0fbd02a1a9d493d8cb92ae4a4491b9e9d13.zip
mpls: Add MPLS entropy label in flow_keys
In flow dissector if an MPLS header contains an entropy label this is saved in the new keyid field of flow_keys. The entropy label is then represented in the flow hash function input. Signed-off-by: Tom Herbert <tom@herbertland.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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/flow_dissector.h b/include/net/flow_dissector.h
index 6c5e8d262607..1a8c22419936 100644
--- a/include/net/flow_dissector.h
+++ b/include/net/flow_dissector.h
@@ -118,6 +118,7 @@ enum flow_dissector_key_id {
FLOW_DISSECTOR_KEY_VLANID, /* struct flow_dissector_key_flow_tags */
FLOW_DISSECTOR_KEY_FLOW_LABEL, /* struct flow_dissector_key_flow_tags */
FLOW_DISSECTOR_KEY_GRE_KEYID, /* struct flow_dissector_key_keyid */
+ FLOW_DISSECTOR_KEY_MPLS_ENTROPY, /* struct flow_dissector_key_keyid */
FLOW_DISSECTOR_KEY_MAX,
};