Hi,
This series adds TC offload support for filtering vxlan tunnels with gbp option.
First 4 patches do some refactoring and the later patches adds the feature.
Thanks,
Roi
changelog
v3:
- Add function nl_msg_start_nested_with_flag() to be used
with TC fiedls that require the nested flag. currently
only vxlan gbp tun opts.
- Split put flower tunnel opts to sub functions for geneve
and vxlan tun opts.
v2:
- Fix incorrect compat modification in
patch "tc: Add vxlan gbp option flower match offload".
Gavin Li (7):
tc: Pass tunnel entirely to tunnel option parse and put functions
odp-util: Extract vxlan gbp option decoding to a function
odp-util: Extract vxlan gbp option encoding to a function
netlink: Add new function to add NLA_F_NESTED to nested netlink
messages
tc: Add vxlan gbp option flower match offload
tc: Pass encap entirely to nl_msg_put_act_tunnel_key_set
tc: Add vxlan encap action with gbp option offload
acinclude.m4 | 7 +
include/linux/pkt_cls.h | 13 ++
include/linux/tc_act/tc_tunnel_key.h | 17 ++-
lib/netdev-offload-tc.c | 48 +++++-
lib/netlink.c | 9 ++
lib/netlink.h | 1 +
lib/odp-util.c | 50 +++---
lib/odp-util.h | 17 ++-
lib/tc.c | 218 ++++++++++++++++++++-------
lib/tc.h | 80 +++++-----
10 files changed, 353 insertions(+), 107 deletions(-)
--
2.38.0
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev