[PATCH v9 1/1] app/testpmd: canonicalize short PCI name format

2025-07-12 Thread Shani Peretz
re strings, which will cause find_device not to find any device. This fix canonicalize the user provided string before it is being passed to find_device. Signed-off-by: Shani Peretz --- app/test-pmd/meson.build | 2 +- app/test-pmd/testpmd.c | 30 ++ 2 files c

[PATCH v9 0/1] fix inconsistent representation of PCI device name

2025-07-12 Thread Shani Peretz
cmp_dev_name to perform a smarter comparison instead of a direct string match to find the device. Shani Peretz (1): app/testpmd: canonicalize short PCI name format app/test-pmd/meson.build | 2 +- app/test-pmd/testpmd.c | 30 ++ 2 files changed, 31 insertions(+), 1

[PATCH v8 0/1] fix inconsistent representation of PCI device name

2025-07-08 Thread Shani Peretz
the device. Shani Peretz (1): app/testpmd: canonicalize short PCI name format app/test-pmd/testpmd.c | 31 ++- 1 file changed, 30 insertions(+), 1 deletion(-) -- 2.34.1

[PATCH v8 1/1] app/testpmd: canonicalize short PCI name format

2025-07-08 Thread Shani Peretz
are stings, which will cause find_device not to find any device. This fix canonicalize the user provided string before it is being passed to find_device. Signed-off-by: Shani Peretz --- app/test-pmd/testpmd.c | 31 ++- 1 file changed, 30 insertions(+), 1 deletion(-) di

RE: [RFC PATCH 0/5] Introduce mempool object new debug capabilities

2025-07-06 Thread Shani Peretz
> -Original Message- > From: Morten Brørup > Sent: Thursday, 19 June 2025 15:57 > To: Stephen Hemminger ; Shani Peretz > > Cc: dev@dpdk.org > Subject: RE: [RFC PATCH 0/5] Introduce mempool object new debug > capabilities > > External email: Use cautio

RE: [RFC PATCH 0/5] Introduce mempool object new debug capabilities

2025-07-06 Thread Shani Peretz
> -Original Message- > From: Stephen Hemminger > Sent: Monday, 16 June 2025 18:30 > To: Shani Peretz > Cc: dev@dpdk.org > Subject: Re: [RFC PATCH 0/5] Introduce mempool object new debug > capabilities > > External email: Use caution opening links or attachm

[PATCH] net/mlx5: fix inline data size adjustment for Verbs API

2025-07-02 Thread Shani Peretz
decreasing the maximum inline data size to fit within acceptable limits. Fixes: 0c2f7837c673 ("net/mlx5: mitigate Tx queue parameter adjustment") Signed-off-by: Shani Peretz Acked-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5_txq.c | 2 ++ 1 file changed, 2 insertions(+) di

[RFC PATCH 2/2] examples/flow_filtering: add jump flow

2025-06-24 Thread Shani Peretz
Granularity rule matching snippet Signed-off-by: Shani Peretz --- examples/flow_filtering/jump_flow.c | 40 ++ examples/flow_filtering/jump_flow.h | 13 examples/flow_filtering/meson.build | 4 + .../snippets/snippet_match_nsh.c | 74

[RFC PATCH 1/2] examples/flow_filtering: add match port affinity snippet

2025-06-24 Thread Shani Peretz
This snippet demonstrates port affinity matching in bonded ports, ensuring packets are sent back through their ingress port. The NR_QUEUES constant was moved to common.h to support mapping four TX queues (0-3) to two port affinities (0,1→1 and 2,3→2). Signed-off-by: Shani Peretz --- examples

[RFC PATCH 0/2] Add jump flow support and queue menegment with new snippets

2025-06-24 Thread Shani Peretz
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

[RFC PATCH 2/5] drivers: add mempool history compilation flag

2025-06-16 Thread Shani Peretz
heir meson file to be built when RTE_MEMPOOL_DEBUG_OBJECTS_HISTORY is enabled. Signed-off-by: Shani Peretz --- config/meson.build | 1 + drivers/meson.build | 7 +++ drivers/net/af_packet/meson.build | 1 + drivers/net/af_xdp/meson.build | 1 + drive

[RFC PATCH 4/5] app/testpmd: add testpmd command to dump mempool history

2025-06-16 Thread Shani Peretz
dumps the mempool object history to console or to a file. The dump will contain: - Operation history for each mempool object - Summary and statistics about all mempool objects testpmd> dump_mempool_objects_history testpmd> dump_mempool_objects_history Signed-off-by: Shani Peretz --- ap

[RFC PATCH 5/5] usertool: add a script to parse mempool history dump

2025-06-16 Thread Shani Peretz
-off-by: Shani Peretz --- .../dpdk-mempool_object_history_parser.py | 129 ++ 1 file changed, 129 insertions(+) create mode 100755 usertools/dpdk-mempool_object_history_parser.py diff --git a/usertools/dpdk-mempool_object_history_parser.py b/usertools/dpdk

[RFC PATCH 3/5] net/mlx5: mark an operation in mempool object's history

2025-06-16 Thread Shani Peretz
record operations on mempool objects when it is allocated and released inside the mlx5 PMD. Signed-off-by: Shani Peretz --- drivers/net/mlx5/mlx5_rx.c | 9 + drivers/net/mlx5/mlx5_rx.h | 2 ++ drivers/net/mlx5/mlx5_rxq.c | 9 +++-- drivers/net/mlx5/mlx5_rxtx_vec.c

[RFC PATCH 1/5] mempool: record mempool objects operations history

2025-06-16 Thread Shani Peretz
mempool object header that records the most recent operations. Each operation is represented by a 4-bit value, and for each mempool object the history field stores 16 steps. Signed-off-by: Shani Peretz --- lib/ethdev/rte_ethdev.h | 14 + lib/mempool/rte_mempool.c | 111

[RFC PATCH 0/5] Introduce mempool object new debug capabilities

2025-06-16 Thread Shani Peretz
ython script that can parse, analyze the data and present it in an human readable format. 5. Added compilation flag to enable the feature. Shani Peretz (5): mempool: record mempool objects operations history drivers: add mempool history compilation flag net/mlx5: mark an operation in me

[PATCH] examples/flow_filtering: add re-route to kernel snippet

2025-05-21 Thread Shani Peretz
Signed-off-by: Shani Peretz --- doc/guides/sample_app_ug/flow_filtering.rst | 19 +++- examples/flow_filtering/common.h | 12 ++- examples/flow_filtering/flow_skeleton.c | 28 ++--- examples/flow_filtering/main.c| 31 -- examples/flow_filtering/meson.build

RE: [EXTERNAL] [PATCH] app/crypto-perf: fix aad offset alignment

2025-05-18 Thread Shani Peretz
> -Original Message- > From: Shani Peretz > Sent: Wednesday, 26 March 2025 9:14 > To: Akhil Goyal ; dev@dpdk.org > Cc: Suanming Mou ; sta...@dpdk.org; Brian > Dooley ; Pablo de Lara > > Subject: RE: [EXTERNAL] [PATCH] app/crypto-perf: fix aad offset alignment

RE: [PATCH v7 2/4] lib: fix comparison between devices

2025-04-30 Thread Shani Peretz
it in devargs.name but then we will still need another function that converts the short name to its canonical form. > -Original Message- > From: Stephen Hemminger > Sent: Wednesday, 30 April 2025 19:00 > To: Shani Peretz > Cc: dev@dpdk.org; Tyler Retzlaff ; Parav Pandit &g

RE: [PATCH v7 2/4] lib: fix comparison between devices

2025-04-30 Thread Shani Peretz
/document/d/1LmMlJ31P1G77K0TGkBfXWz0DEj6zdprP0bG5p_wu77w/edit?usp=sharing > -Original Message- > From: Stephen Hemminger > Sent: Monday, 17 March 2025 16:11 > To: Shani Peretz > Cc: dev@dpdk.org; Tyler Retzlaff ; Parav Pandit > ; Xueming Li ; Nipun Gupta > ; Nikhil Agarw

RE: [PATCH] examples/flow_filtering: fix make clean

2025-04-03 Thread Shani Peretz
> -Original Message- > From: Tanzeel Ahmed > Sent: Saturday, 29 March 2025 22:54 > To: Ori Kam > Cc: dev@dpdk.org; Tanzeel Ahmed > Subject: [PATCH] examples/flow_filtering: fix make clean > > External email: Use caution opening links or attachments > > > make clean is unable to dele

RE: [EXTERNAL] [PATCH] app/crypto-perf: fix aad offset alignment

2025-03-26 Thread Shani Peretz
> -Original Message- > From: Akhil Goyal > Sent: Monday, 17 March 2025 12:23 > To: Shani Peretz ; dev@dpdk.org > Cc: Suanming Mou ; sta...@dpdk.org; Brian > Dooley ; Pablo de Lara > > Subject: RE: [EXTERNAL] [PATCH] app/crypto-perf: fix aad offset alignment

[PATCH 2/2] net/mlx5: added a bitmap that tracks ipool allocs and frees

2025-03-24 Thread Shani Peretz
The bitmap goal is to prevent double allocations and deallocations in per core cache mode. This validation occurs only in debug mode, ensuring it doesn't impact performance. Signed-off-by: Shani Peretz Acked-by: Bing Zhao --- drivers/net/mlx5/mlx5_utils.c

[PATCH 1/2] net/mlx5: add ipool debug capabilities

2025-03-24 Thread Shani Peretz
Enhancing ipool debug capabilities by introducing new ipool log component. Also adding various logs in different verbosities for ipool operations. Signed-off-by: Shani Peretz Acked-by: Bing Zhao --- drivers/net/mlx5/mlx5_utils.c | 50 ++- drivers/net/mlx5

[PATCH 0/2] add debug capabilities to ipool

2025-03-24 Thread Shani Peretz
Enhanced ipool debugging: Added new log component and verbosity levels for operations. Introduced a bitmap in debug mode to track allocations/deallocations, preventing doubles in per-core cache mode. Shani Peretz (2): net/mlx5: add ipool debug capabilities net/mlx5: added a bitmap that

[PATCH] app/crypto-perf: fix aad offset alignment

2025-03-11 Thread Shani Peretz
.@dpdk.org Signed-off-by: Shani Peretz --- app/test-crypto-perf/cperf_ops.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/test-crypto-perf/cperf_ops.c b/app/test-crypto-perf/cperf_ops.c index 6d5f510220..f9be51e17f 100644 --- a/app/test-crypto-perf/cperf_ops.c +++ b/app/t

RE: [PATCH] examples/flow_filtering: fix destination IP mask

2025-03-10 Thread Shani Peretz
> -Original Message- > From: Thomas Monjalon > Sent: Wednesday, 19 February 2025 17:20 > To: Shani Peretz > Cc: dev@dpdk.org; ferruh.yi...@amd.com; Ori Kam ; > Stephen Hemminger > Subject: Re: [PATCH] examples/flow_filtering: fix destination IP mask > >

RE: [PATCH v7 2/4] lib: fix comparison between devices

2025-03-06 Thread Shani Peretz
> -Original Message- > From: Stephen Hemminger > Sent: Thursday, 20 February 2025 20:33 > To: Shani Peretz > Cc: dev@dpdk.org; Tyler Retzlaff ; Parav Pandit > ; Xueming Li ; Nipun Gupta > ; Nikhil Agarwal ; Hemant > Agrawal ; Sachin Saxena > ; Rosen Xu ; Chen

RE: [PATCH v5 2/4] lib: fix comparison between devices

2025-02-19 Thread Shani Peretz
, void *addr, int addr_size, int *out_size) So I now use it in rte_strscpy. In addition, should I replace the call to rte_strscpy with strlcpy? > -Original Message- > From: Stephen Hemminger > Sent: Tuesday, 11 February 2025 20:05 > To: Bruce Richardson > Cc: Shani Peretz

[PATCH v7 3/4] app/test: add tests to find devices

2025-02-12 Thread Shani Peretz
Added tests to PCI and vdev bus that compare and find devices in various forms of names under test_devargs. The tests check the functionality of the rte_cmp_dev_name function by calling it with different variations of names, like short and full, full and full, etc. Signed-off-by: Shani Peretz

[PATCH v7 1/4] bus/pci: fix registration of PCI device

2025-02-12 Thread Shani Peretz
gt;name, so when a new PCI device is registering the name displayed in the device list will be the parsed version. Fixes: 23eaa9059ec2 ("bus/pci: use given name as generic name") Cc: sta...@dpdk.org Signed-off-by: Shani Peretz --- drivers/bus/pci/pci_common.c | 14 ++ 1 file ch

[PATCH v7 4/4] lib: change find device and cmp dev name functions

2025-02-12 Thread Shani Peretz
Change find_device and rte_cmp_dev_name to accept a struct with pointer and size instead of a void* pointer. Signed-off-by: Shani Peretz --- app/test/test_devargs.c | 23 +++ app/test/test_vdev.c | 23 ++- drivers/bus

[PATCH v7 2/4] lib: fix comparison between devices

2025-02-12 Thread Shani Peretz
al: add hotplug add/remove device") Signed-off-by: Shani Peretz --- app/test/test_devargs.c | 2 +- app/test/test_vdev.c | 10 ++ drivers/bus/auxiliary/auxiliary_common.c | 17 +++--- drivers/bus/cdx/cdx.c| 13 +--- drivers

[PATCH v6 4/4] lib: change find device and cmp dev name functions

2025-02-06 Thread Shani Peretz
Change find_device and rte_cmp_dev_name to accept a struct with pointer and size instead of a void* pointer. Signed-off-by: Shani Peretz --- app/test/test_devargs.c | 23 +++ app/test/test_vdev.c | 23 ++- drivers/bus

[PATCH v6 3/4] app/test: add tests to find devices

2025-02-06 Thread Shani Peretz
Added tests to PCI and vdev bus that compare and find devices in various forms of names under test_devargs. The tests check the functionality of the rte_cmp_dev_name function by calling it with different variations of names, like short and full, full and full, etc. Signed-off-by: Shani Peretz

[PATCH v6 2/4] lib: fix comparison between devices

2025-02-06 Thread Shani Peretz
ed address. This will allow consistent comparisons between different representations of same devices. In addition, fixed vdev test to use the rte_cmp_dev_name function instead of the custom one. Fixes: a3ee360f4440 ("eal: add hotplug add/remove device") Signed-off-by: Shani Peretz --- app/tes

[PATCH v6 1/4] bus/pci: fix registration of PCI device

2025-02-06 Thread Shani Peretz
gt;name, so when a new PCI device is registering the name displayed in the device list will be the parsed version. Fixes: 23eaa9059ec2 ("bus/pci: use given name as generic name") Cc: sta...@dpdk.org Signed-off-by: Shani Peretz --- drivers/bus/pci/pci_common.c | 14 ++ 1 file ch

[PATCH v5 4/4] lib: change find device and cmp dev name functions

2025-02-05 Thread Shani Peretz
Change find_device and rte_cmp_dev_name to accept a struct with pointer and size instead of a void* pointer. Signed-off-by: Shani Peretz --- app/test/test_devargs.c | 23 +++ app/test/test_vdev.c | 23 ++- drivers/bus

[PATCH v5 2/4] lib: fix comparison between devices

2025-02-05 Thread Shani Peretz
ed address. This will allow consistent comparisons between different representations of same devices. In addition, fixed vdev test to use the rte_cmp_dev_name function instead of the custom one. Fixes: a3ee360f4440 ("eal: add hotplug add/remove device") Signed-off-by: Shani Peretz --- app/tes

[PATCH v5 3/4] app/test: add tests to find devices

2025-02-05 Thread Shani Peretz
Added tests to PCI and vdev bus that compare and find devices in various forms of names under test_devargs. The tests check the functionality of the rte_cmp_dev_name function by calling it with different variations of names, like short and full, full and full, etc. Signed-off-by: Shani Peretz

[PATCH v5 1/4] bus/pci: fix registration of PCI device

2025-02-05 Thread Shani Peretz
gt;name, so when a new PCI device is registering the name displayed in the device list will be the parsed version. Fixes: 23eaa9059ec2 ("bus/pci: use given name as generic name") Cc: sta...@dpdk.org Signed-off-by: Shani Peretz --- drivers/bus/pci/pci_common.c | 14 ++ 1 file ch

[PATCH v5 0/4] fix comparison between devices

2025-02-05 Thread Shani Peretz
This series fixes two issues: 1. saving PCI name as the parsed one instead of user-provided string when registering a new device 2. fixes rte_cmp_dev_name function that currently compares the names by compering 2 strings Also added test to check the functionality of rte_cmp_dev_name. Shani

RE: [PATCH v4] bus: fix inconsistent representation of PCI numbers

2025-02-05 Thread Shani Peretz
> -Original Message- > From: Stephen Hemminger > Sent: Wednesday, 5 February 2025 20:46 > To: Shani Peretz > Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon (EXTERNAL) > ; Tyler Retzlaff ; Parav > Pandit ; Xueming Li ; Nipun Gupta > ; Nikhil Agarwal ; Hemant &

RE: [PATCH v4] bus: fix inconsistent representation of PCI numbers

2025-02-05 Thread Shani Peretz
> -Original Message- > From: Stephen Hemminger > Sent: Wednesday, 5 February 2025 18:42 > To: Shani Peretz > Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon (EXTERNAL) > ; Tyler Retzlaff ; Parav > Pandit ; Xueming Li ; Nipun Gupta > ; Nikhil Agarwal ; Hemant &

RE: [PATCH v4] bus: fix inconsistent representation of PCI numbers

2025-02-05 Thread Shani Peretz
> -Original Message- > From: Stephen Hemminger > Sent: Wednesday, 29 January 2025 18:25 > To: Shani Peretz > Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon (EXTERNAL) > ; Tyler Retzlaff ; Parav > Pandit ; Xueming Li ; Nipun Gupta > ; Nikhil Agarwal ; Hemant &

[PATCH v4] bus: fix inconsistent representation of PCI numbers

2025-01-29 Thread Shani Peretz
test_devargs. Fixes: a3ee360f4440 ("eal: add hotplug add/remove device") Signed-off-by: Shani Peretz --- app/test/test_devargs.c | 123 ++- app/test/test_vdev.c | 10 +- drivers/bus/auxiliary/auxiliary_common.c | 17 +++-

[PATCH v2 3/3] net/mlx5: add port and queue level counters of hairpin drops

2025-01-24 Thread Shani Peretz
irpin queues - hairpin_out_of_buffer_rxq* (queue-level) counts drops of a specific queue Both the port-level and per-queue counters can be enabled, disabled, and queried. Signed-off-by: Shani Peretz --- drivers/common/mlx5/mlx5_devx_cmds.c| 9 +- drivers/common/mlx5/mlx5_devx_cmds.h

[PATCH v2 2/3] app/testpmd: added testpmd commands to enable/disable xstat

2025-01-24 Thread Shani Peretz
Added the following testpmd subcommands: toggle the counter on and off > port (port_id) enable|disable query the state of counters: > set xstats-hide-disabled on|off Signed-off-by: Shani Peretz --- app/test-pmd/cmdline.c | 125 +++ app/te

[PATCH v2 1/3] ethdev: add new API to enable/disable xstat by counters ID

2025-01-24 Thread Shani Peretz
those provided by eth_basic_stats_get()) will be considered unsupported and will not be toggleable. Also all xstats will be considered unsupported for dynamic enable/disable, and each PMD will be able to override this in its implementation. Signed-off-by: Shani Peretz --- lib/ethdev

[PATCH v2 0/3] add new API to enable/disable xstat counters

2025-01-24 Thread Shani Peretz
lizes these APIs, introducing a new xstat counter designed to track hairpin packet drops. Shani Peretz (3): ethdev: add new API to enable/disable xstat by counters ID app/testpmd: added testpmd commands to enable/disable xstat net/mlx5: add port and queue level counters of hairpin drops app/tes

[PATCH] examples/flow_filtering: fix destination IP mask

2025-01-11 Thread Shani Peretz
t;examples/flow_filtering: introduce use cases snippets") Signed-off-by: Shani Peretz --- examples/flow_filtering/snippets/snippet_match_ipv4.c | 10 +- examples/flow_filtering/snippets/snippet_match_ipv4.h | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/examples

RE: [RFC PATCH] ethdev: add new API for enable/disable xstat counters by ID

2025-01-01 Thread Shani Peretz
age- > From: Stephen Hemminger > Sent: Tuesday, 24 December 2024 19:19 > To: Shani Peretz > Cc: dev@dpdk.org; Aman Singh ; Dariusz > Sosnowski ; Slava Ovsiienko > ; Bing Zhao ; Ori Kam > ; Suanming Mou ; Matan Azrad > ; NBU-Contact-Thomas Monjalon (EXTERNAL) > ; Fer

RE: [RFC PATCH] ethdev: add new API for enable/disable xstat counters by ID

2024-12-23 Thread Shani Peretz
ueues they want statistics from. If the counters are exceeded, the user would have the option to disable the counter, thereby freeing up the resource for reuse elsewhere. > -Original Message- > From: Stephen Hemminger > Sent: Sunday, 22 December 2024 18:46 > To: Shani Peretz &g

[RFC PATCH] ethdev: add new API for enable/disable xstat counters by ID

2024-12-22 Thread Shani Peretz
ounter - counts drops from all the hairpin queues - Hairpin_out_of_buffer_rxq* - Queue-level counter - counts drops of a specific queue Both the port-level and per-queue counters can be enabled, disabled, and queried. Signed-off-by: Shani Peretz --- app/te

[PATCH] common/mlx5: fix misalignment issue detected by ASan

2024-11-12 Thread Shani Peretz
that time (b69408ae453). Before asan misalignment fix (average kflows/sec) - Insertion - 4461.269, Deletion - 7799.9992 After: Insertion - 4579.0642 , Deletion - 7913.0034 Fixes: 9a4c36880704 ("common/mlx5: optimize cache list object memory") Cc: suanmi...@nvidia.com Signed-off-by: Shani Peretz

[PATCH v3] examples/flow_filtering: introduce use cases snippets

2024-09-30 Thread Shani Peretz
corresponding feature. Signed-off-by: Shani Peretz --- doc/guides/prog_guide/ethdev/flow_offload.rst | 2 + doc/guides/sample_app_ug/flow_filtering.rst | 295 +++--- examples/flow_filtering/Makefile | 19 +- examples/flow_filtering/common.h | 29 ++ examples

[PATCH v2] examples/flow_filtering: introduce use cases snippets

2024-09-30 Thread Shani Peretz
corresponding feature. Signed-off-by: Shani Peretz --- doc/guides/prog_guide/rte_flow.rst| 2 + doc/guides/sample_app_ug/flow_filtering.rst | 295 +++--- examples/flow_filtering/Makefile | 19 +- examples/flow_filtering/common.h | 29 ++ examples

[PATCH] net/mlx5: add hairpin counter per queue

2024-09-10 Thread Shani Peretz
have their packet drops tracked by these counters. This approach provides flexibility for users to monitor packet drops at either a port-level or a queue-level granularity. Signed-off-by: Shani Peretz --- drivers/common/mlx5/mlx5_devx_cmds.c | 8 +- drivers/common/mlx5/mlx5_devx_cmds.h | 2

[PATCH] examples/flow_filtering: introduce use cases snippets

2024-09-09 Thread Shani Peretz
corresponding feature. Signed-off-by: Shani Peretz --- doc/guides/prog_guide/ethdev/flow_offload.rst | 2 + doc/guides/sample_app_ug/flow_filtering.rst | 295 +++--- examples/flow_filtering/common.h | 29 ++ examples/flow_filtering/flow_blocks.c | 112 --- examples

[PATCH v3] eal/common: fix inconsistent representation of PCI numbers

2024-07-08 Thread Shani Peretz
/remove device") Cc: jblu...@infradead.org Signed-off-by: Shani Peretz Acked-by: Dariusz Sosnowski Acked-by: Thomas Monjalon --- app/test/test_vdev.c| 10 ++ drivers/bus/pci/pci_common.c| 11 +++ lib/eal/common/eal_common_dev.c | 11 ++- lib/ea

[PATCH v2] eal/common: fix inconsistent representation of PCI numbers

2024-07-08 Thread Shani Peretz
/remove device") Cc: jblu...@infradead.org Signed-off-by: Shani Peretz Acked-by: Dariusz Sosnowski Acked-by: Thomas Monjalon --- app/test/test_vdev.c| 10 ++ drivers/bus/pci/pci_common.c| 11 +++ lib/eal/common/eal_common_dev.c | 11 ++- lib/ea

[PATCH] eal/common: fix inconsistent representation of PCI numbers

2024-07-01 Thread Shani Peretz
/remove device") Cc: jblu...@infradead.org Signed-off-by: Shani Peretz Acked-by: Dariusz Sosnowski Acked-by: Thomas Monjalon --- app/test/test_vdev.c| 10 ++ drivers/bus/pci/pci_common.c| 10 ++ lib/eal/common/eal_common_dev.c | 11 ++- lib/ea

[PATCH 2/2] net/mlx5: add hairpin out of buffer counter

2024-07-01 Thread Shani Peretz
tion phase. The `hairpin_out_of_buffer` counter will be created only if there is at least one hairpin Rx queue present on the device. Signed-off-by: Shani Peretz Acked-by: Dariusz Sosnowski --- doc/guides/nics/mlx5.rst| 3 ++ doc/guides/rel_notes/release_24_07.rst | 1 + driver

[PATCH 1/2] net/mlx5: add global hairpin out of buffer counter

2024-07-01 Thread Shani Peretz
Exposing ethtool dev_internal_queue_oob counter which counts the number of hairpin dropped packets in xstats. Signed-off-by: Shani Peretz Acked-by: Dariusz Sosnowski --- doc/guides/rel_notes/release_24_07.rst | 1 + drivers/net/mlx5/linux/mlx5_ethdev_os.c | 4 2 files changed, 5

[PATCH 0/2] Added hairpin out of buffer counters

2024-07-01 Thread Shani Peretz
Added global hairpin out of buffer counter (from ethtool) Also added port-level hairpin out of buffer counter. Shani Peretz (2): net/mlx5: add global hairpin out of buffer counter net/mlx5: add hairpin out of buffer counter doc/guides/nics/mlx5.rst| 3 ++ doc/guides

[PATCH] app/testpmd: fix auto completion for indirect list action

2024-03-18 Thread Shani Peretz
. The fix ensures that the function appropriately handles the argument before finishing. Fixes: 72a3dec7126f ("ethdev: add indirect flow list action") Signed-off-by: Shani Peretz --- app/test-pmd/cmdline_flow.c | 46 - 1 file changed, 25 inserti