[PATCH v5 02/14] net/zxdh: support compatibility check

2025-03-19 Thread Bingbin Chen
Add compatibility check between (np)network processor software and firmware. Signed-off-by: Bingbin Chen --- drivers/net/zxdh/zxdh_np.c | 93 ++ drivers/net/zxdh/zxdh_np.h | 12 + 2 files changed, 105 insertions(+) diff --git a/drivers/net/zxdh/zxdh_np.c

Re: Dpdk-pdump not capturing packet for vmxnet3 device

2025-03-19 Thread Stephen Hemminger
On Wed, 19 Mar 2025 07:21:30 + "Rajesh Goel (rajegoel)" wrote: > Hi DPDK community, > > I need some urgent help. > > 1) Iam running my dpdk application on a VMware based VM. Iam using > 20.11.9 dpdk version > Iam directly connected to the PCI device to receive pkts on my application.

Re: [PATCH v2] eal: fix undetected NUMA nodes

2025-03-19 Thread Bruce Richardson
On Wed, Mar 19, 2025 at 05:31:45PM +0100, David Marchand wrote: > On Wed, Mar 5, 2025 at 5:25 PM Bruce Richardson > wrote: > > > > In cases where the number of cores on a given socket is greater than > > RTE_MAX_LCORES, then EAL will be unaware of all the sockets/numa nodes > > on a system. Fix th

Re: [RFC v4 5/8] build: generate symbol maps

2025-03-19 Thread David Marchand
On Wed, Mar 19, 2025 at 5:19 PM Stephen Hemminger wrote: > > On Mon, 17 Mar 2025 16:43:01 +0100 > David Marchand wrote: > > > Rather than maintain a file in parallel of the code, symbols to be > > exported can be marked with a token RTE_EXPORT_*SYMBOL. > > > > From those marks, the build framewor

Dpdk-pdump not capturing packet for vmxnet3 device

2025-03-19 Thread Rajesh Goel (rajegoel)
Hi DPDK community, I need some urgent help. 1) Iam running my dpdk application on a VMware based VM. Iam using 20.11.9 dpdk version Iam directly connected to the PCI device to receive pkts on my application. : EAL: Detected 16 lcore(s) EAL: Detected 1 NUMA nodes EAL

Re: [PATCH v3 07/11] acl: use common AVX build handling

2025-03-19 Thread David Marchand
On Tue, Mar 18, 2025 at 6:35 PM Bruce Richardson wrote: > > remove custom logic for building AVX2 and AVX-512 files. > > Signed-off-by: Bruce Richardson > --- > lib/acl/meson.build | 54 - > 1 file changed, 4 insertions(+), 50 deletions(-) > > diff --g

Re: [PATCH v3 09/11] net: simplify build-time logic for x86

2025-03-19 Thread David Marchand
On Tue, Mar 18, 2025 at 6:36 PM Bruce Richardson wrote: > > All DPDK-supported versions of clang and gcc have the "-mpclmul" and > "-maes" flags, so we never need to check for those. This allows the SSE > code path to be unconditionally built on x86. > > For the AVX512 code path, simplify it by on

Re: [PATCH v3 07/11] acl: use common AVX build handling

2025-03-19 Thread Bruce Richardson
On Wed, Mar 19, 2025 at 11:16:09AM +0100, David Marchand wrote: > On Tue, Mar 18, 2025 at 6:35 PM Bruce Richardson > wrote: > > > > remove custom logic for building AVX2 and AVX-512 files. > > > > Signed-off-by: Bruce Richardson > > --- > > lib/acl/meson.build | 54 --

Re: [PATCH v3 00/11] remove component-specific logic for AVX builds

2025-03-19 Thread David Marchand
On Tue, Mar 18, 2025 at 6:35 PM Bruce Richardson wrote: > > A number of libs and drivers had special optimized AVX2 and AVX512 code > paths for performance reasons, and these tended to have copy-pasted > logic to build those files. Centralise that logic in the main > drivers/ and lib/ meson.build

Re: [PATCH v3 02/11] net/intel: use common AVX build code

2025-03-19 Thread David Marchand
On Tue, Mar 18, 2025 at 6:35 PM Bruce Richardson wrote: > > Remove driver-specific build instructions for the AVX2 and AVX-512 code, > and rely instead on the generic driver build file. > > Signed-off-by: Bruce Richardson There is a small merge conflict, so a rebase will be needed. Some nits.

[PATCH] config/arm: fix meson for native instruction set Arm CPUs

2025-03-19 Thread Gregory Etelson
Arm meson.build unconditionally relays on the `extra_features` member of SoC configuration. SoC dictionary is populated for Arm CPUs with generic instruction set only. For Arm CPUs with native CPU instruction set the SoC dictionary is empty. meson setup failed for the BlueField-3 because it belon

Re: [PATCH v3 07/11] acl: use common AVX build handling

2025-03-19 Thread David Marchand
On Wed, Mar 19, 2025 at 11:26 AM Bruce Richardson wrote: > > On Wed, Mar 19, 2025 at 11:16:09AM +0100, David Marchand wrote: > > On Tue, Mar 18, 2025 at 6:35 PM Bruce Richardson > > wrote: > > > > > > remove custom logic for building AVX2 and AVX-512 files. > > > > > > Signed-off-by: Bruce Richar

RE: [EXTERNAL] [PATCH] config/arm: fix meson for native instruction set Arm CPUs

2025-03-19 Thread Pavan Nikhilesh Bhagavatula
Hi Gregory, > Arm meson.build unconditionally relays on the `extra_features` > member of SoC configuration. > > SoC dictionary is populated for Arm CPUs with generic instruction set > only. > For Arm CPUs with native CPU instruction set the SoC dictionary is > empty. > > meson setup failed for

Re: [PATCH v3 07/11] acl: use common AVX build handling

2025-03-19 Thread Bruce Richardson
On Wed, Mar 19, 2025 at 11:40:19AM +0100, David Marchand wrote: > On Wed, Mar 19, 2025 at 11:26 AM Bruce Richardson > wrote: > > > > On Wed, Mar 19, 2025 at 11:16:09AM +0100, David Marchand wrote: > > > On Tue, Mar 18, 2025 at 6:35 PM Bruce Richardson > > > wrote: > > > > > > > > remove custom lo

[PATCH v5 11/14] net/zxdh: get hash table entry result

2025-03-19 Thread Bingbin Chen
Implement hash tables get operation by dtb channel. Signed-off-by: Bingbin Chen --- drivers/net/zxdh/zxdh_np.c | 482 - drivers/net/zxdh/zxdh_np.h | 7 + 2 files changed, 488 insertions(+), 1 deletion(-) diff --git a/drivers/net/zxdh/zxdh_np.c b/drivers/net

[PATCH v5 07/14] net/zxdh: get flow tables resources

2025-03-19 Thread Bingbin Chen
Implement the flow tables resources get operation by agent channel. Signed-off-by: Bingbin Chen --- drivers/net/zxdh/zxdh_ethdev.c | 13 + drivers/net/zxdh/zxdh_ethdev.h | 1 + drivers/net/zxdh/zxdh_np.c | 492 + drivers/net/zxdh/zxdh_np.h | 282 +++

Re: [EXTERNAL] [PATCH] config/arm: fix meson for native instruction set Arm CPUs

2025-03-19 Thread Thomas Monjalon
19/03/2025 12:10, Pavan Nikhilesh Bhagavatula: > > Hi Gregory, > > > > > Arm meson.build unconditionally relays on the `extra_features` > > > member of SoC configuration. > > > > > > SoC dictionary is populated for Arm CPUs with generic instruction set > > > only. > > > For Arm CPUs with native CP

[PATCH] net/sfc: fix action order on fail path for the adaptor start

2025-03-19 Thread Ivan Malov
Having incorrect order leads to an assert in efx_nic_fini(). Fixes: bc712f1c86fc ("net/sfc: support attaching to HW table") Cc: sta...@dpdk.org Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton --- drivers/net/sfc/sfc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH 1/2] net/iavf: fix missing check for interrupt errors

2025-03-19 Thread Medvedkin, Vladimir
Acked-by: Vladimir Medvedkin On 10/03/2025 13:11, Bruce Richardson wrote: When registering interrupts, there was no check if the registration of the interrupt succeeded. Add in such a check, and go to fallback path if the check fails. This prevents errors on FreeBSD due to missed admin queue me

Re: [v5,00/14] net/zxdh: add network processor ops

2025-03-19 Thread Bingbin Chen
Hi, maintainer: This submission has made modifications based on the comments. After this round of submission, the basic functions of the zxdh driver will be complete. Subsequent merges will mainly focus on FD function supplements and bug fixes. Thanks.

[PATCH v5 00/14] net/zxdh: add network processor ops

2025-03-19 Thread Bingbin Chen
v5: - the VF read/write table function is fixed. v4: - change some tables to const. - use %u instead of %d. - delete cast of ret_zmalloc() return. - resolve code functionality issues. V3: - resolve code style. - resolve spin lock build issue. - rebase code baseline. - modify par

[PATCH v5 04/14] net/zxdh: modify dtb queue ops

2025-03-19 Thread Bingbin Chen
Modify the implementation of the dtb queue request and release interfaces, and add the implementation of queue initialization. Signed-off-by: Bingbin Chen --- drivers/net/zxdh/zxdh_np.c | 491 + drivers/net/zxdh/zxdh_np.h | 97 2 files changed, 482 i

[PATCH v5 06/14] net/zxdh: add eram tables ops

2025-03-19 Thread Bingbin Chen
Implement the eram tables read and write operations by dtb channel. Signed-off-by: Bingbin Chen --- drivers/net/zxdh/zxdh_np.c | 545 - drivers/net/zxdh/zxdh_np.h | 15 + 2 files changed, 558 insertions(+), 2 deletions(-) diff --git a/drivers/net/zxdh/zxdh_n

[PATCH v5 03/14] net/zxdh: add agent channel

2025-03-19 Thread Bingbin Chen
Add agent channel to access (np)network processor registers that are not mapped by PCIE. Signed-off-by: Bingbin Chen --- drivers/net/zxdh/zxdh_np.c | 315 - drivers/net/zxdh/zxdh_np.h | 53 +++ 2 files changed, 367 insertions(+), 1 deletion(-) diff --git

[PATCH] doc/bluefield: add comparison between BlueField versions

2025-03-19 Thread Raslan Darawsheh
Updated BlueField-3 documentation to include a detailed comparison with BlueField-2 and added notes on compiler requirements. Signed-off-by: Raslan Darawsheh --- doc/guides/platform/bluefield.rst | 21 + 1 file changed, 21 insertions(+) diff --git a/doc/guides/platform/bluef

Re: [PATCH v2] eal: fix undetected NUMA nodes

2025-03-19 Thread David Marchand
On Tue, Mar 18, 2025 at 6:42 PM Bruce Richardson wrote: > > On Wed, Mar 05, 2025 at 04:24:58PM +, Bruce Richardson wrote: > > In cases where the number of cores on a given socket is greater than > > RTE_MAX_LCORES, then EAL will be unaware of all the sockets/numa nodes > > on a system. Fix thi

Re: [RFC v4 5/8] build: generate symbol maps

2025-03-19 Thread Stephen Hemminger
On Mon, 17 Mar 2025 16:43:01 +0100 David Marchand wrote: > Rather than maintain a file in parallel of the code, symbols to be > exported can be marked with a token RTE_EXPORT_*SYMBOL. > > From those marks, the build framework generates map files only for > symbols actually compiled (which means

[PATCH v4 07/11] acl: use common AVX build handling

2025-03-19 Thread Bruce Richardson
remove custom logic for building AVX2 and AVX-512 files. Signed-off-by: Bruce Richardson --- lib/acl/meson.build | 54 - 1 file changed, 4 insertions(+), 50 deletions(-) diff --git a/lib/acl/meson.build b/lib/acl/meson.build index a80c172812..87e9f25f

[PATCH v4 06/11] lib: add generalized AVX build handling

2025-03-19 Thread Bruce Richardson
Add support to the top-level lib build file for AVX2 and AVX512 specific sources. This should simplify library builds by avoiding the need to constantly reimplement the same build logic Signed-off-by: Bruce Richardson --- lib/meson.build | 34 +- 1 file changed, 3

[PATCH v4 10/11] net: use common AVX512 build code

2025-03-19 Thread Bruce Richardson
Use the common support for AVX512 code present in lib/meson.build, rather than hard-coding it. The only complication is an extra check for the "-mvpclmulqdq" command-line flag before adding the AVX512 sources. Signed-off-by: Bruce Richardson --- lib/net/meson.build | 12 lib/net/r

[PATCH v4 00/11] remove component-specific logic for AVX builds

2025-03-19 Thread Bruce Richardson
A number of libs and drivers had special optimized AVX2 and AVX512 code paths for performance reasons, and these tended to have copy-pasted logic to build those files. Centralise that logic in the main drivers/ and lib/ meson.build files to avoid duplication. v4: rebase on latest main branch m

Re: [PATCH v4 00/11] remove component-specific logic for AVX builds

2025-03-19 Thread Bruce Richardson
On Wed, Mar 19, 2025 at 05:29:30PM +, Bruce Richardson wrote: > A number of libs and drivers had special optimized AVX2 and AVX512 code > paths for performance reasons, and these tended to have copy-pasted > logic to build those files. Centralise that logic in the main > drivers/ and lib/ meson

Re: [PATCH v2] eal: fix undetected NUMA nodes

2025-03-19 Thread David Marchand
On Wed, Mar 5, 2025 at 5:25 PM Bruce Richardson wrote: > > In cases where the number of cores on a given socket is greater than > RTE_MAX_LCORES, then EAL will be unaware of all the sockets/numa nodes > on a system. Fix this limitation by having the EAL probe the NUMA node > for cores it isn't goi

Re: [RFC] doc: Document frequency and volume limits on patches.

2025-03-19 Thread Thomas Monjalon
Hello, 05/03/2025 02:33, Aaron Conole: > The DPDK project has two constrained resources - reviewers and > public CI infrastructure. These are shared among the entire > project, and there are true costs associated with using these > resources. Thus, there are two motivations behind this change: >

[DPDK/other Bug 1678] acl: build issue in Neon implementation with GCC 15 in Fedora Rawhide Aarch64

2025-03-19 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1678 Bug ID: 1678 Summary: acl: build issue in Neon implementation with GCC 15 in Fedora Rawhide Aarch64 Product: DPDK Version: unspecified Hardware: All OS: All

Re: [PATCH 2/4] crypto/ionic: remove unnecessary deref of function pointer

2025-03-19 Thread Boyer, Andrew
> On Mar 11, 2025, at 11:51 AM, Stephen Hemminger > wrote: > > Caution: This message originated from an External Source. Use proper caution > when opening attachments, clicking links, or responding. > > > The expression *dev->intf->setup_bars and dev->intf->setup_bars > are equivalent. > >

[PATCH v4 03/11] drivers/net: build use common AVX handling

2025-03-19 Thread Bruce Richardson
Remove from remaining net drivers the special-case code to handle AVX2 or AVX512 specific files. These can be built instead using drivers/meson.build. Signed-off-by: Bruce Richardson --- drivers/net/bnxt/meson.build | 10 +- drivers/net/enic/meson.build | 10 +- drivers