[PATCH 2/2] net/cnxk: fix overrun in dis_xqe_drop

2025-09-22 Thread Stephen Hemminger
The function parse_flag expects 16 bit value for flag, but dis_xqe_drop is a byte. Detected when LTO enabled as: ../drivers/net/cnxk/cnxk_ethdev_devargs.c:166: warning: writing 2 bytes into a region of size 1 [-Wstringop-overflow=] 166 | *(uint16_t *)extra_args = atoi(value); ../drivers

[DPDK/ethdev Bug 1790] warnings in CNXK when built with LTO

2025-09-22 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1790 Bug ID: 1790 Summary: warnings in CNXK when built with LTO Product: DPDK Version: 25.07 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Prior

[PATCH v10 12/17] net/nbl: add nbl device rxtx queue setup and release ops

2025-09-22 Thread Dimon Zhao
Implement NBL device Rx and Tx queue setup & release functions Signed-off-by: Dimon Zhao --- drivers/net/nbl/nbl_dev/nbl_dev.c | 75 + drivers/net/nbl/nbl_dev/nbl_dev.h | 7 + drivers/net/nbl/nbl_ethdev.c | 4 + .../nbl/nbl_hw/nbl_hw_leonis/nbl_r

[PATCH v10 14/17] net/nbl: add nbl device Tx and Rx burst

2025-09-22 Thread Dimon Zhao
Implement NBL device Tx and Rx burst Signed-off-by: Dimon Zhao --- drivers/net/nbl/nbl_core.c| 2 +- drivers/net/nbl/nbl_core.h| 2 +- drivers/net/nbl/nbl_dev/nbl_dev.c | 37 +- drivers/net/nbl/nbl_dev/nbl_dev.h | 4 + driver

[PATCH v10 07/17] net/nbl: add Dev layer definitions and implementation

2025-09-22 Thread Dimon Zhao
add Dev layer related definitions Signed-off-by: Dimon Zhao --- drivers/net/nbl/meson.build | 3 + drivers/net/nbl/nbl_core.c| 14 +- drivers/net/nbl/nbl_core.h| 16 ++ drivers/net/nbl/nbl_dev/nbl_dev.c | 194 ++ drive

[PATCH v10 06/17] net/nbl: add Dispatch layer definitions and implementation

2025-09-22 Thread Dimon Zhao
add Dispatch layer related definitions Signed-off-by: Dimon Zhao --- drivers/net/nbl/meson.build | 1 + drivers/net/nbl/nbl_core.c| 7 + drivers/net/nbl/nbl_core.h| 4 + drivers/net/nbl/nbl_dispatch.c| 546 ++

[PATCH v10 04/17] net/nbl: add Channel layer definitions and implementation

2025-09-22 Thread Dimon Zhao
add Channel layer related definitions and nbl_thread for mbx interact Signed-off-by: Dimon Zhao --- drivers/net/nbl/meson.build | 2 + drivers/net/nbl/nbl_common/nbl_common.c | 47 ++ drivers/net/nbl/nbl_common/nbl_common.h | 10 + drivers/net/nbl/nbl_core.c

[PATCH v10 02/17] net/nbl: add simple probe/remove and log module

2025-09-22 Thread Dimon Zhao
Our driver architecture is relatively complex because the code is highly reusable and designed to support multiple features. For example, our driver can support open-source UIO/VFIO drivers while also coexisting with kernel drivers. Additionally, the codebase supports multiple chip variants, each w

[PATCH v10 03/17] net/nbl: add HW layer definitions and implementation

2025-09-22 Thread Dimon Zhao
add HW layer related definitions and product ops Signed-off-by: Dimon Zhao --- drivers/net/nbl/meson.build | 2 + drivers/net/nbl/nbl_core.c| 49 +- drivers/net/nbl/nbl_core.h| 22 - drivers/net/nbl/nbl_hw/nbl_hw.h

[PATCH v10 00/17] NBL PMD for Nebulamatrix NICs

2025-09-22 Thread Dimon Zhao
Features: - - MTU update - promisc mode set - xstats - Basic stats Support NICs: - - S1205CQ-A00CHT - S1105AS-A00CHT - S1055AS-A00CHT - S1052AS-A00CHT - S1051AS-A00CHT - S1045XS-A00CHT - S1205CQ-A00CSP - S1055AS-A00CSP - S1052AS-A00CSP Dimon Zhao (17): net/nbl: add doc and

Re: [PATCH] net/tap: fix build with LTO

2025-09-22 Thread Stephen Hemminger
On Mon, 22 Sep 2025 09:30:43 +0200 David Marchand wrote: > The compiler has trouble understanding that the code is actually pointing > at the data in the message past the nh struct. > > Update the tap_nlattr_add* helpers and the NLMSG_TAIL macro passing a > pointer to msg. > > Bugzilla ID: 1511

Re: [PATCH v5] dts: enable port binding on the TG

2025-09-22 Thread Patrick Robb
Applied with the commit message fixup. Thanks Andrew.

Re: [PATCH] net/mlx5: fix MTU initialization in device spawn

2025-09-22 Thread Raslan Darawsheh
On 18/09/2025 8:43 AM, Shani Peretz wrote: Currently with mlx5 PMD, rte_eth_dev_get_mtu() doesn't return the MTU the device was set with, but the default one. It happens because mlx5_dev_spawn() is not setting the eth_dev->data->mtu field after getting the actual MTU from the driver, so the de

[PATCH v2 2/4] net/idpf: add splitq jumbo packet handling

2025-09-22 Thread Shetty, Praveen
From: Praveen Shetty This patch will add the jumbo packets handling in the idpf_dp_splitq_recv_pkts function. Signed-off-by: Praveen Shetty Signed-off-by: Dhananjay Shukla Signed-off-by: atulpatel261194 --- drivers/net/intel/idpf/idpf_common_rxtx.c | 50 ++- 1 file change

Re: [PATCH v1] net/idpf: add IDPF PCI class ID support

2025-09-22 Thread Singh, Aman Deep
On 22-09-2025 17:39, David Marchand wrote: Hello, On Mon, 22 Sept 2025 at 08:35, Vemula Venkatesh wrote: diff --git a/drivers/net/intel/idpf/idpf_common_device.h b/drivers/net/intel/idpf/idpf_common_device.h index 5f3e4a4fcf..9d1d7dc47c 100644 --- a/drivers/net/intel/idpf/idpf_common_device.

Re: [PATCH 2/2] build: add backwards compatibility for wildcarding nested drivers

2025-09-22 Thread Thomas Monjalon
22/09/2025 13:07, Kevin Traynor: > Up until DPDK 25.03 'net/*' could be used with meson options > enable_drivers or disable_drivers to explicitly enable or > disable all net drivers. > > In DPDK 25.03 commit > c1d145834f28 ("net/intel: move Intel drivers to a subdirectory") > moved Intel drivers t

Re: [PATCH 1/2] build: add backward compatibility for nested drivers

2025-09-22 Thread Thomas Monjalon
22/09/2025 13:07, Kevin Traynor: > --- a/drivers/meson.build > +++ b/drivers/meson.build > -# add cmdline disabled drivers and meson disabled drivers together > -disable_drivers += ',' + get_option('disable_drivers') > +# map legacy driver names > +driver_map = { > +'net/e1000': 'net/intel/e100

Re: [PATCH v5] dts: enable port binding on the TG

2025-09-22 Thread Patrick Robb
On Wed, Sep 10, 2025 at 8:30 AM Andrew Bailey wrote: > Currently, ports on the TG are not bound to the correct drivers prior to > running DTS. This causes DTS to crash if they are not initially bound to > the intended drivers. Binding the TG ports to the proper driver caused > DTS to fail when th

[PATCH v2 3/4] net/intel: add config queue support to vCPF

2025-09-22 Thread Shetty, Praveen
From: Praveen Shetty A "configuration queue" is a software term to denote a hardware mailbox queue dedicated to NSS programming. While the hardware does not have a construct of a "configuration queue", software does to state clearly the distinction between a queue software dedicates to regular ma

[PATCH v2 4/4] net/cpfl: add cpchnl get vport info support

2025-09-22 Thread Shetty, Praveen
From: Praveen Shetty vCPF will only receive the relative queue id from the FW. CPCHNL2_OP_GET_VPORT_INFO cpchnl message is used to get the absolute rx/tx queue id and vsi of its own vport. This patch will add the support to call CPCHNL2_OP_GET_VPORT_INFO cpchnl message from the vCPF PMD. Signed-

[PATCH v2 0/4] add vcpf pmd support

2025-09-22 Thread Shetty, Praveen
Virtual Control Plane Function (vCPF) is a SR-IOV Virtual Function of the CPF(PF) device.vCPF is used to support multiple control plane functions. This patchset is for extending the CPFL PMD to support the new vCPF device. In this implementaion, both CPFL and the vCPF devices share most of the ini

[PATCH v2 1/4] net/intel: add vCPF PMD support

2025-09-22 Thread Shetty, Praveen
From: Praveen Shetty This patch adds the registration support for a new vCPF PMD. vCPF PMD is responsible for enabling control and data path functionality for the CPF VF devices. Signed-off-by: Praveen Shetty Tested-by: Atul Patel Tested-by: Dhananjay Shukla --- drivers/net/intel/cpfl/cpfl_

RE: [EXTERNAL] Re: [RFC] lib/dma: introduce inter-process and inter-OS DMA

2025-09-22 Thread Vamsi Krishna Attunuru
Hi Feng, >Hi Vamsi, This commit change is more than discussed, it add control API which >for group management. 1. Control API: I check this commit and Intel commit >[1], it seem has a quite difference. I hope Intel guys can express views. I >prefer not add ZjQcmQRYFpfptBannerStart Prioritize secur

[PATCH 1/2] build: add backward compatibility for nested drivers

2025-09-22 Thread Kevin Traynor
Intel driver were moved from 'net/*' to '/net/intel/*' in DPDK 25.03 in commit c1d145834f28 ("net/intel: move Intel drivers to a subdirectory") This means that any enabling or disabling of those drivers from the command line using the old names will no longer work. e.g. 'net/ixgbe' will not enable

Re: [PATCH 16/19] common/cnxk: avoid null SQ access

2025-09-22 Thread Jerin Jacob
On Mon, Sep 1, 2025 at 1:03 PM Nithin Dabilpuram wrote: > > From: Satha Rao > > Condition to check SQ is non NULL before access. Also pktio locks > are simplied while doing threshold_profile config. > > Signed-off-by: Satha Rao # Please start the fix commit with xxx/yyy: fix ... # Please review

Re: [PATCH] net/mlx5: fix missing next proto in IPv4/6 encap hash calc

2025-09-22 Thread Raslan Darawsheh
Hi, On 15/09/2025 1:40 PM, Maayan Kashani wrote: Add missing memcpy for next_protocol field when processing IPv4/6 items in flow_hw_calc_encap_hash function. This ensures the IPv4/6 header's proto field is properly copied to the hash calculation data structure. Fixes: bb328f44afe9 ("net/mlx5:

RE: [PATCH v1] net/idpf: add IDPF PCI class ID support

2025-09-22 Thread Wani, Shaiq
> -Original Message- > From: Vemula Venkatesh > Sent: Friday, September 19, 2025 8:21 PM > To: dev@dpdk.org > Subject: [PATCH v1] net/idpf: add IDPF PCI class ID support > > Current IDPF supports only the MEV device IDs. MMG has new set of device > IDs and same might be the case for th

Re: [PATCH v3] bus/pci: don't open uio device in secondary process

2025-09-22 Thread Chenbo Xia
Hi Konrad, > On Oct 11, 2024, at 19:15, Konrad Sztyber wrote: > > External email: Use caution opening links or attachments > > > The uio_pci_generic driver clears the bus master bit when the device > file is closed. So, when the secondary process terminates after probing > a device, that devic

RE: [PATCH v2 0/5] idpf and cpfl rx path selection simplification

2025-09-22 Thread Wani, Shaiq
> -Original Message- > From: Ciara Loftus > Sent: Wednesday, September 17, 2025 2:47 PM > To: dev@dpdk.org > Cc: Loftus, Ciara > Subject: [PATCH v2 0/5] idpf and cpfl rx path selection simplification > > This series refactors the vector capability detection and Rx path selection > co

Re: [PATCH] net/bnxt: remove dead code under DPDK version check

2025-09-22 Thread David Marchand
Hello Ajit, On Mon, 25 Aug 2025 at 11:28, David Marchand wrote: > > There is no good reason to keep code for older versions of DPDK in the > main branch. > > Signed-off-by: David Marchand Can you merge this cleanup? I also see another patch waiting for review/merge: https://patchwork.dpdk.org/p

RE: [PATCH 1/1] ring: safe partial ordering for head/tail update

2025-09-22 Thread Konstantin Ananyev
> > > > > > > > To avoid information loss I combined reply to two Wathsala > > > > replies into one. > > > > > > > > > > > > > > > The function __rte_ring_headtail_move_head() assumes that > > > > > > > the > > > > > > > barrier > > > > > > (fence) between the load of the head and the load-acquir

[PATCH] doc: update AMD EPYC guide

2025-09-22 Thread Vipin Varghese
changes: 1. fix spelling from `SIENNA` to `SIENA` 2. add tuning guide for zen5 AMD Epyc 9005 3. add uncore power details 4. update on using AMD Solarflare X4 and X2 Signed-off-by: Vipin Varghese Tested-by: Thiyagarajan P --- doc/guides/linux_gsg/amd_platform.rst | 40 ++