[V9 15/17] net/hinic3: add RSS promiscuous ops

2025-09-20 Thread Feifei Wang
From: Xin Wang Add RSS and promiscuous ops related function codes. Signed-off-by: Xin Wang Reviewed-by: Feifei Wang Reviewed-by: Yi Chen --- drivers/net/hinic3/hinic3_ethdev.c | 358 + drivers/net/hinic3/hinic3_ethdev.h | 6 + 2 files changed, 364 insertions(+)

[V9 00/17] add-hinic3-PMD-driver

2025-09-20 Thread Feifei Wang
The hinic3 PMD (**librte_net_hinic3**) provides poll mode driver support for 25Gbps/100Gbps/200Gbps Huawei SPx series Network Adapters. v9: -resolve type conflict issue v8: -resolve CI compile error -modify mbox section v7: -remove unused-functions v6: -modify based on community comments -remov

[PATCH 6/8] net/iavf: document support for burst mode info

2025-09-20 Thread Ciara Loftus
The burst mode info feature has been supported since commit 0d5a856f5be9 ("net/iavf: support Rx/Tx burst mode info"). Update the list of supported features to reflect this. Fixes: 0d5a856f5be9 ("net/iavf: support Rx/Tx burst mode info") Cc: sta...@dpdk.org Signed-off-by: Ciara Loftus --- doc/gu

[PATCH v1 7/7] net/ntnic: cleanup using pthreads and rte_thread

2025-09-20 Thread Serhii Iliushyk
This patch cleans up the code to use pthreads and rte_thread APIs. Signed-off-by: Serhii Iliushyk --- drivers/net/ntnic/adapter/nt4ga_adapter.c | 2 -- drivers/net/ntnic/include/nt4ga_adapter.h | 1 - drivers/net/ntnic/include/ntdrv_4ga.h | 1 - drivers/net/ntnic/nthw/core/nth

[PATCH v2 2/5] net/idpf: use the new common vector capability function

2025-09-20 Thread Ciara Loftus
Use the new function for determining the maximum simd bitwidth in the idpf driver. Signed-off-by: Ciara Loftus --- v2: * Removed check for AVX512DQ in the driver code as it's in the common code now. --- drivers/net/intel/idpf/idpf_rxtx.c| 50 ++- drivers/net/intel/idp

[V9 01/17] doc: add hinic3 driver

2025-09-20 Thread Feifei Wang
From: Yi Chen This patch adds document for hinic3 driver. Signed-off-by: Feifei Wang Signed-off-by: Yi Chen Reviewed-by: Xin Wang --- .mailmap | 4 +++- MAINTAINERS| 4 doc/guides/nics/index.rst | 1 + doc/guides/rel

Re: Error with --no-huge when compiled with -fsanitize=address from gcc 15

2025-09-20 Thread Burakov, Anatoly
On 9/9/2025 10:40 PM, Robin Jarry wrote: Hi Anatoly, Burakov, Anatoly, Sep 05, 2025 at 11:17: Specifically, it's weird that your DMA width is 42 bits (indicated by "using dma mask fc00" log), running on a physical machine - mine sits at 57 bits, so despite having VA's within the sam

[PATCH v2 5/5] net/cpfl: use the common Rx path selection infrastructure

2025-09-20 Thread Ciara Loftus
Replace the existing complicated logic with the use of the common function. Signed-off-by: Ciara Loftus --- drivers/net/intel/cpfl/cpfl_rxtx.c | 105 ++-- drivers/net/intel/idpf/idpf_common_device.h | 1 - 2 files changed, 29 insertions(+), 77 deletions(-) diff --git

[PATCH v2 6/7] net/ntnic: add warning about service cores

2025-09-20 Thread Serhii Iliushyk
This commit adds a warning message if the service cores are not available. This warning notifies a user about potential issues with ntnic services. There in no error because the service cores may be added by application itself after the pcie_probe. Signed-off-by: Serhii Iliushyk --- drivers/net/

[PATCH v6 0/3] enable drivers to be compiled with MSVC

2025-09-20 Thread Andre Muezerie
This patchset solves the last issues preventing drivers from being compiled with MSVC and enables drivers to be built with it. -v6: - Remove temporary workaround for bug (https://bugs.dpdk.org/show_bug.cgi?id=1758) introduced in an earlier iteration. v5: - Remove unnecessary parentheses from macr

[PATCH v4 0/4] Cuckoo hash optimization for small sizes

2025-09-20 Thread Stephen Hemminger
Recent discussion around handling small keys motivated furthur examination of the compare logic. v4 - add test for more sizes, and a few more special case sizes. Stephen Hemminger (4): hash: move table of hash compare functions out of header hash: use static_assert hash: reduce architecture

[PATCH v2 0/4] add mbuf debug capabilities

2025-09-20 Thread Shani Peretz
v2: narrow scope to mbuf only - move the history tracking data to the rte_mbuf structure. use a dynamic mbuf field to store the tracking bitmap. remove the compilation flag. v1: This feature is designed to monitor the lifecycle of mempool objects as they move between the application and the PMD.

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

2025-09-20 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

[V8 09/17] net/hinic3: add a NIC business configuration module

2025-09-20 Thread Feifei Wang
From: Yi Chen The items of configurations and queries for NIC business include MAC, VLAN, MTU, RSS and so on. These configurations and queries are handled by mgmt module. This patch introduces related data structures and function codes. Signed-off-by: Yi Chen Reviewed-by: Xin Wang Reviewed-by:

Re: [RFC v2 4/9] vfio: remove public wrappers

2025-09-20 Thread Burakov, Anatoly
On 9/3/2025 5:17 PM, David Marchand wrote: The public header defines a number of wrappers that can be removed or hidden internally. Either, those concern old Linux kernel versions that are not supported by dpdk anymore (DPDK now requires Linux v5.4 at least), like: - the request notifier feature

[PATCH v4 4/4] hash: add support for common small key sizes

2025-09-20 Thread Stephen Hemminger
Add new compare functions for common small key sizes. Fill in more key sizes to ensure more complete coverage of special cases. Bugzilla ID: 1775 Suggested-by: Morten Brørup Reported-by: Mattias Rönnblom Signed-off-by: Stephen Hemminger Acked-by: Morten Brørup --- app/test/test_hash.c

Re: [PATCH 6/6] devtools: add quiet mode in uAPI script

2025-09-20 Thread Thomas Monjalon
03/09/2025 15:54, Maxime Coquelin: > On 8/27/25 10:21 AM, Thomas Monjalon wrote: > > Most messages from the Linux uAPI script are not useful > > when running the script in a regular fashion. > > The quiet mode (option -q) is added to output only error messages if any. > > > > Signed-off-by: Thomas

Re: [PATCH 0/3] fix build with MinGW 13

2025-09-20 Thread Ali Alnubani
On 8/13/25 6:25 PM, Thomas Monjalon wrote: After an upgrade to MinGW version 13, some compilation errors appear in PCI, mlx5 and bbdev code. This series fixes them all. Thomas Monjalon (3): bus/pci: fix build with MinGW 13 net/mlx5: fix build with MinGW 13 bbdev: wrong fix for MinGW 13

[PATCH 0/8] Fixes for ice and iavf docs

2025-09-20 Thread Ciara Loftus
This series is a collection of fixes to the documentation (specifically the ini files) for the ice and iavf drivers. Ciara Loftus (8): net/ice: document support for free Tx mbuf on demand net/ice: fix documentation of support for TSO net/iavf: fix documentation for speed capabilities net/i

[V8 00/17] add-hinic3-PMD-driver

2025-09-20 Thread Feifei Wang
The hinic3 PMD (**librte_net_hinic3**) provides poll mode driver support for 25Gbps/100Gbps/200Gbps Huawei SPx series Network Adapters. v8: -resolve CI compile error -modify mbox section v7: -remove unused-functions v6: -modify based on community comments -remove mml files v5: -fix build err v

Re: [PATCH 1/3] net/hns3: fix inconsistent lock

2025-09-20 Thread huangdengdui
On 2025/9/9 4:20, Thomas Monjalon wrote: > 08/09/2025 21:58, Stephen Hemminger: >> On Mon, 08 Sep 2025 13:53:38 +0200 >> Thomas Monjalon wrote: >> >>> 13/08/2025 23:06, Stephen Hemminger: On Wed, 13 Aug 2025 15:33:15 +0800 Dengdui Huang wrote: > The hns3 driver supports co

[PATCH 7/8] net/iavf: fix documentation of support for TSO

2025-09-20 Thread Ciara Loftus
TSO is only supported by the scalar path in the iavf driver. Update the documentation to reflect this partial support. Fixes: 319c421f3890 ("net/avf: enable SSE Rx Tx") Cc: sta...@dpdk.org Signed-off-by: Ciara Loftus --- doc/guides/nics/features/iavf.ini | 2 +- 1 file changed, 1 insertion(+),

RE: [EXTERNAL] Re: [PATCH v10 1/1] ethdev: add support to provide link type

2025-09-20 Thread Sunil Kumar Kori
> Hello, > > The title can be simply "ethdev: add link type". > Ack. > > 08/09/2025 10:51, sk...@marvell.com: > > +* **Added ethdev API in library.* > > Please be more specific, we don't need to group all ethdev changes together. > Each new API feature deserves a separate bullet. > Ack. > >

[PATCH v2 5/7] net/ntnic: migrate adapter mon thread to service

2025-09-20 Thread Serhii Iliushyk
The adapter monitor service is responsible for link state management. Signed-off-by: Serhii Iliushyk --- drivers/net/ntnic/adapter/nt4ga_adapter.c | 25 +- .../net/ntnic/include/common_adapter_defs.h | 15 - drivers/net/ntnic/include/nt4ga_adapter.h | 3 - drivers/net/ntnic/include

Re: [RFC v2 3/9] vfio: assume VFIO is always and only present on Linux

2025-09-20 Thread Burakov, Anatoly
On 9/3/2025 5:17 PM, David Marchand wrote: RTE_EAL_VFIO is directly mapped to is_linux in meson. Replace this intermediate build knob with RTE_EXEC_ENV_LINUX. This is an intermediate state before importing the VFIO uapi header. Note: crypto/bcmfs was functional only for OSes supporting VFIO iow

Re: [PATCH 0/3] lib: fix AVX2 checks and macro exposure

2025-09-20 Thread Thomas Monjalon
18/09/2025 09:28, Thomas Monjalon: > These are fixes for AVX2 in efd and member libraries. > While at it, I've hidden a macro which was wrongly exported in the API > without having a correct prefix. > > Thomas Monjalon (3): > efd: fix AVX2 support > member: remove AVX2 build-time checks > me

[PATCH 1/3] compressdev: support for dictionaries and PDCP checksum

2025-09-20 Thread Sameer Vaze
Adds definitions for PDCP checksums and apis to pass in dictionaries Signed-off-by: Sameer Vaze --- lib/compressdev/rte_comp.h | 31 +++ 1 file changed, 31 insertions(+) diff --git a/lib/compressdev/rte_comp.h b/lib/compressdev/rte_comp.h index 96d9b276dd..169d3d960e

[PATCH 2/3] compress/zlib: support for dictionaries and PDCP checksum

2025-09-20 Thread Sameer Vaze
Support to calculate PDCP checksums. Includes changes to pass in dictionaries. Adds support for sync flush Signed-off-by: Sameer Vaze --- drivers/compress/zlib/zlib_pmd.c | 175 +-- drivers/compress/zlib/zlib_pmd_private.h | 8 ++ 2 files changed, 174 insertions(+),

[PATCH 5/8] net/iavf: document support for free Tx mbuf on demand

2025-09-20 Thread Ciara Loftus
The free tx mbuf on demand feature has been supported since commit 86e44244f95c ("net/iavf: cleanup Tx buffers"). Update the list of supported features to reflect this. Fixes: 86e44244f95c ("net/iavf: cleanup Tx buffers") Cc: sta...@dpdk.org Signed-off-by: Ciara Loftus --- doc/guides/nics/featu

[PATCH v2 3/3] app/compress-perf: support for dictionaries and PDCP checksum

2025-09-20 Thread Sameer Vaze
Adds support to read and apply dictionaries Signed-off-by: Sameer Vaze --- app/test-compress-perf/comp_perf_options.h| 4 + .../comp_perf_options_parse.c | 16 .../comp_perf_test_verify.c | 37 +++- app/test-compress-perf/main.c | 9

[V11 11/18] net/hinic3: add a mailbox communication module

2025-09-20 Thread Feifei Wang
From: Yi Chen This patch adds support for mailbox of hinic3 PMD driver, mailbox is used for communication between PF/VF driver and MPU. This patch provides mailbox-related data structures and functional code. Signed-off-by: Yi Chen Reviewed-by: Xin Wang Reviewed-by: Feifei Wang --- drivers/n

[DPDK/DTS Bug 1788] Review all testsuite imports

2025-09-20 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1788 Bug ID: 1788 Summary: Review all testsuite imports Product: DPDK Version: 25.07 Hardware: All OS: All Status: UNCONFIRMED Severity: minor Priority: Norm

[PATCH v5 1/2] dts: add RSS functions to testpmd

2025-09-20 Thread Paul Szczepanek
From: Alex Chapman This patch adds the required functionality for the RSS key_update, RETA, and hash test suites. This includes: The setting of custom RETA values for routing packets to specific queues. The setting of the RSS mode on all ports, to specify how to hash the packets. The updating of

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

2025-09-20 Thread Ola Liljedahl
> On 2025-09-17, 09:58, "Konstantin Ananyev" > wrote: > > 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 t

Re: [V2] net/qede: reduce the optimization level for gcc > 11

2025-09-20 Thread Stephen Hemminger
On Mon, 8 Sep 2025 09:04:13 +0200 Thierry Herbelot wrote: > +# no packet Rx with gcc > 11 with compiling with default -O3 or -O2 > +if (cc.get_id() == 'gcc' and cc.version().version_compare('>11.0')) > +base_cflags += '-O1' > +endif Did you test with Gcc 14 and 15, it may be the bug is alre

Re: [PATCH v2 1/7] net/ntnic: introduce service API for NTNIC PMD

2025-09-20 Thread Stephen Hemminger
On Mon, 8 Sep 2025 16:17:33 +0200 Serhii Iliushyk wrote: > This commit adds a common service API for the NTNIC PMD, > which includes functions for service management: add or delete a service > and retrieve information about a service. > The API is designed to facilitate the interaction with serv

[PATCH 4/9] gpu/cuda: add new Hopper GPU IDs

2025-09-20 Thread Gregory Etelson
From: Elena Agostini Add a new NVIDIA Hopper GPU IDs. Signed-off-by: Elena Agostini --- drivers/gpu/cuda/cuda.c| 8 drivers/gpu/cuda/devices.h | 2 ++ 2 files changed, 10 insertions(+) diff --git a/drivers/gpu/cuda/cuda.c b/drivers/gpu/cuda/cuda.c index 21c4fe9bef..9eb748dd2e 100

Re: [PATCH v3 1/3] bus/pci: fix build with MinGW 13

2025-09-20 Thread Thomas Monjalon
08/09/2025 23:17, Thomas Monjalon: > After an upgrade to MinGW version 13, some compilation errors appear: > > drivers/bus/pci/windows/pci.c:362:58: > error: 'GUID_DEVCLASS_NETUIO' undeclared > drivers/bus/pci/windows/pci_netuio.c:57:39: > error: 'GUID_DEVINTERFACE_NETUIO' undeclared >

RE: [PATCH v1 09/12] net/ice/base: improve global config lock behavior

2025-09-20 Thread Keller, Jacob E
> -Original Message- > From: Richardson, Bruce > Sent: Monday, September 8, 2025 2:00 AM > To: Keller, Jacob E > Cc: Burakov, Anatoly ; dev@dpdk.org > Subject: Re: [PATCH v1 09/12] net/ice/base: improve global config lock > behavior > > On Fri, Sep 05, 2025 at 04:25:19PM -0700, Jacob

Re: Re: [PATCH v3 1/4] config/riscv: detect V extension

2025-09-20 Thread 孙越池
> Please could you add a cross file in config/riscv/ for rv64gcv > and use it in devtools/test-meson-builds.sh so we can test compiling > with the vector extension? Sure, I plan to submit this next week. > Another question about RISC-V maintenance in general, > what do you think about other pendi

[PATCH v9 09/17] net/nbl: add UIO and VFIO mode for nbl

2025-09-20 Thread Dimon Zhao
NBL device support UIO/VFIO Signed-off-by: Dimon Zhao --- drivers/net/nbl/meson.build | 1 + drivers/net/nbl/nbl_common/nbl_userdev.c | 24 +++ drivers/net/nbl/nbl_common/nbl_userdev.h | 10 .../nbl_hw/nbl_hw_leonis/nbl_hw_leonis_snic.c | 7

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

2025-09-20 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-acquire of the > > > > > opposing tail guarantees the fol