From: Shani Peretz <shperetz@nvidia.com>
To: <dev@dpdk.org>
Cc: Shani Peretz <shperetz@nvidia.com>
Subject: [RFC PATCH 0/2] Add jump flow support and queue menegment with new snippets
Date: Tue, 24 Jun 2025 10:15:35 +0300 [thread overview]
Message-ID: <20250624071538.107876-1-shperetz@nvidia.com> (raw)
This patch series adds port affinity matching for bonded ports and
refactors queue management to support the new port affinity snippets.
This refactoring also enables other snippets that require access to
the queue number to utilize it more easily.
It also introduces support for jumping to specific flow groups,
with three new snippets demonstrating this feature.
Shani Peretz (2):
examples/flow_filtering: add match port affinity snippet
examples/flow_filtering: add jump flow
examples/flow_filtering/common.h | 2 +
examples/flow_filtering/flow_skeleton.c | 2 +-
examples/flow_filtering/jump_flow.c | 40 +++++++
examples/flow_filtering/jump_flow.h | 13 +++
examples/flow_filtering/main.c | 9 +-
examples/flow_filtering/meson.build | 5 +
.../snippets/snippet_match_gre.c | 2 +-
.../snippets/snippet_match_gre.h | 2 +-
.../snippets/snippet_match_ipv4.c | 4 +-
.../snippets/snippet_match_ipv4.h | 2 +-
.../snippets/snippet_match_mpls.c | 2 +-
.../snippets/snippet_match_mpls.h | 2 +-
.../snippets/snippet_match_nsh.c | 74 ++++++++++++
.../snippets/snippet_match_nsh.h | 36 ++++++
.../snippets/snippet_match_port_affinity.c | 110 ++++++++++++++++++
.../snippets/snippet_match_port_affinity.h | 39 +++++++
.../snippets/snippet_match_roce_ib_bth.c | 69 +++++++++++
.../snippets/snippet_match_roce_ib_bth.h | 35 ++++++
.../snippets/snippet_re_route_to_kernel.c | 3 +-
.../snippets/snippet_re_route_to_kernel.h | 2 +-
.../snippets/snippet_switch_granularity.c | 55 +++++++++
.../snippets/snippet_switch_granularity.h | 36 ++++++
22 files changed, 529 insertions(+), 15 deletions(-)
create mode 100644 examples/flow_filtering/jump_flow.c
create mode 100644 examples/flow_filtering/jump_flow.h
create mode 100644 examples/flow_filtering/snippets/snippet_match_nsh.c
create mode 100644 examples/flow_filtering/snippets/snippet_match_nsh.h
create mode 100644 examples/flow_filtering/snippets/snippet_match_port_affinity.c
create mode 100644 examples/flow_filtering/snippets/snippet_match_port_affinity.h
create mode 100644 examples/flow_filtering/snippets/snippet_match_roce_ib_bth.c
create mode 100644 examples/flow_filtering/snippets/snippet_match_roce_ib_bth.h
create mode 100644 examples/flow_filtering/snippets/snippet_switch_granularity.c
create mode 100644 examples/flow_filtering/snippets/snippet_switch_granularity.h
--
2.34.1
next reply other threads:[~2025-06-24 7:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-24 7:15 Shani Peretz [this message]
2025-06-24 7:15 ` [RFC PATCH 1/2] examples/flow_filtering: add match port affinity snippet Shani Peretz
2025-06-24 7:15 ` [RFC PATCH 2/2] examples/flow_filtering: add jump flow Shani Peretz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250624071538.107876-1-shperetz@nvidia.com \
--to=shperetz@nvidia.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).