Re: [PATCH v1] net/idpf: avoid truncation of constant value

2025-04-10 Thread David Marchand
On Wed, Apr 9, 2025 at 4:27 PM Bruce Richardson wrote: > > On Wed, Apr 09, 2025 at 12:54:40PM +, Praveen Shetty wrote: > > Truncation of constant value compiler warning was reported in clang/msvc > > compiler for the VIRTCHNL2_CAP_OEM bit setting.This is due to 64 bit number > > is initialized

Re: [PATCH v6 00/10] enable "app" to be compiled with MSVC

2025-04-10 Thread David Marchand
Hello Andre, On Mon, Feb 24, 2025 at 5:25 PM Andre Muezerie wrote: > > v6: > - remove "volatile" and use rte_atomic_xxx to access the RTE_ATOMIC > qualified lcore_count, which is cleaner than using "volatile". > > v5: > - add "volatile" to declaration of lcore_count in test_ring_perf.c. > > v4:

[DPDK/ethdev Bug 1696] eth_dev_start can not be called by a secondary process

2025-04-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1696 Bug ID: 1696 Summary: eth_dev_start can not be called by a secondary process Product: DPDK Version: 25.03 Hardware: All OS: All Status: UNCONFIRMED Severity: norm

Re: [PATCH v6 05/10] test-pmd: avoid undefined behavior

2025-04-10 Thread Andre Muezerie
On Thu, Apr 10, 2025 at 06:05:10PM +0200, David Marchand wrote: > On Mon, Feb 24, 2025 at 5:25 PM Andre Muezerie > wrote: > > > > Compiling with MSVC results in warnings like below: > > > > app/test-pmd/cmdline.c(9023): warning C5101: use of preprocessor > > directive in function-like macro ar

Re: [PATCH] app/testpmd: fix dump command list for MSVC

2025-04-10 Thread Andre Muezerie
On Thu, Apr 10, 2025 at 06:02:36PM +0200, David Marchand wrote: > Compiling with MSVC results in warnings like below: > > app/test-pmd/cmdline.c(9023): warning C5101: use of preprocessor > directive in function-like macro argument list is undefined behavior > > Construct token list at runtime

Re: [PATCH v6 2/4] net/intel: use common Tx entry structure

2025-04-10 Thread Bruce Richardson
On Thu, Apr 03, 2025 at 04:54:27PM +0530, Shaiq Wani wrote: > Used the common Tx entry structure and common Tx mbuf ring replenish fn > in place of idpf-specific structure and function. > The vector driver code paths (AVX2, AVX512) use the smaller SW > ring structure. > > Signed-off-by: Shaiq Wani

Re: [RFC PATCH] drivers: add generic build of SVE files

2025-04-10 Thread David Marchand
On Mon, Apr 7, 2025 at 5:29 PM Bruce Richardson wrote: > > For SVE, as for AVX2 and AVX-512, support building files for these ISAs > from the top-level drivers/meson.build file, rather than having each > driver re-implement it. > > This removes the remaining build task for drivers in DPDK which is

Re: [PATCH 1/2] dts: add packet capture test suite

2025-04-10 Thread Stephen Hemminger
On Mon, 31 Mar 2025 16:57:59 +0100 Thomas Wilks wrote: > +def _start_pdump( > +self, > +pdump_params: list[PdumpParameters], > +eal_params: EalParams | None = None, > +) -> BlockingDPDKApp: > +if eal_params is None: > +eal_params = EalParams() >

[PATCH v6 3/3] net/macb: add necessary docs and update related files

2025-04-10 Thread liwencheng
Added missing documentation in doc/guides/nics, mailmap entry, and updated MAINTAINERS file. Signed-off-by: liwencheng --- MAINTAINERS| 6 ++ doc/guides/nics/features/macb.ini | 27 +++ doc/guides/nics/index.rst | 1 + d

DTS 25.07 Roadmap

2025-04-10 Thread Patrick Robb
Hello, The DTS group has met and drawn up a development roadmap for the 25.07 release: 1. Performance tests traffic generator support: 1. TG abstractions rework, testsuite API additions for perf workloads, and TREX class implementation 2. Testsuite additions:

[PATCH] net/igc: fix xstats name

2025-04-10 Thread Kaiwen Deng
The xstats name needs to be changed correctly tx_size_1023_to_max_packets should be tx_size_1024_to_max_packets. Fixes: e6defdfddc3b ("net/igc: enable statistics") Cc: sta...@dpdk.org Signed-off-by: Kaiwen Deng --- drivers/net/intel/e1000/igc_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 d

DPDK 22.11.8 released

2025-04-10 Thread luca . boccassi
Hi all, Here is a new stable release: https://fast.dpdk.org/rel/dpdk-22.11.8.tar.xz The git tree is at: https://dpdk.org/browse/dpdk-stable/?h=22.11 Luca Boccassi --- .github/workflows/build.yml | 2 +- .mailmap| 17 +- VER

Re: [PATCH v4 1/1] mbuf: enable to be compiled with MSVC

2025-04-10 Thread David Marchand
On Tue, Apr 8, 2025 at 11:24 PM Andre Muezerie wrote: > > Now that the issues preventing this lib from being compiled with MSVC > are fixed it can be included in the compilation. > > The "net" library will automatically get compiled as well as it > has a dependency on "mbuf" which will now get ful

[PATCH 3/5] tests: add unit tests and test vectors for SNOW-V

2025-04-10 Thread Radu Nicolau
Add unit tests and test vectors for SNOW-V and SNOW-V AEAD. Signed-off-by: Radu Nicolau --- app/test/test_cryptodev.c | 337 ++ app/test/test_cryptodev_aead_test_vectors.h | 285 +++ app/test/test_cryptodev_snow_v_test_vectors.h | 213 +++

[PATCH v5 0/2] node: add mbuf dynamic field for nodes

2025-04-10 Thread Nitin Saxena
Currently each rte_node registers separate mbuf dynamic fields for their own purpose. This leads to wastage of mbuf space as once mbuf get passed a particular node, the registered dynamic field(by that node) is no longer used. This patch series adds a global/common mbuf dynamic field which is reus

[PATCH v2] doc: remove known issues

2025-04-10 Thread Nandini Persad
I have uploaded all these known issues into Bugzilla, so they are not needed here anymore. Signed-off-by: --- doc/guides/rel_notes/index.rst| 1 - doc/guides/rel_notes/known_issues.rst | 875 -- 2 files changed, 876 deletions(-) delete mode 100644 doc/guides/re

RE: [EXTERNAL] Re: [Patch v3 6/6] bus/vmbus: set event for channel without monitoring support

2025-04-10 Thread Long Li
> Subject: [EXTERNAL] Re: [Patch v3 6/6] bus/vmbus: set event for channel > without > monitoring support > > On Fri, 4 Apr 2025 17:35:38 -0700 > lon...@linuxonhyperv.com wrote: > > > diff --git a/drivers/bus/vmbus/vmbus_channel.c > > b/drivers/bus/vmbus/vmbus_channel.c > > index bccef168d3..81e

[PATCH 0/3] introduce event vector adapter

2025-04-10 Thread pbhagavatula
From: Pavan Nikhilesh The event vector adapter supports offloading the creation of event vectors by vectorizing objects (mbufs/ptrs/u64s). An event vector adapter has the following working model: ??? Vector ? ??? adapter0

[PATCH] event/cnxk: update timer arm routine

2025-04-10 Thread pbhagavatula
From: Pavan Nikhilesh Add additional HW state checks in timer arm routine to ensure HW-SW synchronization. Signed-off-by: Pavan Nikhilesh --- drivers/event/cnxk/cnxk_tim_worker.h | 140 ++- 1 file changed, 73 insertions(+), 67 deletions(-) diff --git a/drivers/event/cn

[PATCH 3/3] app/eventdev: add vector adapter performance test

2025-04-10 Thread pbhagavatula
From: Pavan Nikhilesh Add performance test for event vector adapter. Signed-off-by: Pavan Nikhilesh --- app/test-eventdev/evt_common.h | 9 +- app/test-eventdev/evt_options.c| 14 ++ app/test-eventdev/evt_options.h| 1 + app/test-eventdev/test_perf_atq.c | 61

[PATCH 2/3] eventdev: add default software vector adapter

2025-04-10 Thread pbhagavatula
From: Pavan Nikhilesh When event device PMD doesn't support vector adapter, the library will fallback to software implementation which relies on service core to check for timeouts and vectorizes the objects on enqueue. Signed-off-by: Pavan Nikhilesh --- app/test/meson.build

[PATCH 1/3] eventdev: introduce event vector adapter

2025-04-10 Thread pbhagavatula
From: Pavan Nikhilesh The event vector adapter supports offloading creation of event vectors by vectorizing objects (mbufs/ptrs/u64s). Applications can create a vector adapter associated with an event queue and enqueue objects to be vectorized. When the vector reaches the configured size or when

[PATCH 3/4] dts: default smoke tests to off

2025-04-10 Thread Patrick Robb
Set smoke tests to false in the example config so that users will have to consciously decide whether the smoke tests will be run or not. Signed-off-by: Patrick Robb --- dts/test_run.example.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dts/test_run.example.yaml b/dts/t

[PATCH v2] doc: update kernel version requirement

2025-04-10 Thread Stephen Hemminger
The 4.19 kernel version was end of life in December 2024. Update to 5.4 and also add better description of what "not supported" means in this case. Signed-off-by: Stephen Hemminger Acked-by: Morten Brørup --- v2 - better wording doc/guides/linux_gsg/sys_reqs.rst | 19 ++- 1 fil

[DPDK/ethdev Bug 1694] mlx5: ASAN reports memory leaks with send_to_kernel

2025-04-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1694 Bug ID: 1694 Summary: mlx5: ASAN reports memory leaks with send_to_kernel Product: DPDK Version: 24.11 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: norma

Re: [PATCH 2/2] dts: import lldp package in scapy

2025-04-10 Thread Dean Marx
On Mon, Mar 31, 2025 at 11:58 AM Thomas Wilks wrote: > > Add import for lldp scapy package to enable lldp packet > creation and handling. > > Signed-off-by: Thomas Wilks > Reviewed-by: Luca Vizzarro Reviewed-by: Dean Marx

Re: [PATCH 1/2] dts: add packet capture test suite

2025-04-10 Thread Dean Marx
On Mon, Mar 31, 2025 at 11:58 AM Thomas Wilks wrote: > > Add a test suite that tests the packet capture framework > through the use of dpdk-pdump. > > Signed-off-by: Thomas Wilks > Reviewed-by: Luca Vizzarro > --- > .../dts/tests.TestSuite_packet_capture.rst| 8 + > dts/tests/TestSuite_pa

Re: [PATCH v6 05/10] test-pmd: avoid undefined behavior

2025-04-10 Thread David Marchand
On Mon, Feb 24, 2025 at 5:25 PM Andre Muezerie wrote: > > Compiling with MSVC results in warnings like below: > > app/test-pmd/cmdline.c(9023): warning C5101: use of preprocessor > directive in function-like macro argument list is undefined behavior > > Signed-off-by: Andre Muezerie > Signed-

[PATCH] app/testpmd: fix dump command list for MSVC

2025-04-10 Thread David Marchand
Compiling with MSVC results in warnings like below: app/test-pmd/cmdline.c(9023): warning C5101: use of preprocessor directive in function-like macro argument list is undefined behavior Construct token list at runtime. Signed-off-by: David Marchand --- Note: this is an alternative to https:

Re: [patch v5 0/6] Support VMBUS channels without monitoring enabled

2025-04-10 Thread Stephen Hemminger
On Tue, 8 Apr 2025 14:53:50 -0700 lon...@linuxonhyperv.com wrote: > From: Long Li > > Hyperv may expose VMBUS channels without monitoring enabled. In this case, > it programs almost all the data traffic to VF. > > This patchset enabled vmbus/netvsc to use channels without monitoring > enabled.

Re: [PATCH] cryptodev: add SNOW-V algorithms

2025-04-10 Thread Ji, Kai
Acked-by: Kai Ji From: Nicolau, Radu Sent: 08 April 2025 12:08 To: Akhil Goyal ; Fan Zhang Cc: dev@dpdk.org ; Ji, Kai ; Nicolau, Radu Subject: [PATCH] cryptodev: add SNOW-V algorithms Add SNOW-V and SNOW-V AEAD mode algorithms to cryptodev API. Signed-off-by

Re: 24.11.2 patches review and test

2025-04-10 Thread Ali Alnubani
Hello, On 3/28/25 1:14 PM, Kevin Traynor wrote: Hi all, Here is a list of patches targeted for stable release 24.11.2. The planned date for the final release is 14 April. Please help with testing and validation of your use cases and report any issues/results with reply-all to this mail. For

Re: [PATCH] rcu: remove VLAs

2025-04-10 Thread David Marchand
On Fri, Mar 7, 2025 at 2:40 AM Andre Muezerie wrote: > > There are two lines that were using VLAs, which are not supported by > MSVC. > > 1) > ../lib/rcu/rte_rcu_qsbr.c:326:12: warning: variable length array used [-Wvla] > 326 | char data[dq->esize]; > | ^

Re: [PATCH v5 0/3] fix how large numbers are printed by hash tests

2025-04-10 Thread David Marchand
On Wed, Apr 9, 2025 at 3:21 AM Andre Muezerie wrote: > > v5: > - Rebased and updated to conform to new function versioning mechanism. > > v4: > - Added parameter "unit", which allows rte_size_to_str() to be smarter >about the need to append a space after the number. This keeps the >funct

RE: ConnectX-7 performance anomaly

2025-04-10 Thread Maayan Kashani
Hi, Kamil, Thanks for reaching out. After short sync with our performance team, I can tell we did not observe such anomality and it seems to be some local server issue/configurations. Regards, Maayan Kashani > -Original Message- > From: Kamil Vojanec > Sent: Thursday, 3 April 2025 14:28

Re: [PATCH] acl: fix build with GCC 15 on aarch64

2025-04-10 Thread David Marchand
On Thu, Mar 27, 2025 at 7:06 PM Bruce Richardson wrote: > > On Wed, Mar 26, 2025 at 11:39:28AM +0100, David Marchand wrote: > > Caught in OBS for Fedora Rawhide on aarch64: > > > > [ 198s] In file included from ../lib/acl/acl_run_neon.h:7, > > [ 198s] from ../lib/acl/acl_run_neo

Re: [PATCH v2 2/2] net/mlx5: enhance log file path

2025-04-10 Thread Yang Ming
On 2025/3/21 21:27, Yang Ming wrote: The directory /var/log may not be writable in a container's read-only mode. To address this issue, use the DPDK runtime directory as an alternative when /var/log is not writable. Cc: bi...@nvidia.com Cc: dsosnow...@nvidia.com Cc: step...@networkplumber.org