This series comes to address the case to set (encap) and match (decap) also the tos and ttl fields of TC based IP tunnels. This happens e.g due to inherit setup of tunnel port for tos or due to specific OF rule.
The series is rebased over Jianbo's patches for QinQ [1] Or. v2 changes: - rebased to include Jianbo's changes from the master and not locally - addressed comment from Simon on duplicated code Or Gerlitz (4): lib/tc: Handle ttl for ipv6 too lib/tc: Support matching on ip tos lib/tc: Support setting tos and ttl for TC IP tunnels lib/tc: Support matching on ip tunnel tos and ttl acinclude.m4 | 16 +++++----- include/linux/pkt_cls.h | 7 ++++- include/linux/tc_act/tc_tunnel_key.h | 10 +++++-- include/openvswitch/match.h | 1 + lib/match.c | 7 +++++ lib/netdev-tc-offloads.c | 34 ++++++++++++++++++--- lib/tc.c | 58 +++++++++++++++++++++++++++++++++--- lib/tc.h | 7 ++++- 8 files changed, 120 insertions(+), 20 deletions(-) -- 2.5.5 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
