[PATCH] ethdev: fix null error struct in flow configure

2025-05-28 Thread Maayan Kashani
RTE flow configure returned error value w/o filling the error struct which caused a crash on complain function. Filling the error struct fixed the issue. Signed-off-by: Maayan Kashani Fixes: 4ff58b734bc9 ("ethdev: introduce flow engine configuration") Cc: sta...@dpdk.org --- lib/ethdev/rte_flow

Re: [PATCH v3] drivers: remove __rte_used from functions for compatibility with MSVC

2025-05-28 Thread Jerin Jacob
On Thu, May 29, 2025 at 5:42 AM Andre Muezerie wrote: > > With gcc, the macro __rte_used translates to __attribute__((used)). > MSVC has something to the same effect, but harder to use and with some > limitations (one being that it cannot be used with "static"). Therefore, > it makes sense to avoi

DPDK Ring Q

2025-05-28 Thread Lombardo, Ed
Hi, I have an issue with DPDK 24.11.1 and 2 port 100G Intel NIC (E810-C) on 22 core CPU dual socket server. There is a dedicated CPU core to get the packets from DPDK using rte_eth_rx_burst() and enqueue the mbufs into a worker ring Q. This thread does nothing else. The NIC is dropping packet

RE: [PATCH] crypto/virtio: add request check on request side

2025-05-28 Thread Jiang, YuX
> -Original Message- > From: Radu Nicolau > Sent: Friday, May 23, 2025 10:05 PM > To: Jay Zhou ; Fan Zhang > ; Chenbo Xia > Cc: dev@dpdk.org; Nicolau, Radu ; > roy.fan.zh...@intel.com; sta...@dpdk.org > Subject: [PATCH] crypto/virtio: add request check on request side > > Add same reques

[PATCH] doc: update ABI reference version in example

2025-05-28 Thread Stephen Hemminger
The example should list current ABI reference version. Signed-off-by: Stephen Hemminger --- doc/guides/contributing/patches.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/contributing/patches.rst b/doc/guides/contributing/patches.rst index 8ad6b6e715..fc98442

Re: [PATCH v1 2/3] dts: rewrite dts rst

2025-05-28 Thread Patrick Robb
On Tue, May 27, 2025 at 11:37 AM Dean Marx wrote: > Modify dts.rst to exclude redundant/outdated information about the project, > and add new information regarding setup and framework design. > > Signed-off-by: Dean Marx > --- > doc/guides/tools/dts.rst | 310 +--

[DPDK/other Bug 1715] Enabling tracepoints in dpdk-test causes app to exit immediately without running any tests

2025-05-28 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1715 Bug ID: 1715 Summary: Enabling tracepoints in dpdk-test causes app to exit immediately without running any tests Product: DPDK Version: 25.03 Hardware: POWER OS: Li

Re: [PATCH v1 1/3] dts: rewrite README

2025-05-28 Thread Patrick Robb
On Tue, May 27, 2025 at 11:37 AM Dean Marx wrote: > Remove unnecessary information from README.md, and add new sections to > clarify > the purpose/use of DTS along with clear setup instructions. > > Signed-off-by: Dean Marx > --- > dts/README.md | 104 +++

Re: [PATCH v1 3/3] dts: fix doc generation bug

2025-05-28 Thread Patrick Robb
On Tue, May 27, 2025 at 11:37 AM Dean Marx wrote: > Fix a bug in the port stats check test suite that was causing > the DTS doc generation to fail. > > Fixes: 8f21210b1d50 ("dts: add port stats check test suite") > > Signed-off-by: Dean Marx > --- > dts/tests/TestSuite_port_stats_checks.py | 13

Re: [PATCH 2/2] dts: use tmp dir and DPDK tree dir

2025-05-28 Thread Dean Marx
Tested-by: Dean Marx

Re: [PATCH 1/2] dts: add remote create dir function

2025-05-28 Thread Dean Marx
Tested-by: Dean Marx

RE: [PATCH v3 04/10] net/ice/base: set speculative execution barrier

2025-05-28 Thread Pillai, Dhanya R
Sounds good to me Bruce. /Dhanya -Original Message- From: Richardson, Bruce Sent: Wednesday, May 28, 2025 3:59 PM To: Pillai, Dhanya R Cc: Burakov, Anatoly ; dev@dpdk.org; Krakowiak, LukaszX Subject: Re: [PATCH v3 04/10] net/ice/base: set speculative execution barrier On Wed, May 28,

[PATCH RESEND 1/3] config/riscv: detect V extension

2025-05-28 Thread uk7b
From: sunyuechi This patch is derived from "config/riscv: detect presence of Zbc extension with modifications". The RISC-V C api defines architecture extension test macros These let us detect whether the V extension is supported on the compiler and -march we're building with. The C api also defi

[PATCH RESEND 3/3] riscv: override machine_args only when default

2025-05-28 Thread uk7b
From: sunyuechi Support using -Dcpu_instruction_set=rv64gcv to enable V extension. Signed-off-by: sunyuechi --- config/riscv/meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/riscv/meson.build b/config/riscv/meson.build index e3694cf2e6..1036a86d05 100644 --- a/config/ri

[PATCH RESEND 2/3] lib/lpm: R-V V rte_lpm_lookupx4

2025-05-28 Thread uk7b
From: sunyuechi bpi-f3: scalar: 5.7 cycles rvv:2.4 cycles Maybe runtime detection in LPM should be added for all architectures, but this commit is only about the RVV part. Signed-off-by: sunyuechi --- MAINTAINERS | 2 + lib/lpm/meson.build | 1 + lib/lpm/rte_lpm.h

Re: [PATCH 1/3] eventdev: introduce event vector adapter

2025-05-28 Thread Jerin Jacob
On Fri, Apr 11, 2025 at 12:10 AM wrote: > > From: Pavan Nikhilesh > > The event vector adapter supports offloading creation of > event vectors by vectorizing objects (mbufs/ptrs/u64s). > Applications can create a vector adapter associated with > an event queue and enqueue objects to be vectorized

Re: [PATCH] config/arm: update neoverse n3 SoC and add neoverse V3

2025-05-28 Thread Thomas Monjalon
16/05/2025 18:15, Doug Foster: > Arm Neoverse N3 build configuration is updated to include mcpu that > aligns with latest GCC. Also, add Arm Neoverse V3 build configuration. > > Signed-off-by: Doug Foster > Reviewed-by: Wathsala Vithanage > Reviewed-by: Dhruv Tripathi Split in 2 patches and pu

RE: [EXTERNAL] [PATCH V4] Add new tracepoint function for type time_t

2025-05-28 Thread Sunil Kumar Kori
> From: Changqing Li > > To support Y2038 issue, for 32bit system, -D_TIME_BITS=64 is passed to gcc, > struct > timespec time->tv_sec is 64bit, but size_t is 32bits, so dpdk will compile > failed > with error: > "../git/lib/ethdev/ethdev_trace.h: In function > 'rte_eth_trace_timesync_write_time

RE: [PATCH] doc: fix anchors namespace in guides

2025-05-28 Thread Hemant Agrawal
> -Original Message- > From: Nandini Persad > Subject: [PATCH] doc: fix anchors namespace in guides > Importance: High > > I modified the anchors names within the guides to have a a clear prefix so > that > they don't collide, based on advice from Thomas. > > Signed-off-by: Nandini P

[PATCH] test/crypto: test vectors for additional ECDH groups

2025-05-28 Thread Gowrishankar Muthukrishnan
Add test vectors for ECDH groups 19, 20 and 21. Signed-off-by: Gowrishankar Muthukrishnan --- app/test/test_cryptodev_asym.c | 39 ++- app/test/test_cryptodev_ecdh_test_vectors.h | 344 +++ app/test/test_cryptodev_ecdsa_test_vectors.h | 6 + 3 files changed, 386

Re: [PATCH v3 04/10] net/ice/base: set speculative execution barrier

2025-05-28 Thread Bruce Richardson
On Wed, May 28, 2025 at 02:07:25PM +0100, Bruce Richardson wrote: > On Tue, May 27, 2025 at 01:17:23PM +, Dhanya Pillai wrote: > > From: Lukasz Krakowiak > > > > Fix issues related to SPECULATIVE_EXECUTION_DATA_LEAK. > > This changes set speculative execution barrier to functions: > > > > *

Re: [v1 01/10] bus/dpaa: avoid using same structure and variable name

2025-05-28 Thread Stephen Hemminger
On Wed, 28 May 2025 17:25:04 +0530 vanshika.shu...@nxp.com wrote: > From: Hemant Agrawal > > rte_dpaa_bus was being used as structure and variable name both. > > Signed-off-by: Jun Yang > Signed-off-by: Hemant Agrawal > --- That is perfectly ok in C. Would prefer that you not use rte_ for va

[PATCH v3] drivers: remove __rte_used from functions for compatibility with MSVC

2025-05-28 Thread Andre Muezerie
With gcc, the macro __rte_used translates to __attribute__((used)). MSVC has something to the same effect, but harder to use and with some limitations (one being that it cannot be used with "static"). Therefore, it makes sense to avoid __rte_used in some cases. The functions modified in this patch

Re: [PATCH v3 04/10] net/ice/base: set speculative execution barrier

2025-05-28 Thread Bruce Richardson
On Tue, May 27, 2025 at 01:17:23PM +, Dhanya Pillai wrote: > From: Lukasz Krakowiak > > Fix issues related to SPECULATIVE_EXECUTION_DATA_LEAK. > This changes set speculative execution barrier to functions: > > * ice_sched_add_vsi_child_nodes, > * ice_sched_add_vsi_support_nodes, > * ice_sche

RE: Looks like a bug: operands are different enum types 'ibv_flow_attr_type' and 'ibv_flow_flags'

2025-05-28 Thread Suanming Mou
Hi Andre, > -Original Message- > From: Andre Muezerie > Sent: Wednesday, May 28, 2025 3:33 AM > To: Dariusz Sosnowski ; Slava Ovsiienko > ; Bing Zhao ; Ori Kam > ; Suanming Mou ; Matan > Azrad > Cc: dev@dpdk.org > Subject: Looks like a bug: operands are different enum types > 'ibv_flow_

RE: [PATCH] crypto/virtio: fix DER encoding of RSA public key

2025-05-28 Thread Akhil Goyal
> -Original Message- > From: Gowrishankar Muthukrishnan > Sent: Saturday, May 10, 2025 4:11 PM > To: dev@dpdk.org; Jay Zhou > Cc: Anoob Joseph ; Akhil Goyal ; > Gowrishankar Muthukrishnan > Subject: [PATCH] crypto/virtio: fix DER encoding of RSA public key > > As per RFC 8017, RSA pu

RE: [EXTERNAL] [PATCH v2 0/9] DPAA2 crypto driver changes

2025-05-28 Thread Akhil Goyal
> V2 changes: > - fix checkpatch warning > - fix 32 bit compilation error > - fix a commit message > - update document > > Gagandeep Singh (5): > common/dpaax: fix invalid key command error > common/dpaax: fix for PDCP AES only 12bit SN case > common/dpaax: support 12bit SN in pdcp uplan

Re: [PATCH] net/mlx5: avoid setting kernel MTU if not needed

2025-05-28 Thread David Marchand
Hello, On Wed, May 28, 2025 at 11:36 AM Maxime Coquelin wrote: > > This patch checks whether the Kernel MTU has the same value > as the requested one at port configuration time, and skip > setting it if it is the same. > > Doing this, we can avoid the application to require > NET_ADMIN capability

[v1 01/10] bus/dpaa: avoid using same structure and variable name

2025-05-28 Thread vanshika . shukla
From: Hemant Agrawal rte_dpaa_bus was being used as structure and variable name both. Signed-off-by: Jun Yang Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/dpaa_bus.c | 56 ++--- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/drivers/bus/d

[v1 00/10] DPAA specific fixes

2025-05-28 Thread vanshika . shukla
From: Vanshika Shukla This series includes fixes for NXP DPAA drivers. Gagandeep Singh (1): bus/dpaa: improve DPAA cleanup Hemant Agrawal (2): bus/dpaa: avoid using same structure and variable name bus/dpaa: optimize qman enqueue check Jun Yang (5): bus/dpaa: add FMan node bus/dpaa:

[PATCH 7/7] doc: updates cnxk doc for new devargs

2025-05-28 Thread Rahul Bhansali
Adds details of below nix devargs - force_tail_drop - disable_xqe_drop Signed-off-by: Rahul Bhansali --- doc/guides/nics/cnxk.rst | 23 +++ 1 file changed, 23 insertions(+) diff --git a/doc/guides/nics/cnxk.rst b/doc/guides/nics/cnxk.rst index 35f95dcc0a..7f4ff7b4fb 100644 -

[PATCH 6/7] net/cnxk: devarg option to disable xqe drop

2025-05-28 Thread Rahul Bhansali
Provide devarg option to disable xqe drop in rq context. It will be set as disable_xqe_drop=1 for nix device. e.g.: 0002:02:00.0,disable_xqe_drop=1 Signed-off-by: Rahul Bhansali --- drivers/net/cnxk/cnxk_ethdev_devargs.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/

[PATCH 5/7] common/cnxk: disable xqe drop config in RQ context

2025-05-28 Thread Rahul Bhansali
Disable RQ context xqe drop enable config when dis_xqe_drop parameter is set. Signed-off-by: Rahul Bhansali --- drivers/common/cnxk/roc_nix.h | 1 + drivers/common/cnxk/roc_nix_queue.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/common/cnxk/roc_nix.h b/dri

[PATCH 4/7] net/cnxk: fix descriptor count update on reconfig

2025-05-28 Thread Rahul Bhansali
In Rx queue setup, input descriptors count is updated as per requirement, and stored. But during port reconfig , this descriptor count will change again in rx queue setup. Hence, will need to store the initial input descriptor count. Fixes: a86144cd9ded ("net/cnxk: add Rx queue setup and release")

[PATCH 3/7] net/cnxk: devarg to set force tail drop

2025-05-28 Thread Rahul Bhansali
A new devarg is added to configure force tail drop. Also, CQ descriptors are doubled under this option. To enable this devarg, it needs to be pass as force_tail_drop=1 for nix device. e.g.: 0002:02:00.0,force_tail_drop=1 Signed-off-by: Rahul Bhansali --- drivers/net/cnxk/cnxk_ethdev.c |

[PATCH 2/7] common/cnxk: set CQ drop and backpressure threshold

2025-05-28 Thread Rahul Bhansali
In case of force_tail_drop is enabled, a different set of CQ drop and backpressure threshold will be configured to avoid CQ FULL interrupts. Also, drop thresholds are optimized for security packets. Signed-off-by: Rahul Bhansali --- drivers/common/cnxk/roc_nix.h | 4 drivers/common/c

[PATCH 1/7] common/cnxk: fix CQ tail drop feature

2025-05-28 Thread Rahul Bhansali
From: Nithin Dabilpuram CQ tail drop feature is currently supposed to be enabled when inline IPsec is disabled. But since XQE drop is not enabled, CQ tail drop is implicitly disabled. Fix the same. Fixes: c8c967e11717 ("common/cnxk: support enabling AURA tail drop for RQ") Signed-off-by: Nithin

[v1 07/10] net/dpaa: add Tx rate limiting DPAA PMD API

2025-05-28 Thread vanshika . shukla
From: Vinod Pullabhatla Add support to set Tx rate on DPAA platform through PMD APIs Signed-off-by: Vinod Pullabhatla Signed-off-by: Vanshika Shukla --- .mailmap | 1 + drivers/net/dpaa/dpaa_flow.c | 87 +++- drivers/net/dpaa/fmlib/

[v1 10/10] bus/dpaa: optimize qman enqueue check

2025-05-28 Thread vanshika . shukla
From: Hemant Agrawal This patch improves data access during qman enequeue ring check. Signed-off-by: Jun Yang Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/qbman/qman.c | 41 - drivers/bus/dpaa/include/fsl_qman.h | 2 +- 2 files changed, 23 insertions(+

[PATCH] crypto/virtio: fix driver ID for virtio

2025-05-28 Thread Rajesh Mudimadugula
This patch corrects driver id for virtio and virtio_user pmds. Fixes: 25500d4b8076 ("crypto/virtio: support device init") Signed-off-by: Rajesh Mudimadugula --- drivers/crypto/virtio/virtio_cryptodev.c | 4 ++-- drivers/crypto/virtio/virtio_user_cryptodev.c | 5 +++-- 2 files changed, 5 in

[v1 08/10] net/dpaa: add devargs for enabling err packets on main queue

2025-05-28 Thread vanshika . shukla
From: Vanshika Shukla Currently, error queue is mapped to the Rx queue and enabled by default. This patch adds the devargs to control the err packets on main queue. Also, in VSP mode the error queue should be disabled because the error packets from kernel are diverted to the Rx queue/err queue ca

[v1 05/10] mempool/dpaa: fast acquire and release

2025-05-28 Thread vanshika . shukla
From: Jun Yang Use new BMan APIs to improve performance and support burst release. Improve release performance ~90% by burst release. Signed-off-by: Jun Yang --- drivers/mempool/dpaa/dpaa_mempool.c | 85 - drivers/mempool/dpaa/dpaa_mempool.h | 2 +- 2 files changed

[v1 09/10] bus/dpaa: improve DPAA cleanup

2025-05-28 Thread vanshika . shukla
From: Gagandeep Singh This patch addresses DPAA driver issues with the introduction of rte_eal_cleanup, which caused driver-specific destructors to fail due to memory cleanup. To resolve this, we remove the driver destructor and relocate the code to the bus cleanup function. So, this patch also

[v1 06/10] mempool/dpaa: adjust pool element for LS1043A errata

2025-05-28 Thread vanshika . shukla
From: Jun Yang Adjust every element of pool by populate callback. 1) Make sure start DMA address is aligned with 16B. 2) For buffer across 4KB boundary, make sure start DMA address is aligned with 256B. Signed-off-by: Jun Yang --- drivers/mempool/dpaa/dpaa_mempool.c | 145 ++

[v1 03/10] bus/dpaa: enhance DPAA SoC version

2025-05-28 Thread vanshika . shukla
From: Jun Yang Provide internal API to identify DPAA1 SoC version instead of accessing global variable directly. Signed-off-by: Jun Yang --- drivers/bus/dpaa/base/qbman/qman.c | 9 +++--- drivers/bus/dpaa/bus_dpaa_driver.h | 9 +++--- drivers/bus/dpaa/dpaa_bus.c| 48 +

[v1 04/10] bus/dpaa: optimize bman acquire/release

2025-05-28 Thread vanshika . shukla
From: Jun Yang 1) Reduce byte swap between big endian and little endian. 2) Reduce ci(cache invalid) access by 128bit R/W instructions. These methods improve ~10% buffer acquire/release performance. Signed-off-by: Jun Yang --- drivers/bus/dpaa/base/qbman/bman.c | 149 -

[v1 02/10] bus/dpaa: add FMan node

2025-05-28 Thread vanshika . shukla
From: Jun Yang Add FMan node(s) and associate FMan to it's interface(port). This method describes FMan attributes and avoid accessing FMan from port directly. Logically, something like IEEE 1588 is FMan global resource, which is in range of 0xF_E000–0xF_EFFF. Port specific resource is in range of

[v1 01/10] bus/dpaa: avoid using same structure and variable name

2025-05-28 Thread vanshika . shukla
From: Hemant Agrawal rte_dpaa_bus was being used as structure and variable name both. Signed-off-by: Jun Yang Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/dpaa_bus.c | 56 ++--- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/drivers/bus/d

[v1 00/10] DPAA specific fixes

2025-05-28 Thread vanshika . shukla
From: Vanshika Shukla This series includes fixes for NXP DPAA drivers. Gagandeep Singh (1): bus/dpaa: improve DPAA cleanup Hemant Agrawal (2): bus/dpaa: avoid using same structure and variable name bus/dpaa: optimize qman enqueue check Jun Yang (5): bus/dpaa: add FMan node bus/dpaa:

[PATCH v4 1/7] net/ena/base: avoid recalculating desc per entry

2025-05-28 Thread Shai Brandes
desc_per_entry is precomputed in ena_com_config_llq_info() using desc_stride_ctrl and desc_list_entry_size, which remain unchanged after device negotiation. Reuse the existing value instead of recalculating it in the fast path. Signed-off-by: Shai Brandes Reviewed-by: Amit Bernstein Reviewed-by:

[PATCH v4 5/7] net/ena: fix unhandled interrupt config failure

2025-05-28 Thread Shai Brandes
Fixed the device initialization routine to correctly handle failure during the registration or enabling of interrupts when operating in control path interrupt mode. Fixes: ca1dfa85f0d3 ("net/ena: add control path pure polling mode") Cc: sta...@dpdk.org Signed-off-by: Shai Brandes Reviewed-by: Ami

[PATCH v4 7/7] net/ena: upgrade driver version to 2.13.0

2025-05-28 Thread Shai Brandes
Upgraded the driver version to 2.13.0. Signed-off-by: Shai Brandes Reviewed-by: Amit Bernstein Reviewed-by: Yosef Raisman --- drivers/net/ena/ena_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c index d2497

[PATCH v4 6/7] net/ena: fix aenq timeout with low poll interval

2025-05-28 Thread Shai Brandes
The driver can work in polling-based functionality of the admin queue, eliminating the need for interrupts in the control-path. This mode is mandatory when using the uio_pci_generic driver, which lacks interrupt support. The control_path_poll_interval devarg is being set within the range [1..1000]

[PATCH v4 2/7] net/ena/base: coding style changes

2025-05-28 Thread Shai Brandes
Reordered variable declarations to follow the reverse Christmas tree style. Signed-off-by: Shai Brandes Reviewed-by: Amit Bernstein Reviewed-by: Yosef Raisman --- drivers/net/ena/base/ena_com.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ena/base/ena_c

[PATCH v4 3/7] net/ena: separate doorbell logic for Rx and Tx

2025-05-28 Thread Shai Brandes
The function ena_com_write_sq_doorbell() currently checks for LLQ mode using is_llq_max_tx_burst_exists() which is relevant only for TX queues. Since RX queues do not operate in LLQ mode, this check is unnecessary for the RX path. This patch separates the doorbell write logic into two distinct han

[PATCH v4 4/7] net/ena: support fragment bypass mode

2025-05-28 Thread Shai Brandes
Introduce devarg `enable_frag_bypass` to toggle the fragment bypass mode for egress packets. When enabled, this feature bypasses the PPS limit enforced by EC2 for fragmented egress packets on every ENI. Note that enabling this might negatively impact network performance. By default, this feature

[PATCH v4 0/7] net/ena: release 2.13.0

2025-05-28 Thread Shai Brandes
This patchset includes an upgrade of the ENA HAL, introduces a new feature, and addresses three bug fixes. Thank you in advance to the net maintainers and community members for your time and effort reviewing the code. Best regards, Shai Brandes AWS Elastic Network Adapter team --- v2: Removed pa

Re: [PATCH v2 1/1] net/cnxk: mark invalid MAC address if it doesn't exist

2025-05-28 Thread Nithin Dabilpuram
Acked-by: Nithin Dabilpuram On Wed, May 28, 2025 at 11:51 AM wrote: > > From: Sunil Kumar Kori > > When user requests to configure a device which is already in > configured state then first device gets resets to default and > then reconfigured with latest parameters. > > While resetting the devi

RE: [PATCH v2 1/2] ethdev: remove unnecessary type conversion

2025-05-28 Thread Morten Brørup
> From: Konstantin Ananyev [mailto:konstantin.anan...@huawei.com] > Sent: Wednesday, 28 May 2025 11.14 > > > > > > From: Konstantin Ananyev [mailto:konstantin.anan...@huawei.com] > > > Sent: Wednesday, 28 May 2025 10.24 > > > > > > > > > > > > > > From: Stephen Hemminger [mailto:step...@networkplu

[PATCH] net/mlx5: avoid setting kernel MTU if not needed

2025-05-28 Thread Maxime Coquelin
This patch checks whether the Kernel MTU has the same value as the requested one at port configuration time, and skip setting it if it is the same. Doing this, we can avoid the application to require NET_ADMIN capability, as in v23.11. Fixes: 10859ecf09c4 ("net/mlx5: fix MTU configuration") Cc: s

RE: [PATCH v2 2/2] ethdev: remove callback checks from fast path

2025-05-28 Thread Morten Brørup
> From: Sunil Kumar Kori > Sent: Monday, 12 May 2025 17.07 > > rte_eth_fp_ops contains ops for fast path APIs. Each API > validates availability of callback and then invoke it. > These checks impact data path performace. Picking up the discussion from another thread [1]: > From: Konstantin Anan

RE: [PATCH v2 1/2] ethdev: remove unnecessary type conversion

2025-05-28 Thread Konstantin Ananyev
> > > From: Konstantin Ananyev [mailto:konstantin.anan...@huawei.com] > > Sent: Wednesday, 28 May 2025 10.24 > > > > > > > > > > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > > > > Sent: Tuesday, 27 May 2025 17.07 > > > > > > > > > > On Mon, 12 May 2025 20:37:19 +0530 > > >

RE: [PATCH v2 1/2] ethdev: remove unnecessary type conversion

2025-05-28 Thread Morten Brørup
> From: Konstantin Ananyev [mailto:konstantin.anan...@huawei.com] > Sent: Wednesday, 28 May 2025 10.24 > > > > > > > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > > > Sent: Tuesday, 27 May 2025 17.07 > > > > > > > > On Mon, 12 May 2025 20:37:19 +0530 > > > > wrote: > > > > > >

RE: [PATCH] test/crypto: fix RSA decrypt op validation

2025-05-28 Thread Gowrishankar Muthukrishnan
Recheck unit test failure for openssl 1.1.1 in some distros. Recheck-request: iol-unit-amd64-testing -- Gowrishankar > > Following RSA encrypt op, same plaintext buffer is used as output buffer for > decrypt op, hence comparing plaintext buffer against same buffer pointer in > crypto op always s

RE: [PATCH v2 1/2] ethdev: remove unnecessary type conversion

2025-05-28 Thread Konstantin Ananyev
> > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > Sent: Tuesday, 27 May 2025 17.07 > > > > On Mon, 12 May 2025 20:37:19 +0530 > > wrote: > > > > > /**@{@name Rx hardware descriptor states > > > diff --git a/lib/ethdev/rte_ethdev_core.h > > b/lib/ethdev/rte_ethdev_core.h >

RE: [PATCH v2 1/2] ethdev: remove unnecessary type conversion

2025-05-28 Thread Konstantin Ananyev
> > > > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > > Sent: Tuesday, 27 May 2025 17.07 > > > > > > On Mon, 12 May 2025 20:37:19 +0530 > > > wrote: > > > > > > > /**@{@name Rx hardware descriptor states > > > > diff --git a/lib/ethdev/rte_ethdev_core.h > > > b/lib/ethdev/r

Re: [EXTERNAL] Re: |FAILURE| pw153190 [PATCH V3] Add new tracepoint function for type time_t

2025-05-28 Thread Changqing Li
Hi, Just kindly remind, with the help of  Jerin's comment,  I had just send a V4 version yesterday. Here is the patch link: https://patches.dpdk.org/project/dpdk/patch/20250527120404.2027529-1-changqing...@windriver.com/ Regards Sandy On 5/28/25 16:06, Sunil Kumar Kori wrote: CAUTION: Thi

RE: [EXTERNAL] Re: |FAILURE| pw153190 [PATCH V3] Add new tracepoint function for type time_t

2025-05-28 Thread Sunil Kumar Kori
Please mark this version as superseded as new version is available. Thanks Sunil Kumar Kori > -Original Message- > From: Jerin Jacob > Sent: Thursday, May 8, 2025 7:24 PM > To: Changqing Li ; David Marchand > ; Sunil Kumar Kori ; > tho...@monjalon.net; Stephen Hemminger > Cc: dev@dpdk.

[PATCH v1 0/1] compress/zsda: code cleanup

2025-05-28 Thread Hanxiao Li
v1: - submit patch Hanxiao Li (1): compress/zsda: compress code cleanup drivers/common/zsda/zsda_device.c | 3 +- drivers/common/zsda/zsda_device.h | 6 +-- drivers/common/zsda/zsda_qp.h | 48 +- drivers/common/zsda/zsda_qp_common.h | 43 +++- dr

[PATCH v1 1/1] compress/zsda: code cleanup

2025-05-28 Thread Hanxiao Li
zsda compress code cleanup. Signed-off-by: Hanxiao Li --- drivers/common/zsda/zsda_device.c | 3 +- drivers/common/zsda/zsda_device.h | 6 +-- drivers/common/zsda/zsda_qp.h | 48 +- drivers/common/zsda/zsda_qp_common.h | 43 +++- drivers/compress/zs

Re: [dpdk-dev] Regarding HQOS with run-to-completion Model

2025-05-28 Thread farooq basha
Thanks Stephen. While browsing the DPDK qos code, i figured out that existing PIPE-PROFILE cannot be updated or deleted at run time. Was there any reason why this limitation ? Thanks Farooq.J On Thu, 22 May, 2025, 20:51 Stephen Hemminger, wrote: > On Thu, 22 May 2025 08:15:14 +053