[ovs-dev] [PATCH 0/4] Enable set/match of tos/ttl for IP tunnels on TC data-path

Or Gerlitz ogerlitz at mellanox.com
Wed Jul 25 18:20:05 UTC 2018


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.

[1] https://mail.openvswitch.org/pipermail/ovs-dev/2018-July/349752.html

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                             | 62 +++++++++++++++++++++++++++++++++---
 lib/tc.h                             |  7 +++-
 8 files changed, 124 insertions(+), 20 deletions(-)

-- 
2.5.5



More information about the dev mailing list