[PATCH 0/2] ethdev: add group set miss actions API
Tomer Shmilovich
tshmilovich at nvidia.com
Wed Sep 20 14:52:47 CEST 2023
Introduce new group set miss actions API:
rte_flow_group_set_miss_actions().
A group's miss actions are a set of actions to be performed
in case of a miss on a group, i.e. when a packet didn't hit any flow
rules in the group.
Currently, the expected behavior in this case is undefined.
In order to achieve such functionality, a user can add a flow rule
that matches on all traffic with the lowest priority in the group -
this is not explicit however, and can be overridden by another flow rule
with a lower priority.
This new API function allows a user to set a group's miss actions in an
explicit way.
RFC discussion: http://patches.dpdk.org/project/dpdk/patch/20230807133601.164018-1-tshmilovich@nvidia.com/
Tomer Shmilovich (2):
ethdev: add group set miss actions API
app/testpmd: add group set miss actions CLI commands
.mailmap | 1 +
app/test-pmd/cmdline_flow.c | 112 +++++++++++++++++++++++++
app/test-pmd/config.c | 27 ++++++
app/test-pmd/testpmd.h | 2 +
doc/guides/prog_guide/rte_flow.rst | 30 +++++++
doc/guides/rel_notes/release_23_11.rst | 5 ++
lib/ethdev/rte_flow.c | 22 +++++
lib/ethdev/rte_flow.h | 35 ++++++++
lib/ethdev/rte_flow_driver.h | 7 ++
lib/ethdev/version.map | 3 +
10 files changed, 244 insertions(+)
--
2.34.1
More information about the dev
mailing list