2
0
mirror of https://github.com/openvswitch/ovs synced 2025-09-05 08:45:23 +00:00

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>
This commit is contained in:
Or Gerlitz
2018-07-31 13:40:39 +03:00
committed by Simon Horman
parent 4b12e45435
commit dd83253e11
5 changed files with 47 additions and 8 deletions

View File

@@ -183,9 +183,11 @@ struct tc_flower {
struct in6_addr ipv6_src;
struct in6_addr ipv6_dst;
} ipv6;
ovs_be64 id;
uint8_t tos;
uint8_t ttl;
ovs_be16 tp_src;
ovs_be16 tp_dst;
ovs_be64 id;
} tunnel;
struct tc_cookie act_cookie;