Skip to content

ethdev: add group set miss actions API

Tomer Shmilovich dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ethdev: add group set miss actions API.mailmap doc/guides/prog_guide/rte_flow.rst doc/guides/rel_notes/release_23_11.rst +4 more+103 -00 replies
2/2app/testpmd: add group set miss actions CLI commandsapp/test-pmd/cmdline_flow.c app/test-pmd/config.c app/test-pmd/testpmd.h+141 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchOri Kam
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] ethdev: add group set miss actions API

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/[email protected]/

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(+)
Signature · 1 line
2.34.1