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

v4:
- probe TC kernel for vxlan gbp support.
- add test.
- style fix in patch 3.
- log warn instead of err in patch 5.

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 (9):
  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
  netdev-tc-offloads: Probe for allowing vxlan gbp support
  system-offloads-traffic.at: Add vxlan gbp offload test

 acinclude.m4                         |   7 +
 include/linux/pkt_cls.h              |  13 ++
 include/linux/tc_act/tc_tunnel_key.h |  17 ++-
 lib/netdev-offload-tc.c              | 106 ++++++++++++-
 lib/netlink.c                        |   9 ++
 lib/netlink.h                        |   1 +
 lib/odp-util.c                       |  53 ++++---
 lib/odp-util.h                       |  16 ++
 lib/tc.c                             | 218 ++++++++++++++++++++-------
 lib/tc.h                             |  80 +++++-----
 tests/system-offloads-traffic.at     |  49 ++++++
 11 files changed, 462 insertions(+), 107 deletions(-)

-- 
2.38.0

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to