diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2018-07-31 13:40:39 +0300 |
---|---|---|
committer | Simon Horman <simon.horman@netronome.com> | 2018-08-01 11:32:54 +0200 |
commit | dd83253e117cc7a44cf9d61a89175aab6ae9bbcc (patch) | |
tree | d8623ea63d7f604999b3bf86bcb26532f31b66e2 /include/linux | |
parent | 4b12e45435768e6b516afceb907f627f521f5c79 (diff) | |
download | openvswitch-dd83253e117cc7a44cf9d61a89175aab6ae9bbcc.tar.gz |
lib/tc: Support matching on ip tunnel tos and ttl
Support matching on tos and ttl of ip tunnels
for the TC data-path.
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/pkt_cls.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/pkt_cls.h b/include/linux/pkt_cls.h index 442323da0..a3300418e 100644 --- a/include/linux/pkt_cls.h +++ b/include/linux/pkt_cls.h @@ -1,7 +1,7 @@ #ifndef __LINUX_PKT_CLS_WRAPPER_H #define __LINUX_PKT_CLS_WRAPPER_H 1 -#if defined(__KERNEL__) || defined(HAVE_TCA_FLOWER_KEY_CVLAN_PRIO) +#if defined(__KERNEL__) || defined(HAVE_TCA_FLOWER_KEY_ENC_IP_TTL_MASK) #include_next <linux/pkt_cls.h> #else @@ -200,6 +200,11 @@ enum { TCA_FLOWER_KEY_CVLAN_PRIO, /* u8 */ TCA_FLOWER_KEY_CVLAN_ETH_TYPE, /* be16 */ + TCA_FLOWER_KEY_ENC_IP_TOS, /* u8 */ + TCA_FLOWER_KEY_ENC_IP_TOS_MASK, /* u8 */ + TCA_FLOWER_KEY_ENC_IP_TTL, /* u8 */ + TCA_FLOWER_KEY_ENC_IP_TTL_MASK, /* u8 */ + __TCA_FLOWER_MAX, }; |