Re: [**EXTERNAL**] Re: rte_mempool_create fails with --no-huge

2024-12-05 Thread David Marchand
On Thu, Dec 5, 2024 at 10:28 PM Alipour, Mehrdad wrote: > > Hello David/Dmitry, > > After adding -d , I can now see all the pmd shared libs > loading fine and rte_mempool_create works with --no-huge. Adding -d should be unneeded with a properly installed DPDK. You should double check what I ment

[PATCH V1] doc: add tested Intel platforms two NICs

2024-12-05 Thread Lingli Chen
Add tested E825-C and I350 NICs to v24.11 release note. Signed-off-by: Lingli Chen --- doc/guides/rel_notes/release_24_11.rst | 15 +++ 1 file changed, 15 insertions(+) diff --git a/doc/guides/rel_notes/release_24_11.rst b/doc/guides/rel_notes/release_24_11.rst index 8486cd986f..76

[PATCH v1 15/15] net/zxdh: mtu update ops implementations

2024-12-05 Thread Junlong Wang
mtu update ops implementations. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 3 +- doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_ethdev.c | 1 + drivers/net/zxdh/zxdh_ethdev_ops.c | 79 ++ drivers/net/zxdh/zxdh_ethdev_o

[PATCH v1 13/15] net/zxdh: rss hash config/update, reta update/get

2024-12-05 Thread Junlong Wang
provided rss hash config/update, reta update/get ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 5 +- doc/guides/nics/zxdh.rst | 1 + drivers/net/zxdh/zxdh_ethdev.c | 43 drivers/net/zxdh/zxdh_ethdev.h | 1 + drivers/net/zxdh/zxdh_ethdev_o

[PATCH v1 11/15] net/zxdh: promiscuous/allmulticast ops implementations

2024-12-05 Thread Junlong Wang
provided promiscuous/allmulticast ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 4 +- doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_ethdev.c | 15 ++ drivers/net/zxdh/zxdh_ethdev.h | 2 + drivers/net/zxdh/zxdh_ethdev_ops.c | 132 ++

[PATCH v1 08/15] net/zxdh: provided dev simple rx implementations

2024-12-05 Thread Junlong Wang
provided dev simple rx implementations. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 1 + doc/guides/nics/zxdh.rst | 1 + drivers/net/zxdh/zxdh_ethdev.c| 2 + drivers/net/zxdh/zxdh_rxtx.c | 311 ++ drivers/net/zxdh/zxdh_r

[PATCH v1 07/15] net/zxdh: provided dev simple tx implementations

2024-12-05 Thread Junlong Wang
provided dev simple tx implementations. Signed-off-by: Junlong Wang --- drivers/net/zxdh/meson.build | 1 + drivers/net/zxdh/zxdh_ethdev.c | 20 ++ drivers/net/zxdh/zxdh_queue.h | 25 +++ drivers/net/zxdh/zxdh_rxtx.c | 395 + drivers/net/zxdh/zxdh_rxtx.h

[PATCH v1 10/15] net/zxdh: mac set/add/remove ops implementations

2024-12-05 Thread Junlong Wang
provided mac set/add/remove ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_common.c | 24 +++ drivers/net/zxdh/zxdh_common.h | 1 + drivers/net/zxdh/zxdh_ethdev.c | 28 driver

[PATCH v1 02/15] net/zxdh: zxdh np uninit implementation

2024-12-05 Thread Junlong Wang
(np)network processor release resources in host. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 48 drivers/net/zxdh/zxdh_np.c | 490 + drivers/net/zxdh/zxdh_np.h | 107 +++ 3 files changed, 645 insertions(+) diff --git a/drive

[PATCH v1 09/15] net/zxdh: link info update, set link up/down

2024-12-05 Thread Junlong Wang
provided link info update, set link up /down, and link intr. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 4 +- doc/guides/nics/zxdh.rst | 3 + drivers/net/zxdh/meson.build | 1 + drivers/net/zxdh/zxdh_ethdev.c | 13 ++ drivers/net/zxdh/zxdh_eth

[PATCH v1 12/15] net/zxdh: vlan filter, vlan offload ops implementations

2024-12-05 Thread Junlong Wang
provided vlan filter, vlan offload ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 4 +- doc/guides/nics/zxdh.rst | 3 + drivers/net/zxdh/zxdh_ethdev.c | 40 +- drivers/net/zxdh/zxdh_ethdev_ops.c | 221 + drivers/net/zx

[PATCH v1 04/15] net/zxdh: port tables unint implementations

2024-12-05 Thread Junlong Wang
delete port tables in host. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 19 ++ drivers/net/zxdh/zxdh_msg.h| 1 + drivers/net/zxdh/zxdh_np.c | 113 + drivers/net/zxdh/zxdh_np.h | 9 +++ drivers/net/zxdh/zxdh_tables.c | 33

[PATCH v1 06/15] net/zxdh: dev start/stop ops implementations

2024-12-05 Thread Junlong Wang
dev start/stop implementations, start/stop the rx/tx queues. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_ethdev.c| 61 drivers/net/zxdh/zxdh_pci.c | 24 drivers/n

[PATCH v1 00/15] net/zxdh: updated net zxdh driver

2024-12-05 Thread Junlong Wang
V1: - updated net zxdh driver provided insert/delete/get table code funcs. provided link/mac/vlan/promiscuous/rss/mtu ops. Junlong Wang (15): net/zxdh: zxdh np init implementation net/zxdh: zxdh np uninit implementation net/zxdh: port tables init implementations net/zxdh: port ta

[PATCH v1 05/15] net/zxdh: rx/tx queue setup and intr enable

2024-12-05 Thread Junlong Wang
rx/tx queue setup and intr enable implementations. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 4 + drivers/net/zxdh/zxdh_queue.c | 149 + drivers/net/zxdh/zxdh_queue.h | 33 3 files changed, 186 insertions(+) diff --git a/drive

[PATCH] net/ice/base: support switch recipe reuse

2024-12-05 Thread Zhichao Zeng
If FW supports the corresponding functionality, the driver allows PFs to subscribe the same switch recipes. Then when the PF is done with a switch recipes, the PF can ask the FW to free that switch recipe. When the FW detects that all subscribing PFs have freed the switch recipe, the FW will free

[PATCH] net/mlx5: do not poll CQEs when no available elts

2024-12-05 Thread Gavin Hu
In certain situations, the receive queue (rxq) fails to replenish its internal ring with memory buffers (mbufs) from the pool. This can happen when the pool has a limited number of mbufs allocated, and the user application holds incoming packets for an extended period, resulting in a delayed releas

[DPDK/ethdev Bug 1592] AF_PACKET PMD loops back packets on veth with tc

2024-12-05 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1592 Bug ID: 1592 Summary: AF_PACKET PMD loops back packets on veth with tc Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: norm

RE: [**EXTERNAL**] Re: rte_mempool_create fails with --no-huge

2024-12-05 Thread Alipour, Mehrdad
Hello David/Dmitry, After adding -d , I can now see all the pmd shared libs loading fine and rte_mempool_create works with --no-huge. Thanks a lot for your support! Regards, Mehrdad -Original Message- From: David Marchand Sent: December 5, 2024 3:30 AM To: Alipour, Mehrdad Cc: Dmitr

Re: [RFC v3 2/2] ethdev: introduce the cache stashing hints API

2024-12-05 Thread Stephen Hemminger
Your right my test was crude. Just do build and look at symbol table of static linked binary. I was confused since pointer is exposed but not data structure On Thu, Dec 5, 2024, 07:40 David Marchand wrote: > On Tue, Dec 3, 2024 at 10:13 PM Stephen Hemminger > wrote: > > > > On Mon, 21 Oct 2024

Re: [PATCH 2/2] eal: add rte ffs32 and rte ffs64 inline functions

2024-12-05 Thread Andre Muezerie
On Fri, Jun 14, 2024 at 04:49:49PM +0200, David Marchand wrote: > On Wed, Mar 20, 2024 at 10:25 PM Tyler Retzlaff > wrote: > > > > provide toolchain abstraction for __builtin_ffs{,l,ll} gcc built-in > > intrinsics. > > > > Signed-off-by: Tyler Retzlaff > > Please add a unit test and an entry in

[PATCH v2 3/3] app/test: add test for rte_ffs32 and rte_ffs64 functions.

2024-12-05 Thread Andre Muezerie
Add tests for new rte_ffs32 and rte_ffs64 functions. Signed-off-by: Andre Muezerie --- app/test/test_bitops.c | 38 ++ 1 file changed, 38 insertions(+) diff --git a/app/test/test_bitops.c b/app/test/test_bitops.c index 78a7df6bb1..dd374d7883 100644 --- a/app/

[PATCH v2 1/3] eal: provide movdiri for MSVC

2024-12-05 Thread Andre Muezerie
From: Tyler Retzlaff MSVC does not support inline assembly. Instead it provides compiler intrinsics. Provide conditional compile for MSVC for movdiri using the _directstoreu_u32 intrinsic. Signed-off-by: Tyler Retzlaff --- lib/eal/x86/include/rte_io.h | 4 1 file changed, 4 insertions(+)

[PATCH v2 2/3] eal: add rte ffs32 and rte ffs64 inline functions

2024-12-05 Thread Andre Muezerie
From: Tyler Retzlaff Provide toolchain abstraction for __builtin_ffs{,l,ll} gcc built-in intrinsics. Signed-off-by: Tyler Retzlaff --- lib/eal/include/rte_bitops.h | 34 ++ 1 file changed, 34 insertions(+) diff --git a/lib/eal/include/rte_bitops.h b/lib/eal/inc

[PATCH v2 0/3] provide rte_ffs32, rte_ffs64 and __rte_x86_movdiri

2024-12-05 Thread Andre Muezerie
MSVC does not support inline assembly so use movdiri intrinsic and provide abstracted rte_ffs{32,64} inline functions instead of directly using GCC built-ins. v2: * Moved constants to the right side of the comparison * Added tests for rte_ffs32 and rte_ffs64 functions Andre Muezerie (1): app/

Re: lib/eal/arm/include/rte_vect.h fails to compile with clang14 for 32bit ARM

2024-12-05 Thread Roger Melton (rmelton)
clang version 14.0.5 On 12/5/24 2:34 PM, Wathsala Wathawana Vithanage wrote: > What version of CLANG are you using? > >> -Original Message- >> From: Roger Melton (rmelton) >> Sent: Wednesday, December 4, 2024 11:24 AM >> To: Ruifeng Wang ; dev@dpdk.org >> Cc: Wathsala Wathawana Vithanage

RE: lib/eal/arm/include/rte_vect.h fails to compile with clang14 for 32bit ARM

2024-12-05 Thread Wathsala Wathawana Vithanage
What version of CLANG are you using? > -Original Message- > From: Roger Melton (rmelton) > Sent: Wednesday, December 4, 2024 11:24 AM > To: Ruifeng Wang ; dev@dpdk.org > Cc: Wathsala Wathawana Vithanage ; nd > > Subject: Re: lib/eal/arm/include/rte_vect.h fails to compile with clang14 fo

[PATCH 0/3] Defer lcore variables allocation

2024-12-05 Thread David Marchand
As I had reported in rc2, the lcore variables allocation have a noticeable impact on applications consuming DPDK, even when such applications does not use DPDK, or use features associated to some lcore variables. While the amount has been reduced in a rush before rc2, there are still cases when th

[PATCH 1/3] random: defer seeding to EAL init

2024-12-05 Thread David Marchand
The RNG is documented as being seeded as part of EAL init. /** * Seed the pseudo-random generator. * * The generator is automatically seeded by the EAL init with a timer * value. It may need to be re-seeded by the user with a real random * value. * ... Move the initialisation (seeding) help

[PATCH 3/3] eal/x86: defer power intrinsics variable allocation

2024-12-05 Thread David Marchand
The lcore variable in this code unit is only used through rte_power_monitor*() public symbols. Defer the unconditional lcore variable allocation in those symbols. Fixes: 18b5049ab4fe ("eal/x86: keep power intrinsics state in lcore variable") Cc: sta...@dpdk.org Signed-off-by: David Marchand ---

[PATCH 2/3] power: defer lcore variable allocation

2024-12-05 Thread David Marchand
The lcore variable in this code unit is only used through rte_power_ethdev_pmgmt_queue_*() public symbols. Defer the unconditional lcore variable allocation in those symbols. Fixes: 130643319579 ("power: keep per-lcore state in lcore variable") Cc: sta...@dpdk.org Signed-off-by: David Marchand

Re: [RFC v3 2/2] ethdev: introduce the cache stashing hints API

2024-12-05 Thread David Marchand
On Tue, Dec 3, 2024 at 10:13 PM Stephen Hemminger wrote: > > On Mon, 21 Oct 2024 01:52:46 + > Wathsala Vithanage wrote: > > > Extend the ethdev library to enable the stashing of different data > > objects, such as the ones listed below, into CPU caches directly > > from the NIC. > > > > - Rx/

[PATCH v2] lib/fib: remove warning about implicit 64-bit conversion

2024-12-05 Thread Andre Muezerie
MSVC issues the warning below: ../lib/fib/trie.c(341): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) The fix is to cast the result explicitly to ptrdiff_t since it is used in pointer arithmetic. Signed-off-by: Andre Muezerie --- lib/fi

Re: [PATCH] lib/fib: remove warning about implicit 64-bit conversion

2024-12-05 Thread Andre Muezerie
On Wed, Dec 04, 2024 at 02:59:40PM -0800, Stephen Hemminger wrote: > On Tue, 3 Dec 2024 18:56:50 -0800 > Andre Muezerie wrote: > > > MSVC issues the warning below: > > > > ../lib/fib/trie.c(341): warning C4334: '<<': > > result of 32-bit shift implicitly converted to 64 bits > > (was 64-bit shi

[DPDK/DTS Bug 1516] Port over checksum offload suite to new DTS

2024-12-05 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1516 Patrick Robb (pr...@iol.unh.edu) changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--

[RFC] eventdev: add atomic queue to test-eventdev app

2024-12-05 Thread Luka Jankovic
From 753273ab9af49e16d7f7b577d6263e3db51257d7 Mon Sep 17 00:00:00 2001 From: Luka Jankovic Date: Thu, 5 Dec 2024 13:05:35 + Subject: [RFC] eventdev: add atomic queue to test-eventdev app Add an atomic queue test based on the order queue test but use exclusively atomic queues. This makes it c

RE: [EXTERNAL] Re: [RFC] crypto/virtio: add vhost-vdpa backend

2024-12-05 Thread Gowrishankar Muthukrishnan
Hi Jason, > > Right, I'm asking since it claims to support networking device only: > > static struct virtio_device_id id_table[] = { > { VIRTIO_ID_NET, VIRTIO_DEV_ANY_ID }, > { 0 }, > }; > Yes, there is already a fix in it to support crypto id as well. https://lore.kernel.org/vi

Re: [PATCH] MAINTAINERS: update maintainers for next-net

2024-12-05 Thread Ferruh Yigit
On 12/4/2024 4:50 PM, Stephen Hemminger wrote: > I will be taking on primary maintainer for this release. > Andrew has not been doing maintainer work on this branch so remove him. > > Signed-off-by: Stephen Hemminger > --- > MAINTAINERS | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

RE: [PATCH] crypto/openssl: fix CMAC auth context update

2024-12-05 Thread Hemant Agrawal
> This patch removes an unnecessary cleanup of the shared CMAC context at > the end of the CMAC authentication function, which causes subsequent calls > to it to fail. > > Fixes: 17d5bc6135af ("crypto/openssl: make per-QP auth context clones") > Cc: sta...@dpdk.org > > Signed-off-by: Wathsala Vit

[PATCH] lib/gso: gso Adds the processing of IPV6 tcp packets

2024-12-05 Thread Caiqiang Liao
The rte_gso_segment function increases the processing of IPV6 tcp packets Signed-off-by: Caiqiang Liao <18859237...@163.com> --- lib/gso/gso_common.h | 38 +++ lib/gso/gso_tcp6.c| 60 + lib/gso/gso_tcp6.h| 41 l

Re: [**EXTERNAL**] Re: rte_mempool_create fails with --no-huge

2024-12-05 Thread David Marchand
Hello, On Thu, Dec 5, 2024 at 12:05 AM Alipour, Mehrdad wrote: > > Hi Dmitry, > > Your observation is good! > But I have the /usr/lib/dpdk/pmds-24.0 in the LD_LIBRARY_PATH but since the > host does not have a match glibc, I have to run it with ld-linux-x86-64.so.2 > specifying LD_LIBRARY_PATH w

RE: [EXTERNAL] Re: [v22,13/13] compress/zsda: add zsda compressdev capabilities

2024-12-05 Thread Akhil Goyal
Hi Hanxiao, > > 2.Should I submit patches based on the latest version as soon as > > possible, or > wait for your comments before submitting? I can review probably next week. You can wait until then. > > > > 3.I think I need to add something to the release_25_03.rst. But I did > > not

Re: [v22,13/13] compress/zsda: add zsda compressdev capabilities

2024-12-05 Thread David Marchand
Hello Hanxiao, My two cents. On Wed, Dec 4, 2024 at 2:41 AM Hanxiao Li wrote: > > Hi akhil: > > I noticed that DPDK24.11 has been released and state of the my patches has > been changed to "New" from "Defer". > > And I have some questions about how to proceed with submitting patches. > > 1.