[PATCH v2 0/7] ethdev: jump to table support
Dariusz Sosnowski
dsosnowski at nvidia.com
Wed Sep 25 21:28:33 CEST 2024
> -----Original Message-----
> From: Alexander Kozyrev <akozyrev at nvidia.com>
> Sent: Wednesday, September 25, 2024 20:05
> To: dev at dpdk.org
> Cc: Dariusz Sosnowski <dsosnowski at nvidia.com>; Ori Kam
> <orika at nvidia.com>; NBU-Contact-Thomas Monjalon (EXTERNAL)
> <thomas at monjalon.net>; Matan Azrad <matan at nvidia.com>;
> ferruh.yigit at amd.com; stephen at networkplumber.org
> Subject: [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/20240822202753.3856703-
> 1-akozyrev at nvidia.com/
> 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(-)
>
> --
> 2.18.2
Series-acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
Best regards,
Dariusz Sosnowski
More information about the dev
mailing list