Skip to content

ethdev: jump to table support

Alexander Kozyrev dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 9 repliesIn review
  2. v16 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ethdev: add insertion by index with patterndoc/guides/rel_notes/release_24_11.rst lib/ethdev/rte_flow.h+8 -01 reply
2/7app/testpmd: add index with pattern insertion typeapp/test-pmd/cmdline_flow.c+1 -11 reply
3/7ethdev: add flow rule insertion by index with patterndoc/guides/prog_guide/rte_flow.rst doc/guides/rel_notes/release_24_11.rst lib/ethdev/rte_flow.c +3 more+149 -01 reply
4/7app/testpmd: add insertion by index with pattern optionapp/test-pmd/cmdline_flow.c app/test-pmd/config.c app/test-pmd/testpmd.h+24 -81 reply
5/7ethdev: add jump to table index actiondoc/guides/rel_notes/release_24_11.rst lib/ethdev/rte_flow.c lib/ethdev/rte_flow.h+28 -01 reply
6/7app/testpmd: add jump to table index actionapp/test-pmd/cmdline_flow.c+34 -01 reply
7/7ethdev: add trace points to flow insertion by indexlib/ethdev/ethdev_trace.h lib/ethdev/ethdev_trace_points.c lib/ethdev/rte_flow.c+66 -21 reply

Reviews trailers per patch

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

PatchDariusz SosnowskiOri Kam
SeriesSeries-acked-by
1/7A-b
2/7A-b
3/7A-b
4/7A-b
5/7A-b
6/7A-b
7/7A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/7] ethdev: jump to table support

Introduce new Flow API JUMP_TO_TABLE_INDEX action. It allows bypassing a hierarchy of groups and going directly to a specified flow table. That gives a user the flexibility to jump between different priorities in a group and eliminates the need to do a table lookup in the group hierarchy. The JUMP_TO_TABLE_INDEX action forwards a packet to the specified rule index inside the index-based flow table.

The current index-based flow table doesn't do any matching on the packet and executes the actions immediately. Add a new index-based flow table with pattern matching. The JUMP_TO_TABLE_INDEX can redirect a packet to another matching criteria at the specified index in this case.

RFC: https://patchwork.dpdk.org/project/dpdk/patch/[email protected]/
v2: added trace point to flow insertion by index functions.

Alexander Kozyrev (7):
ethdev: add insertion by index with pattern app/testpmd: add index with pattern insertion type
ethdev: add flow rule insertion by index with pattern app/testpmd: add insertion by index with pattern option
ethdev: add jump to table index action app/testpmd: add jump to table index action
ethdev: add trace points to flow insertion by index

 app/test-pmd/cmdline_flow.c            | 44 +++++++++++++-
 app/test-pmd/config.c                  | 22 +++++--
 app/test-pmd/testpmd.h                 |  2 +-
 doc/guides/prog_guide/rte_flow.rst     | 20 +++++++
 doc/guides/rel_notes/release_24_11.rst | 13 +++++
 lib/ethdev/ethdev_trace.h              | 44 ++++++++++++++
 lib/ethdev/ethdev_trace_points.c       |  6 ++
 lib/ethdev/rte_flow.c                  | 72 ++++++++++++++++++++++-
 lib/ethdev/rte_flow.h                  | 81 ++++++++++++++++++++++++++
 lib/ethdev/rte_flow_driver.h           | 14 +++++
 lib/ethdev/version.map                 |  1 +
 11 files changed, 309 insertions(+), 10 deletions(-)
Signature · 1 line
2.18.2