mbox series

[ovs-dev,v12,0/6] dpif: probe support for OVS_ACTION_ATTR_DROP

Message ID 20240315195508.95099-1-eric@garver.life
Headers show
Series dpif: probe support for OVS_ACTION_ATTR_DROP | expand

Message

Eric Garver March 15, 2024, 7:55 p.m. UTC
v12:
  - new patch to verify re-probe
  - don't mention hw offload in the probe
  - changed log message to not mention HW offload
v11:
  - move netdev and flow API check to lib
  - tweaked log message
  - use atomic store instead of cmpx
  - copy odp in copy_support()
v10:
  - fix a sparse error in show_dp_feature_atomic_bool()
v9:
  - new patch make get_datapath_cap() access support by pointer
  - fix a clang warning in copy_support()
v8:
  - new patch to support atomic_bool dpif field types
  - re-add re-probe of support
  - use atomic_bool type for explicit_drop_action
v7:
  - remove re-probe of support as Ilya is working on a generic solution
v6:
  - improve log if hw-offload enabled
  - re-probe support if hw-offload set true at runtime
v5:
  - combine patches 3 and 4
  - add description to combined patch 3
v4:
  - avoid passing action to datapath if TC offload in use
v3:
  - alter test such that it's reliable, different xlate_error
  - better commit message in patch 2
  - reordered _DEC_TTL value in switch statements
  - add format_dec_ttl_action()
v2:
  - new patch (1) to fix build (switch cases)
  - fixed check-system-userspace

Eric Garver (6):
  dpif: Stub out unimplemented action OVS_ACTION_ATTR_DEC_TTL.
  dpif: Make get_datapath_cap() access support by pointer.
  dpif: Support atomic_bool field type.
  dpif: Probe support for OVS_ACTION_ATTR_DROP.
  tests: system-traffic: Add coverage for drop action.
  tests: system-offload-traffic: Verify re-probe of drop action.

 include/linux/openvswitch.h      |   3 +-
 lib/dpif-netdev.c                |   1 +
 lib/dpif.c                       |   7 +-
 lib/dpif.h                       |   2 +-
 lib/odp-execute.c                |   2 +
 lib/odp-util.c                   |  23 ++++
 ofproto/ofproto-dpif-ipfix.c     |   1 +
 ofproto/ofproto-dpif-sflow.c     |   1 +
 ofproto/ofproto-dpif.c           | 187 ++++++++++++++++++++++++-------
 ofproto/ofproto-dpif.h           |   4 +-
 tests/system-common-macros.at    |   4 +
 tests/system-offloads-traffic.at |  12 ++
 tests/system-traffic.at          |  31 +++++
 13 files changed, 233 insertions(+), 45 deletions(-)