diff options
author | Tom Herbert <tom@herbertland.com> | 2015-06-04 19:16:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-05 01:44:31 +0300 |
commit | b3baa0fbd02a1a9d493d8cb92ae4a4491b9e9d13 (patch) | |
tree | e19a85590547279215e55378b5d34f76b4e07d7a /include/net/flow_dissector.h | |
parent | 1fdd512c92003cf2d671ba22753d13302bf8cd1d (diff) | |
download | linux-b3baa0fbd02a1a9d493d8cb92ae4a4491b9e9d13.tar.xz |
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.h | 1 |
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, }; |