Hi all, This set extends the ovs-tc pedit interface to allow setting ipv4 dscp and ecn fields as well as ipv6 traffic class in tc via pedit. Patch 2 in this set also introduces the notion of boundary shifts to allow translating non-byte-aligned fields like traffic class and flow limit for IPv6 to be offloaded.
v1 -> v2: - Move helpers from byte-order.h to local tc.c - Swap htonl/ntohl and reword comment. Pieter Jansen van Vuuren (2): lib/tc: add set ipv4 dscp and ecn action offload via pedit lib/tc: add set ipv6 traffic class action offload via pedit lib/netdev-tc-offloads.c | 10 ++++- lib/tc.c | 82 +++++++++++++++++++++++++++++++--------- lib/tc.h | 2 + 3 files changed, 76 insertions(+), 18 deletions(-) -- 2.17.0 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev