Re: [V14 00/18] add-hinic3-PMD-driver

2025-09-25 Thread Stephen Hemminger
On Fri, 26 Sep 2025 10:47:16 +0800 Feifei Wang wrote: > The hinic3 PMD (**librte_net_hinic3**) provides poll mode driver support > for 25Gbps/100Gbps/200Gbps Huawei SPx series Network Adapters. Updated the version queued in next-net.

Re: [PATCH v3 6/7] buildtools/chkincs: use a staging directory for headers

2025-09-25 Thread Bruce Richardson
On Thu, Sep 25, 2025 at 12:17:27PM +0200, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Thursday, 25 September 2025 11.32 > > > > On Thu, Sep 25, 2025 at 10:42:47AM +0200, David Marchand wrote: > > > Hello Bruce, > > > > > > On Thu, 25 Sept 2025 at 1

[V14 08/18] net/hinic3: add module about hardware operation

2025-09-25 Thread Feifei Wang
From: Yi Chen Add code and data structure for hardware operation, including configuration, query, initialization and release. Signed-off-by: Yi Chen Signed-off-by: Xin Wang Reviewed-by: Feifei Wang --- drivers/net/hinic3/base/hinic3_hw_cfg.c | 190 drivers/net/hinic3/base/hinic3_hw

[V14 15/18] net/hinic3: add Rx/Tx functions

2025-09-25 Thread Feifei Wang
From: Feifei Wang This patch add package sending and receiving function codes. Signed-off-by: Feifei Wang Signed-off-by: Yi Chen Reviewed-by: Xin Wang --- drivers/net/hinic3/hinic3_ethdev.c | 3 + drivers/net/hinic3/hinic3_rx.c | 285 +++ drivers/net/hinic3/hinic3_tx.c | 77

[V14 17/18] net/hinic3: add flow control and FDIR module

2025-09-25 Thread Feifei Wang
From: Yi Chen Added support for rte_flow, including ethertype, IPv4, IPv6, and tunnel VXLAN. In addition, user can add or delete filters. Signed-off-by: Yi Chen Reviewed-by: Xin Wang Reviewed-by: Feifei Wang --- drivers/net/hinic3/hinic3_ethdev.c | 65 ++ drivers/net/hinic3/hinic3_ethdev.h

[V14 02/18] net/hinic3: add basic header files

2025-09-25 Thread Feifei Wang
From: Xin Wang Add HW registers definition header file for SP series NIC. Add some headers that define commands and basic defines for use in the code. Signed-off-by: Xin Wang Reviewed-by: Yi Chen Reviewed-by: Feifei Wang --- MAINTAINERS | 1 + drivers/net/hinic3

[V14 07/18] net/hinic3: add mgmt module function code

2025-09-25 Thread Feifei Wang
From: Yi Chen Mgmt module is a kind of administration module for the chip. It is responsible for handling administration command from host. It mainly uses aeq to implement. This patch adds related data structures, packaged interfaces and function codes. Signed-off-by: Yi Chen Reviewed-by: Xin W

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

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

[V14 10/18] net/hinic3: add context and work queue support

2025-09-25 Thread Feifei Wang
From: Xin Wang Work queue is used for cmdq and tx/rx buff description. Nic business needs to configure cmdq context and txq/rxq context. This patch adds data structures and function codes for work queue and context. Signed-off-by: Xin Wang Reviewed-by: Feifei Wang Reviewed-by: Yi Chen --- dr

[V14 18/18] drivers/net: add hinic3 PMD build and doc files

2025-09-25 Thread Feifei Wang
From: Yi Chen The hinic3.ini file and hinic3.rst file are added to this patch. Signed-off-by: Yi Chen Reviewed-by: Xin Wang Reviewed-by: Feifei Wang --- MAINTAINERS | 1 + doc/guides/nics/features/hinic3.ini | 51 + doc/guides/nics/hinic3.

[V14 16/18] net/hinic3: add RSS promiscuous ops

2025-09-25 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 | 352 + drivers/net/hinic3/hinic3_ethdev.h | 6 + 2 files changed, 358 insertions(+)

[V14 12/18] net/hinic3: add futions for initialization

2025-09-25 Thread Feifei Wang
From: Xin Wang This patch contains data structures and function codes related to device initialization. Signed-off-by: Xin Wang Reviewed-by: Feifei Wang Reviewed-by: Yi Chen --- drivers/net/hinic3/hinic3_ethdev.c | 256 + drivers/net/hinic3/hinic3_ethdev.h | 118 +

[V14 14/18] net/hinic3: add device initialization

2025-09-25 Thread Feifei Wang
From: Xin Wang Add device initializationd function codes. Signed-off-by: Xin Wang Reviewed-by: Feifei Wang Reviewed-by: Yi Chen --- drivers/net/hinic3/hinic3_ethdev.c | 273 + 1 file changed, 273 insertions(+) diff --git a/drivers/net/hinic3/hinic3_ethdev.c b/dr

[V14 09/18] net/hinic3: add a NIC business configuration module

2025-09-25 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:

[V14 06/18] net/hinic3: add eq mechanism

2025-09-25 Thread Feifei Wang
From: Yi Chen Eqs include aeq and ceq. Aeq is a kind of queue for mgmt asynchronous message and mgmt command response message. This patch introduces data structures, initialization, and related interfaces about aeq. Signed-off-by: Yi Chen Reviewed-by: Xin Wang Reviewed-by: Feifei Wang --- dr

[V14 04/18] net/hinic3: add support for cmdq mechanism

2025-09-25 Thread Feifei Wang
From: Xin Wang Microcode is named ucode in SP series NIC. Its main responsibility is data transmission and reception. But it can also handle some administration works. It uses cmdq mechanism. This patch introduces data structures, initialization, interfaces, and commands sending functions of cmdq

[V14 03/18] net/hinic3: add hardware interfaces of BAR operation

2025-09-25 Thread Feifei Wang
From: Yi Chen This patch adds some HW interfaces for bar operatioin interfaces, including: mapped bar address geeting, HW attributes getting, msi-x reg operation, function type getting and so on. Signed-off-by: Yi Chen Reviewed-by: Xin Wang Reviewed-by: Feifei Wang --- drivers/net/hinic3/bas

[V14 05/18] net/hinic3: add NIC event module

2025-09-25 Thread Feifei Wang
From: Xin Wang Currently, there are two types of events: pf/vf connection status and port information printing. This patch contains related data structures and function codes. Signed-off-by: Xin Wang Reviewed-by: Yi Chen Reviewed-by: Feifei Wang --- drivers/net/hinic3/base/hinic3_nic_event.c

[V14 00/18] add-hinic3-PMD-driver

2025-09-25 Thread Feifei Wang
The hinic3 PMD (**librte_net_hinic3**) provides poll mode driver support for 25Gbps/100Gbps/200Gbps Huawei SPx series Network Adapters. v14: --fix rte_flow doc out of sync error v13: -remove unsupported features in hinic3.ini -fix capitalization issues in hinic3.rst -fix rss key config not takin

[V14 01/18] doc: add hinic3 driver

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

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

2025-09-25 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 v4 5/7] drivers: fix some exported headers

2025-09-25 Thread Bruce Richardson
On Thu, Sep 25, 2025 at 02:31:47PM +0200, David Marchand wrote: > Those headers could not be included individually as they were not > including their dependencies, were subject to some build warnings, > or were not compiling on Windows. > > Fixes: 831dba47bd36 ("bus/vmbus: add Hyper-V virtual bus

回复:[PATCH v11 00/17] NBL PMD for Nebulamatrix NICs

2025-09-25 Thread Dimon
Hi Stephen, Thank you for your valuable feedback. I will fix these issues in next v12 patch series. Thank you. -- 发件人:Stephen Hemminger 发送时间:2025年9月26日(周五) 00:52 收件人:Dimon 抄 送:dev 主 题:Re: [PATCH v11 00/17] NBL PMD for Nebulamatrix NIC

[PATCH] examples/l2fwd-cat: check compatibility of dependency lib

2025-09-25 Thread Bruce Richardson
The meson find_library() function can sometimes return incompatible libraries which are unsuitable for linking. For example, after installing the native x86 pqos library on my system, arm64 builds started trying (and failing) to build the l2fwd-cat example app. Fix this incorrect detection in our b

[PATCH] test/crypto: fix for mbuf sanity check failure

2025-09-25 Thread Nithinsen Kaithakadan
This patch resolves the following mbuf sanity check errors. - updating nb_segs and pkt_len in the head mbuf after freeing intermediate nodes in the chain. - fix incorrect usage of rte_pktmbuf_append by ensuring the head mbuf is passed instead of an intermediate node, allowing proper

Re: [PATCH v2] pcapng: allow any protocol link type for the interface block

2025-09-25 Thread Stephen Hemminger
On Wed, 27 Aug 2025 16:32:15 -0600 Schneide wrote: > > +* pcapng: Changed the API for adding interfaces to include a link type > argument. > + The link type was previously hardcoded to the ethernet link type in the > API. > + This argument is added to ``rte_pcapng_add_interface``. > + Thes

Re: [PATCH v2] pcapng: allow any protocol link type for the interface block

2025-09-25 Thread Stephen Hemminger
On Wed, 27 Aug 2025 16:32:15 -0600 Schneide wrote: > From: Dylan Schneider > > Allow the user to specify protocol link type when creating pcapng files. > This change is needed to specify the protocol type in the pcapng file, > DLT_EN10MB specifies ethernet packets only. This will allow dissecto

[V13 07/18] net/hinic3: add mgmt module function code

2025-09-25 Thread Feifei Wang
From: Yi Chen Mgmt module is a kind of administration module for the chip. It is responsible for handling administration command from host. It mainly uses aeq to implement. This patch adds related data structures, packaged interfaces and function codes. Signed-off-by: Yi Chen Reviewed-by: Xin W

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

2025-09-25 Thread Ola Liljedahl
> On 2025-09-24, 13:51, "Konstantin Ananyev" > wrote: > > > > > > > Sure, I am talking about MT scenario. > > > > > > I think I already provided an example: DPDK mempool library (see > > > > > > below). > > > > > > In brief, It works like that: > > > > > > At

Re: [EXTERNAL] [dpdk-dev v1] cryptodev: introduce constant-time memory comparison

2025-09-25 Thread Thomas Monjalon
25/09/2025 12:33, Akhil Goyal: > > +/** > > + * Constant-time memory comparison for cryptographic use. > > + * Returns 0 if the memory regions are equal, nonzero otherwise. > > + * Runs in constant time with respect to the length to prevent timing > > attacks. > > + * > > + * @param a > > + * Po

Re: [PATCH] app/testpmd: enable warnings for possibly invalid config

2025-09-25 Thread Stephen Hemminger
On Fri, 12 Sep 2025 17:02:10 +0100 Bruce Richardson wrote: > When dealing with multi-segment packets, there are separate offload > flags which should be enabled on Rx (scattered flag) and on Tx > (multi-segment flag). Print warnings on testpmd startup if we detect a > situation where we suspect t

Re: [PATCH] app/testpmd: use table ID for jump to matcher action

2025-09-25 Thread Stephen Hemminger
On Tue, 19 Aug 2025 17:45:05 +0300 Alexander Kozyrev wrote: > Current implementation requires specifying the pointer to the table > you want to jump to in the jump to matcher action. It is inconvenient > since there is no table pointer shown anywhere in the table management. > Table creation/dest

[DPDK/doc Bug 1793] Broken link to bifurcated PMD presentation

2025-09-25 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1793 Bug ID: 1793 Summary: Broken link to bifurcated PMD presentation Product: DPDK Version: 25.07 Hardware: All OS: Linux Status: UNCONFIRMED Severity: normal

[V13 14/18] net/hinic3: add device initialization

2025-09-25 Thread Feifei Wang
From: Xin Wang Add device initializationd function codes. Signed-off-by: Xin Wang Reviewed-by: Feifei Wang Reviewed-by: Yi Chen --- drivers/net/hinic3/hinic3_ethdev.c | 273 + 1 file changed, 273 insertions(+) diff --git a/drivers/net/hinic3/hinic3_ethdev.c b/dr

Re: [RFC PATCH 4/6] ethdev: extend VMDq/DCB configuration with queue mapping

2025-09-25 Thread Ivan Malov
Hi Vladimir, On Sat, 30 Aug 2025, Vladimir Medvedkin wrote: Currently DCB Traffic Class queue mapping is only used when calling get DCB info API, while setting up queue mappings is up to each individual driver. Use the tc queue mapping structure to enable setting up custom mapping explicitly.

Re: [PATCH v2 1/2] net/idpf: enable AVX2 for split queue Rx

2025-09-25 Thread Bruce Richardson
On Thu, Sep 25, 2025 at 02:50:19PM +0530, Shaiq Wani wrote: > In case some CPUs don't support AVX512. Enable AVX2 for them to > get better per-core performance. > > In the single queue model, the same descriptor queue is used by SW > to post descriptors to the device and used by device to report c

Re: [PATCH] net/zxdh: remove unnecessary null free check

2025-09-25 Thread Stephen Hemminger
On Wed, 24 Sep 2025 13:22:52 -0700 Stephen Hemminger wrote: > Found with coccinell null free script. > > Signed-off-by: Stephen Hemminger Queued to next-net

Re: [PATCH v11 00/17] NBL PMD for Nebulamatrix NICs

2025-09-25 Thread Stephen Hemminger
On Wed, 24 Sep 2025 23:58:37 -0700 Dimon Zhao wrote: > Features: > - > - MTU update > - promisc mode set > - xstats > - Basic stats > > Support NICs: > - > - S1205CQ-A00CHT > - S1105AS-A00CHT > - S1055AS-A00CHT > - S1052AS-A00CHT > - S1051AS-A00CHT > - S1045XS-A00CHT > - S12

Re: [PATCH v2 2/2] net/idpf: enable AVX2 for split queue Tx

2025-09-25 Thread Bruce Richardson
On Thu, Sep 25, 2025 at 02:50:20PM +0530, Shaiq Wani wrote: > In case some CPUs don't support AVX512. Enable AVX2 for them to > get better per-core performance. > > In the single queue model, the same descriptor queue is used by SW > to post descriptors to the device and used by device to report c

Re: [PATCH v3 6/7] buildtools/chkincs: use a staging directory for headers

2025-09-25 Thread David Marchand
On Thu, 25 Sept 2025 at 11:22, Bruce Richardson wrote: > > On Thu, Sep 25, 2025 at 10:42:47AM +0200, David Marchand wrote: > > Hello Bruce, > > > > On Thu, 25 Sept 2025 at 10:00, Bruce Richardson > > wrote: > > > > > > On Wed, Sep 24, 2025 at 07:25:34PM +0200, David Marchand wrote: > > > > A prob

[PATCH v11 01/17] net/nbl: add doc and minimum nbl build framework

2025-09-25 Thread Dimon Zhao
add minimum PMD code, doc and build infrastructure for nbl driver. Signed-off-by: Dimon Zhao --- .mailmap | 4 + MAINTAINERS | 9 ++ doc/guides/nics/features/nbl.ini | 31 +++ doc/guides/nics/index.rst

Re: [PATCH v4 2/3] dts: add TX offload capabilities to NIC capabilities

2025-09-25 Thread Luca Vizzarro
Hi Andrew, Looks good! Just a small nit left. On Wed, Sep 24, 2025 at 12:47:24PM +, Andrew Bailey wrote: > diff --git a/dts/framework/remote_session/testpmd_shell.py > b/dts/framework/remote_session/testpmd_shell.py > index ecbdd66edd..db7e33222a 100644 > --- a/dts/framework/remote_session/t

Re: [PATCH v4 1/3] dts: allow mbuf_fast_free to be set with testpmd shell

2025-09-25 Thread Luca Vizzarro
Reviewed-by: Luca Vizzarro

Re: [PATCH v3 6/7] buildtools/chkincs: use a staging directory for headers

2025-09-25 Thread David Marchand
Hello Bruce, On Thu, 25 Sept 2025 at 10:00, Bruce Richardson wrote: > > On Wed, Sep 24, 2025 at 07:25:34PM +0200, David Marchand wrote: > > A problem with the current headers check is that it relies on > > meson dependencies objects that come with their include_directories > > directives, and all

Re: [RFC 6/6] intel/iavf: remove use of pthread_cancel

2025-09-25 Thread Bruce Richardson
On Wed, Sep 24, 2025 at 09:51:13AM -0700, Stephen Hemminger wrote: > The iavf driver uses a pipe to communicate with control thread. > By closing the write side of the pipe, the main thread can > tell the control thread to exit without use of pthread_cancel. > > Signed-off-by: Stephen Hemminger >

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

2025-09-25 Thread Stephen Hemminger
On Tue, 23 Sep 2025 21:57:32 + Ola Liljedahl wrote: > IMPORTANT NOTICE: The contents of this email and any attachments are > confidential and may also be privileged. If you are not the intended > recipient, please notify the sender immediately and do not disclose the > contents to any othe

[PATCH] buildtools: prepare symbol check for Windows

2025-09-25 Thread David Marchand
The symbol check was implemented so far with shell scripts, relying on objdump and other unix tools preventing it from being run on Windows. There was also an ask from some maintainers to convert this type of developer checks to python scripts, to make it easier to extend and maintain. The new im

Re: [PATCH v4 6/7] buildtools/chkincs: use a staging directory for headers

2025-09-25 Thread Bruce Richardson
On Thu, Sep 25, 2025 at 02:31:48PM +0200, David Marchand wrote: > A problem with the current headers check is that it relies on > meson dependencies objects that come with their include_directories > directives, and all of those point at the library / driver sources. > > This means that we won't d

Re: [PATCH v4 4/7] gpudev: fix driver header for Windows

2025-09-25 Thread Bruce Richardson
On Thu, Sep 25, 2025 at 02:31:46PM +0200, David Marchand wrote: > Use rte_os.h and its RTE_TAILQ_HEAD definition compatible with BSD > sys/queue.h > > Fixes: 18cb07563165 ("gpudev: add event notification") > > Signed-off-by: David Marchand > --- > lib/gpudev/gpudev.c| 1 + > lib/gpudev/

[PATCH v4 3/7] eventdev: do not include driver header in DMA adapter

2025-09-25 Thread David Marchand
The dma adapter header does not require including rte_dmadev_pmd.h which is a driver header. Fixes: 66a30a29387a ("eventdev/dma: introduce DMA adapter") Signed-off-by: David Marchand Acked-by: Amit Prakash Shukla Acked-by: Bruce Richardson --- lib/eventdev/rte_event_dma_adapter.h | 2 +- 1 fi

[PATCH v4 1/7] baseband/acc: fix exported header

2025-09-25 Thread David Marchand
rte_acc_cfg.h relies on rte_acc_common_cfg.h. Fixes: 32e8b7ea35dd ("baseband/acc100: refactor to segregate common code") Signed-off-by: David Marchand Acked-by: Bruce Richardson --- drivers/baseband/acc/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bas

[PATCH v4 6/7] buildtools/chkincs: use a staging directory for headers

2025-09-25 Thread David Marchand
A problem with the current headers check is that it relies on meson dependencies objects that come with their include_directories directives, and all of those point at the library / driver sources. This means that we won't detect a public header including a private (as in, not exported) header, or

RE: [EXTERNAL] [PATCH v4 2/7] drivers: drop export of driver headers

2025-09-25 Thread Akhil Goyal
> Many classes are exposing driver only headers as public headers. > Move them to the driver_sdk_headers list. > > Signed-off-by: David Marchand > Acked-by: Bruce Richardson > Acked-by: Andrew Rybchenko > --- > Changes since v2: > - rebased, > Acked-by: Akhil Goyal

[PATCH v4 7/7] power: separate public and driver headers

2025-09-25 Thread David Marchand
power_cpufreq.h, power_common.h and power_uncore_ops.h look like driver only headers, but were included from public headers. Move them to the driver_sdk_headers list. There is one complication though for power_cpufreq.h as it was included from a public header rte_power_cpufreq.h. Move the rte_powe

[PATCH v4 5/7] drivers: fix some exported headers

2025-09-25 Thread David Marchand
Those headers could not be included individually as they were not including their dependencies, were subject to some build warnings, or were not compiling on Windows. Fixes: 831dba47bd36 ("bus/vmbus: add Hyper-V virtual bus support") Fixes: 5b2a1a02dcaf ("crypto/cnxk: fix experimental version for

[PATCH v4 4/7] gpudev: fix driver header for Windows

2025-09-25 Thread David Marchand
Use rte_os.h and its RTE_TAILQ_HEAD definition compatible with BSD sys/queue.h Fixes: 18cb07563165 ("gpudev: add event notification") Signed-off-by: David Marchand --- lib/gpudev/gpudev.c| 1 + lib/gpudev/gpudev_driver.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff -

[PATCH v4 2/7] drivers: drop export of driver headers

2025-09-25 Thread David Marchand
Many classes are exposing driver only headers as public headers. Move them to the driver_sdk_headers list. Signed-off-by: David Marchand Acked-by: Bruce Richardson Acked-by: Andrew Rybchenko --- Changes since v2: - rebased, --- lib/bbdev/meson.build| 14 +- lib/ethdev/meson.bu

[PATCH v4 0/7] Add a stricter headers check

2025-09-25 Thread David Marchand
As explained in patch 6, the current headers check can not catch issues when a public header includes an internal header. Patch 1-5 fixes have not been marked as backport material as those bugs seems minor/easy to fix externally (by either including missing headers, or enabling enable_driver_sdk o

[PATCH] event/cnxk: update queue weight mapping for CN20K

2025-09-25 Thread Shijith Thotton
The CN20K platform accepts weights in the range of 1 to 255, while DPDK allows weights from 0 to 255. This patch aligns DPDK's weight values with the hardware-supported range. Signed-off-by: Shijith Thotton --- drivers/event/cnxk/cn20k_eventdev.c | 70 - drivers/event

[PATCH v11 08/17] net/nbl: add complete device init and uninit functionality

2025-09-25 Thread Dimon Zhao
NBL device is a concept of low level device which used to manage hw resource and to interact with fw Signed-off-by: Dimon Zhao --- drivers/net/nbl/nbl_core.c| 4 +- drivers/net/nbl/nbl_core.h| 7 + drivers/net/nbl/nbl_dev/nbl_dev.c | 296 ++

Re: [PATCH v3 6/7] buildtools/chkincs: use a staging directory for headers

2025-09-25 Thread Bruce Richardson
On Thu, Sep 25, 2025 at 10:42:47AM +0200, David Marchand wrote: > Hello Bruce, > > On Thu, 25 Sept 2025 at 10:00, Bruce Richardson > wrote: > > > > On Wed, Sep 24, 2025 at 07:25:34PM +0200, David Marchand wrote: > > > A problem with the current headers check is that it relies on > > > meson depen

[PATCH v2 2/2] net/idpf: enable AVX2 for split queue Tx

2025-09-25 Thread Shaiq Wani
In case some CPUs don't support AVX512. Enable AVX2 for them to get better per-core performance. In the single queue model, the same descriptor queue is used by SW to post descriptors to the device and used by device to report completed descriptors to SW. While as the split queue model separates t

[PATCH v2 0/2] net/idpf: enable AVX2 for split queue Rx/Tx

2025-09-25 Thread Shaiq Wani
In case some CPUs don't support AVX512. Enable AVX2 for them to get better per-core performance. In the single queue model, the same descriptor queue is used by SW to post descriptors to the device and used by device to report completed descriptors to SW. While as the split queue model separates t

[PATCH v2 1/2] net/idpf: enable AVX2 for split queue Rx

2025-09-25 Thread Shaiq Wani
In case some CPUs don't support AVX512. Enable AVX2 for them to get better per-core performance. In the single queue model, the same descriptor queue is used by SW to post descriptors to the device and used by device to report completed descriptors to SW. While as the split queue model separates t

Re: [PATCH v3] build: remove deprecated kmods option

2025-09-25 Thread Bruce Richardson
On Wed, Sep 24, 2025 at 04:50:40PM +0100, Bruce Richardson wrote: > On Wed, Sep 24, 2025 at 05:45:38PM +0200, David Marchand wrote: > > On Tue, 23 Sept 2025 at 16:40, Bruce Richardson > > wrote: > > > > > > The "enable_kmods" meson option was deprecated back in 2023[1], so can > > > now be removed

Re: [PATCH v3 4/7] gpudev: fix driver header for Windows

2025-09-25 Thread Bruce Richardson
On Wed, Sep 24, 2025 at 07:25:32PM +0200, David Marchand wrote: > Use rte_os.h and its RTE_TAILQ_HEAD definition compatible with BSD > sys/queue.h > > Fixes: 18cb07563165 ("gpudev: add event notification") > > Signed-off-by: David Marchand > --- > lib/gpudev/gpudev.c| 1 + > lib/gpudev/

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

2025-09-25 Thread Konstantin Ananyev
> I have been following this interesting discussion, and want to clarify: > > For a generic ring, enqueue can fail if the ring doesn't have sufficient free > space, and > dequeue can fail if it doesn't have sufficient objects in queue. > > However, when a ring is used as the backing store for

[PATCH v11 17/17] net/nbl: add nbl device set MTU and promisc

2025-09-25 Thread Dimon Zhao
Implement NBL device set MTU and promisc functions Signed-off-by: Dimon Zhao --- drivers/net/nbl/nbl_core.h| 2 + drivers/net/nbl/nbl_dev/nbl_dev.c | 59 ++ drivers/net/nbl/nbl_dev/nbl_dev.h | 7 +- drivers/net/nbl/nbl_dispatch.c

[PATCH v11 13/17] net/nbl: add nbl device start and stop ops

2025-09-25 Thread Dimon Zhao
Implement NBL device start and stop functions Signed-off-by: Dimon Zhao --- drivers/net/nbl/nbl_dev/nbl_dev.c | 172 +- drivers/net/nbl/nbl_dispatch.c| 121 +++- drivers/net/nbl/nbl_hw/nbl_txrx.c | 72 +++- drivers/net/nbl/nbl_

[PATCH v11 16/17] net/nbl: add nbl device xstats and stats

2025-09-25 Thread Dimon Zhao
Implement NBL device xstats and stats functions Signed-off-by: Dimon Zhao --- drivers/net/nbl/nbl_dev/nbl_dev.c | 174 ++ drivers/net/nbl/nbl_dev/nbl_dev.h | 9 + drivers/net/nbl/nbl_dispatch.c| 111 +++ drivers/net/nbl/nbl_ethdev

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

2025-09-25 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 v11 12/17] net/nbl: add nbl device rxtx queue setup and release ops

2025-09-25 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 v11 04/17] net/nbl: add Channel layer definitions and implementation

2025-09-25 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 v11 11/17] net/nbl: add nbl ethdev configuration

2025-09-25 Thread Dimon Zhao
NBL device add ethdev configuration Signed-off-by: Dimon Zhao --- drivers/net/nbl/nbl_dev/nbl_dev.c | 38 +-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/drivers/net/nbl/nbl_dev/nbl_dev.c b/drivers/net/nbl/nbl_dev/nbl_dev.c index 645fbf9901..b94556

[PATCH v11 10/17] net/nbl: add nbl coexistence mode for nbl

2025-09-25 Thread Dimon Zhao
NBL device support coexistence mode Signed-off-by: Dimon Zhao --- drivers/net/nbl/nbl_common/nbl_userdev.c | 747 ++- drivers/net/nbl/nbl_common/nbl_userdev.h | 11 + drivers/net/nbl/nbl_core.c | 3 +- drivers/net/nbl/nbl_core.h |

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

2025-09-25 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 v11 09/17] net/nbl: add UIO and VFIO mode for nbl

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