[PATCH] net/mlx5: fix out-of-bounds write in Rx software ring

2025-04-21 Thread patrykochal
From: "Patryk Ochal (Redge Technologies)" If the vectorized Rx burst function runs short on available mbufs, the CQ processing may write past the end of the RX software ring. This happens because `rxq_cq_process_v()` populates the software ring and accesses mbufs before validating the associated

[PATCH v2] ethdev: add support for flow action pop E-tag

2025-04-21 Thread kirankumark
From: Kiran Kumar K Add support for the following OpenFlow-defined action. RTE_FLOW_ACTION_TYPE_OF_POP_ETAG: Pop E-tag from the packet. Signed-off-by: Kiran Kumar K --- *V2 Changes: - Address comment related to order of enum values app/test-pmd/cmdline_flow.c | 9 + lib/ethdev/rte_f

[PATCH v2] ethdev: add support for flow action pop E-tag

2025-04-21 Thread kirankumark
From: Kiran Kumar K Add support for the following OpenFlow-defined action. RTE_FLOW_ACTION_TYPE_OF_POP_ETAG: Pop E-tag from the packet. Signed-off-by: Kiran Kumar K --- *V2 Changes: - Address comment related to order of enum values app/test-pmd/cmdline_flow.c | 9 + lib/ethdev/rte_f

[PATCH] ethdev: support RSS based on RoCEv2 header

2025-04-21 Thread kirankumark
From: Kiran Kumar K On supporting hardware, RoCEv2 header can be used to perform RSS in the ingress path. Signed-off-by: Kiran Kumar K --- app/test-pmd/config.c | 4 +++- lib/ethdev/rte_ethdev.h | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/test-pmd/config.c b/app/

RE: [PATCH] test/crypto: add test case for modex group 24

2025-04-21 Thread Anoob Joseph
> Subject: [PATCH] test/crypto: add test case for modex group 24 > > Add test case for modex group 24. > > Signed-off-by: Gowrishankar Muthukrishnan Acked-by: Anoob Joseph

RE: [PATCH] test/crypto: increment dequeue timeout

2025-04-21 Thread Anoob Joseph
> Subject: [PATCH] test/crypto: increment dequeue timeout > > Increment dequeue timeout to allow implementations taking longer cycles. > > Signed-off-by: Gowrishankar Muthukrishnan Acked-by: Anoob Joseph

Reschedule 4/24 DTS meeting

2025-04-21 Thread Patrick Robb
Hello, There is a conflict between this Thursday's DPDK governing board meeting and the DTS meeting. So, I think we will have to push the DTS meeting back to 14:00 UTC. Apologies for the late notice on this. -Patrick

RE: [EXTERNAL] [PATCH 0/4] Fix incorrect page size and address caclulations on systems with 64k (or other) page sizes

2025-04-21 Thread Wei Hu
> From: lon...@linuxonhyperv.com > Sent: Saturday, April 19, 2025 3:33 AM > To: Stephen Hemminger ; Wei Hu > > Cc: dev@dpdk.org; Long Li > Subject: [EXTERNAL] [PATCH 0/4] Fix incorrect page size and address > caclulations on systems with 64k (or other) page sizes > > From: Long Li > > The Hyp

[PATCH v9 4/5] app/graph: add custom feature nodes for ip4 output arc

2025-04-21 Thread Nitin Saxena
- Added cmdline argument "--enable-graph-feature-arc" to call rte_graph_feature_arc_init() before rte_graph_create() which creates in-built arcs and feature nodes - Added custom feature nodes in app/graph which are added to ip4 output arc. - Custom features can be enabled/disabled at runtime

[PATCH v9 3/5] ip4: add ip4 output feature arc

2025-04-21 Thread Nitin Saxena
- Added ip4 output arc to allow applications to hook feature nodes in ip4 egress direction - Added interface_tx node as end feature to ip4 output arc Signed-off-by: Nitin Saxena --- lib/node/ethdev_ctrl.c | 8 + lib/node/interface_tx_feature.c | 213 lib

[PATCH v9 5/5] test/graph_feature_arc: add functional tests

2025-04-21 Thread Nitin Saxena
Added functional unit test case for verifying feature arc control plane and fast path APIs How to run: $ echo "graph_feature_arc_autotest" | ./bin/dpdk-test Signed-off-by: Nitin Saxena --- app/test/meson.build |1 + app/test/test_graph_feature_arc.c | 1374 +

[PATCH v9 2/5] graph: add feature arc abstraction

2025-04-21 Thread Nitin Saxena
Feature arc abstraction allows rte_graph based applications to - Allow control plane to runtime enable/disable feature nodes. Fast path APIs helps to steer packets across enabled feature nodes - Feature enable/disable based on indexes. Index can be interface index, route index, etc - More than

[PATCH v9 1/5] graph: add API to override node process function

2025-04-21 Thread Nitin Saxena
New API used by feature arc library to override node's original process() func. Signed-off-by: Nitin Saxena --- lib/graph/graph_private.h | 11 +++ lib/graph/node.c | 23 +++ 2 files changed, 34 insertions(+) diff --git a/lib/graph/graph_private.h b/lib/grap

[PATCH v9 0/5] add feature arc in rte_graph

2025-04-21 Thread Nitin Saxena
Feature arc represents an ordered list of features/protocols at a given networking layer. It is a high level abstraction to express relationship between rte_graph nodes, as feature nodes, and allow packets steering across these nodes in a simplified manner. Features (or feature nodes) are nodes wh

Re: [PATCH v2 1/4] app/testpmd: remove restrict of number of TCs in DCB command

2025-04-21 Thread Stephen Hemminger
On Mon, 21 Apr 2025 15:22:26 +0800 Chengwen Feng wrote: > Currently, the "port config 0 dcb ..." command only supports 4 or 8 > TCs. Other number of TCs may be used in actual applications. > > This commit removes this restriction. > > Cc: sta...@dpdk.org > > Signed-off-by: Chengwen Feng > ---

Re: [PATCH] ethdev: add support for flow action pop E-tag

2025-04-21 Thread Stephen Hemminger
On Mon, 21 Apr 2025 17:21:34 +0530 wrote: > diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c > index 998527590f..c4359e965d 100644 > --- a/app/test-pmd/cmdline_flow.c > +++ b/app/test-pmd/cmdline_flow.c > @@ -652,6 +652,7 @@ enum index { > ACTION_METER_STATE, > A

23.11.4 patches review and test

2025-04-21 Thread Xueming Li
Hi all, Here is a list of patches targeted for stable release 23.11.4. The planned date for the final release is 25th April. Please help with testing and validation of your use cases and report any issues/results with reply-all to this mail. For the final release the fixes and reported validatio

[PATCH] ethdev: add support for flow action pop E-tag

2025-04-21 Thread kirankumark
From: Kiran Kumar K Add support for the following OpenFlow-defined action. RTE_FLOW_ACTION_TYPE_OF_POP_ETAG: Pop E-tag from the packet. Signed-off-by: Kiran Kumar K --- app/test-pmd/cmdline_flow.c | 9 + lib/ethdev/rte_flow.c | 1 + lib/ethdev/rte_flow.h | 10 +-

[PATCH v2 4/4] app/testpmd: support disable DCB command

2025-04-21 Thread Chengwen Feng
After the "port config 0 dcb ..." command is invoked, no command is available to disable DCB. This commit introduces disable DCB when num_tcs is 1, so user could disable the DCB by command: port config 0 dcb vt off 1 pfc off Signed-off-by: Chengwen Feng --- app/test-pmd/cmdline.c

[PATCH v2 3/4] app/testpmd: support don't adjust queue num in DCB command

2025-04-21 Thread Chengwen Feng
In some test scenarios, users want to test DCB by specifying the number of Rx/Tx queues. But the "port config 0 dcb ..." command will auto adjust Rx/Tx queue number. This patch introduces an optional parameter "keep-qnum" which make sure the "port config 0 dcb ..." command don't adjust Rx/Tx queue

[PATCH v2 0/4] enhance testpmd DCB command

2025-04-21 Thread Chengwen Feng
This patchset enhance the testpmd DCB command features: 1) remove restrict of number of TCs (currently its 4 or 8) 2) support config prio-tc map 3) support don't adjust queue num 4) support disable DCB Chengwen Feng (4): app/testpmd: remove restrict of number of TCs in DCB command app/testpmd:

[PATCH v2 2/4] app/testpmd: support config prio-tc map in DCB command

2025-04-21 Thread Chengwen Feng
Currently, the "port config 0 dcb ..." command config the prio-tc map by remainder operation, which means the prio-tc = prio % nb_tcs. This commit introduces an optional parameter "prio-tc" which is the same as kernel dcb ets tool. The new command: port config 0 dcb vt off 4 pfc off prio-tc 0:1

[PATCH v2 1/4] app/testpmd: remove restrict of number of TCs in DCB command

2025-04-21 Thread Chengwen Feng
Currently, the "port config 0 dcb ..." command only supports 4 or 8 TCs. Other number of TCs may be used in actual applications. This commit removes this restriction. Cc: sta...@dpdk.org Signed-off-by: Chengwen Feng --- app/test-pmd/cmdline.c | 4 ++-- doc/guides/testpmd_a