mbox series

[ovs-dev,v3,0/7] Add vxlan gbp offload with TC

Message ID 20230515082356.3471136-1-roid@nvidia.com
Headers show
Series Add vxlan gbp offload with TC | expand

Message

Roi Dayan May 15, 2023, 8:23 a.m. UTC
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(-)