Re: [PATCH] rcu: remove VLAs

2025-05-16 Thread Andre Muezerie
On Fri, May 16, 2025 at 03:30:23PM +0200, David Marchand wrote: > On Fri, May 16, 2025 at 3:09 PM Andre Muezerie > wrote: > > > > On Fri, May 16, 2025 at 11:22:05AM +0200, David Marchand wrote: > > > Andre, > > > > > > On Fri, Mar 7, 2025 at 2:40 AM Andre Muezerie > > > wrote: > > > > > > > > The

[PATCH v5 2/2] lib/fib: enable fib to be compiled with MSVC

2025-05-16 Thread Andre Muezerie
Now that all issues related to fib are addressed it can be enabled for MSVC. Signed-off-by: Andre Muezerie --- lib/fib/meson.build | 6 -- 1 file changed, 6 deletions(-) diff --git a/lib/fib/meson.build b/lib/fib/meson.build index da82e017a9..6992ccc040 100644 --- a/lib/fib/meson.build +++

[PATCH v5 1/2] lib/fib: remove warning about implicit 64-bit conversion

2025-05-16 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 (1) explicitly to uintptr_t since it is used in pointer arithmetic. Signed-off-by: Andre Muezerie --- lib/fib/trie.

[PATCH v5 0/2] enable fib to be compiled with MSVC

2025-05-16 Thread Andre Muezerie
This patchset addresses the issues in lib/fib that were preventing compilation with MSVC. The first patch removes a warning about implicit 64-bit conversion, and the second patch enables the compilation of fib with MSVC. v5: - enabled fib to be compiled with MSVC Andre Muezerie (2): lib/fib: re

[PATCH] doc: elaborate on per test suite configuration dts docs

2025-05-16 Thread Nicholas Pratte
Introduce some additional documentation explaing the per test suite configuration component of DTS as the current dts documentation does not provide a quick access reference guide or explanation. Signed-off-by: Nicholas Pratte --- doc/guides/tools/dts.rst | 22 ++ 1 file chan

[RFC v2 6/6] dts: add performance test functions to test suite api

2025-05-16 Thread Nicholas Pratte
Provide functional performance method to run performance tests using a user-supplied performance traffic generator. The single core performance test is included, with some basic statistics checks verifying TG packet transmission rates. Bugzilla ID: 1697 Signed-off-by: Nicholas Pratte --- dts/con

[RFC v2 5/6] dts: add trex traffic generator to dts framework

2025-05-16 Thread Nicholas Pratte
Implement the TREX traffic generator for use in the DTS framework. The provided implementation leverages TREX's stateless API automation library, via use of a Python shell. As such, limitation to specific TREX versions may be be needed. The DTS context has been modified to include a performance tra

[RFC v2 4/6] dts: add extended timeout option to interactive shells.

2025-05-16 Thread Nicholas Pratte
stdin commands may require an explicit duration of time to facilitate a total execution. Add an extra parameter to interactive shells to handle these circumstances. Bugzilla ID: 1697 Signed-off-by: Nicholas Pratte --- dts/framework/remote_session/interactive_shell.py | 9 - 1 file change

[RFC v2 3/6] dts: add asynchronous support to ssh sessions.

2025-05-16 Thread Nicholas Pratte
Execution of the TREX server process requires an SSH session rework to support asynchronous process management. Allowing access to asynchronous functionality allows developers to execute processes without hijacking the SSH session being used. In doing so, both timeout and runtime errors may be avoi

[RFC v2 2/6] dts: rework traffic generator inheritance structure.

2025-05-16 Thread Nicholas Pratte
Rework TG class hierarchy to include performance traffic generators, in addition to capturing traffic generators. As such, methods garnered to capturing traffic have been moved to the CapturingTrafficGenerator subclass. Bugzilla ID: 1697 Signed-off-by: Nicholas Pratte --- .../capturing_traffic_g

[RFC v2 1/6] dts: rework config module to support perf TGs

2025-05-16 Thread Nicholas Pratte
Rework test run configuration file for TGs to support both application directory location and any necessary configuration files; an example TREX configuration file is provided. Configuration files have been moved to a configurations directory, requiring a slight modification to the settings module.

[RFC v2 0/6] Add TREX Traffic Generator to DTS Framework

2025-05-16 Thread Nicholas Pratte
v2: * Still some formatting issues that need clean up. * Several issues have been addressed - Includes some of Patrick's comments. - Personally identified bug fixes. * Single core perf test has been fleshed out. Nicholas Pratte (6): dts: rework config module to support perf TGs

Re: [RFC Patch v1 4/5] dts: add trex traffic generator to dts framework

2025-05-16 Thread Nicholas Pratte
>> Implement the TREX traffic generator for use in the DTS framework. The >> provided implementation leverages TREX's stateless API automation >> library, via use of a Python shell. As such, version control of TREX may >> be needed. The DTS context has been modified to include a performance >> traf

Re: [RFC Patch v1 2/5] dts: rework traffic generator inheritance structure.

2025-05-16 Thread Nicholas Pratte
Hi Patick, see below! >> + >> +from framework.testbed_model.traffic_generator.traffic_generator import >> TrafficGenerator > > > I think this can become: > > from .traffic_generator import TrafficGenerator Ack. > >> >> + >> + >> +@dataclass(slots=True) >> +class PerformanceTrafficStats(ABC): >>

DPDK Bay Area Summit - Registration + CFP

2025-05-16 Thread Nathan Southern
Dear DPDK Community Members, I hope this message finds each of you well. I’m writing you to announce the CFP launch and open registration for our second summit of 2025 - the Bay Area Summit, to be held in Santa Clara, CA, at Intel’s Mission Blvd campus headquarters on September 17-18, 2025.

[PATCH] doc/linux_gsg: add build instructions for new Arm SoCs

2025-05-16 Thread Doug Foster
Add explanation of recent build configuration changes for Arm SoCs and instructions for adding a build configuration for a new Arm SoC. Signed-off-by: Doug Foster Reviewed-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi --- doc/guides/linux_gsg/build_dpdk.rst | 116 +

[PATCH v2 2/2] lib/lpm: enable lpm to be compiled with MSVC

2025-05-16 Thread Andre Muezerie
Now that all issues related to lpm are addressed it can be enabled for MSVC. Signed-off-by: Andre Muezerie --- lib/lpm/meson.build | 6 -- 1 file changed, 6 deletions(-) diff --git a/lib/lpm/meson.build b/lib/lpm/meson.build index fae4f79fb9..cff8fed473 100644 --- a/lib/lpm/meson.build +++

[PATCH v2 1/2] lib/lpm: use standard atomic_store_explicit

2025-05-16 Thread Andre Muezerie
MSVC issues the warning below: ../lib/lpm/rte_lpm.c(297): warning C4013 '__atomic_store' undefined; assuming extern returning int ../lib/lpm/rte_lpm.c(298): error C2065: '__ATOMIC_RELAXED': undeclared identifier The fix is to use standard atomic_store_explicit() instead of gcc specific __

[PATCH v2 0/2] enable lpm to be compiled with MSVC

2025-05-16 Thread Andre Muezerie
This patchset resolves all issues related to lpm that until now prevented it from being built using MSVC. After resolving the issues it enables lpm to be compiled with MSVC. v2: - Updated meson.build to enable lpm for MSVC Andre Muezerie (2): lib/lpm: use standard atomic_store_explicit lib/l

[PATCH] config/arm: update neoverse n3 SoC and add neoverse V3

2025-05-16 Thread Doug Foster
Arm Neoverse N3 build configuration is updated to include mcpu that aligns with latest GCC. Also, add Arm Neoverse V3 build configuration. Signed-off-by: Doug Foster Reviewed-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi --- config/arm/meson.build | 32 +--- 1

Re: [PATCH v1 0/1] bbdev: fix possible null pointer dereferencing

2025-05-16 Thread Maxime Coquelin
On 5/2/25 12:10 AM, Nicolas Chautru wrote: Hi Maxime, Minor fix for warning reported by coverity. Thanks Nic Nicolas Chautru (1): bbdev: fix possible null pointer dereference lib/bbdev/rte_bbdev.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) Applied to next-baseban

Re: [PATCH] regexdev: enable to be compiled on Windows

2025-05-16 Thread Thomas Monjalon
16/05/2025 14:50, Andre Muezerie: > On Fri, May 16, 2025 at 10:01:42AM +0200, David Marchand wrote: > > On Fri, May 9, 2025 at 11:52 PM Andre Muezerie > > wrote: > > > > > > Now that mbuf is compiling on Windows, this library can be enabled as > > > well. > > > > > > Signed-off-by: Andre Muezerie

RE: [PATCH] doc: add limitation in using segment-sz in crypto-perf

2025-05-16 Thread Anoob Joseph
> Subject: [PATCH] doc: add limitation in using segment-sz in crypto-perf > > When segment-sz is given as parameter, > use buffer-sz in descending order. > The reason is, same scatter gather buffer list is being used for all packet > sizes > which is initialized once in the beginning. > Now if a

Re: [PATCH] vhost: fix wrapping on control virtqueue rings

2025-05-16 Thread Maxime Coquelin
On 4/2/25 8:53 AM, David Marchand wrote: The idx field of a virtqueue available ring is increased by the driver regardless of the ring size. It is for the device to mask this index modulo the ring size (2.7.6 of the virtio 1.3 specification). The same applies to the used ring. Failing to mask

Re: [PATCH 2/2] crypto/virtio: fix cipher data src length

2025-05-16 Thread Maxime Coquelin
On 4/3/25 2:26 PM, Rajesh Mudimadugula wrote: In symmetric algorithm chaining, we need to consider both cipher and auth data length for cipher source. Fixes: 82adb12a1fce ("crypto/virtio: support burst enqueue/dequeue") Signed-off-by: Rajesh Mudimadugula --- drivers/crypto/virtio/virtio_r

Re: [PATCH 1/2] vhost: fix cipher data length

2025-05-16 Thread Maxime Coquelin
On 4/3/25 2:22 PM, Rajesh Mudimadugula wrote: This patch fixes cipher data length, in the event of algorithm chaining. When enqueuing crypto op to vhost backend cipher.data.length is set correctly which is in virtqueue_crypto_sym_pkt_header_arrange(). This field is computed and assigned wrongl

Re: [PATCH] vhost/crypto: fix uninitialized variable

2025-05-16 Thread Maxime Coquelin
On 5/15/25 10:10 AM, Gowrishankar Muthukrishnan wrote: Fix uninitialized variable as reported in coverity scan. Coverity-issue: 457449 Fixes: d1b484bf187 ("vhost/crypto: support asymmetric RSA") Signed-off-by: Gowrishankar Muthukrishnan --- lib/vhost/vhost_crypto.c | 2 +- 1 file changed

Re: [PATCH] net/virtio: support Rx/Tx burst mode info

2025-05-16 Thread Maxime Coquelin
On 5/12/25 1:58 PM, Maxime Coquelin wrote: Hi Roger, On 4/16/25 7:35 PM, Roger Melton wrote: Return burst mode according to the selected Rx/Tx burst function name. Update 25.07 release notes with this information. Signed-off-by: Roger Melton ---   doc/guides/rel_notes/release_25_07.rst | 

Re: [PATCH] vhost/crypto: fix uninitialized variable

2025-05-16 Thread Maxime Coquelin
On 5/15/25 10:10 AM, Gowrishankar Muthukrishnan wrote: Fix uninitialized variable as reported in coverity scan. Coverity-issue: 457449 Fixes: d1b484bf187 ("vhost/crypto: support asymmetric RSA") Signed-off-by: Gowrishankar Muthukrishnan --- lib/vhost/vhost_crypto.c | 2 +- 1 file changed

Re: [PATCH] test_ipfrag: remove array of size zero

2025-05-16 Thread David Marchand
On Fri, Mar 7, 2025 at 3:13 AM Andre Muezerie wrote: > > When compiling with MSVC the error below pops up: > > ../app/test/test_ipfrag.c(39): error C2466: > cannot allocate an array of constant size 0 > ../app/test/test_ipfrag.c(157): warning C4034: sizeof returns 0 > ../app/test/test_ipfrag.c

Re: [PATCH v2] eal/linux: skip vfio for non-privileged container

2025-05-16 Thread Burakov, Anatoly
On 3/27/2025 8:57 AM, Yang Ming wrote: DPDK detect vfio container according the existence of vfio module. But for container with non-privileged mode, there is possibility that no VFIO_DIR(/dev/vfio) mapping from host to container when host have both Intel NIC and Mellanox NIC but this conntainer

Re: [PATCH] rcu: remove VLAs

2025-05-16 Thread David Marchand
On Fri, May 16, 2025 at 3:09 PM Andre Muezerie wrote: > > On Fri, May 16, 2025 at 11:22:05AM +0200, David Marchand wrote: > > Andre, > > > > 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. > > >

[PATCH 1/2] eal: add strsep() for Windows builds

2025-05-16 Thread Andre Muezerie
Function strsep() is used by DPDK code but is not available on Windows. This patch adds an implementation from NetBSD, unblocking code depending on it from being compiled on Windows. Signed-off-by: Andre Muezerie --- lib/eal/windows/include/rte_os_shim.h | 1 + lib/eal/windows/include/strsep.h

[PATCH 2/2] test/strsep: add tests for function strsep()

2025-05-16 Thread Andre Muezerie
This patch adds tests for the strsep() function. Signed-off-by: Andre Muezerie --- app/test/meson.build | 1 + app/test/test_strsep.c | 108 + 2 files changed, 109 insertions(+) create mode 100644 app/test/test_strsep.c diff --git a/app/test/meson.bu

Re: [PATCH] rcu: remove VLAs

2025-05-16 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 v3 1/1] buildtools: avoid break due to failure to cleanup temporary directory

2025-05-16 Thread Andre Muezerie
On Fri, May 16, 2025 at 11:34:10AM +0200, David Marchand wrote: > Hello Andre, > > On Wed, May 7, 2025 at 4:21 PM Andre Muezerie > wrote: > > > > When compiling drivers on Windows, instances have been seen where a > > temporary directory fails to get cleaned up due to > > ERROR_SHARING_VIOLATION

Re: [PATCH] rcu: remove VLAs

2025-05-16 Thread Andre Muezerie
On Fri, May 16, 2025 at 11:22:05AM +0200, David Marchand wrote: > Andre, > > 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 arra

Re: [PATCH] regexdev: enable to be compiled on Windows

2025-05-16 Thread Andre Muezerie
On Fri, May 16, 2025 at 10:01:42AM +0200, David Marchand wrote: > On Fri, May 9, 2025 at 11:52 PM Andre Muezerie > wrote: > > > > Now that mbuf is compiling on Windows, this library can be enabled as > > well. > > > > Signed-off-by: Andre Muezerie > > The test-regex app can probably be compiled

[PATCH] doc: add limitation in using segment-sz in crypto-perf

2025-05-16 Thread Akhil Goyal
When segment-sz is given as parameter, use buffer-sz in descending order. The reason is, same scatter gather buffer list is being used for all packet sizes which is initialized once in the beginning. Now if a small packet case is run first, mbuf SG list will be trimmed to a smaller number of SG and

Re: [PATCH v3] build: automatically report minimum meson version

2025-05-16 Thread zhoumin
Hello David Marchand, On Fri, May 16, 2025 at 3:33 PM, David Marchand wrote: Hello Min Zhou, On Thu, May 15, 2025 at 3:47 PM Bruce Richardson wrote: Add a script to buildtools to report the minimum meson version given in our meson.build file. Then use this script in two ways: 1. in the .ci/

Re: [PATCH v3] build: automatically report minimum meson version

2025-05-16 Thread zhoumin
Recheck-request: loongarch-compilation

Re: [PATCH 0/4] Linux Kernel uAPI headers import

2025-05-16 Thread David Marchand
On Wed, Apr 16, 2025 at 2:34 PM Maxime Coquelin wrote: > > This series documents the license exception granted by both > the technical and governing boards to import uAPI header > files. > > It also imports VDUSE uAPI header file from Kernel v6.14. > > David Marchand (1): > ci: check licenses >

Re: [PATCH v2] eal/linux: skip vfio for non-privileged container

2025-05-16 Thread Moses Young
On 5/16/2025 2:46 PM, David Marchand wrote: On Thu, Mar 27, 2025 at 8:57 AM Yang Ming wrote: DPDK detect vfio container according the existence of vfio module. But for container with non-privileged mode, there is possibility that no VFIO_DIR(/dev/vfio) mapping from host to container when host ha

Re: [PATCH v3 1/1] buildtools: avoid break due to failure to cleanup temporary directory

2025-05-16 Thread David Marchand
Hello Andre, On Wed, May 7, 2025 at 4:21 PM Andre Muezerie wrote: > > When compiling drivers on Windows, instances have been seen where a > temporary directory fails to get cleaned up due to > ERROR_SHARING_VIOLATION (32). > > This issue was not seen on operating systems other than Windows. > > T

[PATCH v3 4/4] app/testpmd: fix obtain inner info of tunnel packet

2025-05-16 Thread Dengdui Huang
l2_len for tunneling packets should contain Outer_L4_len. Additionally, the current offset used for the inner Ethernet header is incorrect. This patch fixes these issues. Fixes: 76730c7b9b5a ("app/testpmd: use packet type parsing API") Cc: sta...@dpdk.org Signed-off-by: Dengdui Huang --- app/te

[PATCH v3 1/4] net: fix GTP packet parsing

2025-05-16 Thread Dengdui Huang
After parsing the GTP packet header, the next protocol type should be converted from RTE_GTP_TYPE_IPV4/IPV6 to RTE_ETHER_TYPE_IPV4/IPV6. Otherwise, the next protocol cannot be parsed. Bugzilla ID: 1672 Fixes: 64ed7f854cf4 ("net: add tunnel packet type parsing") Cc: sta...@dpdk.org Signed-off-by:

[PATCH v3 0/4] bugfix about parse tunnel packet with UDP

2025-05-16 Thread Dengdui Huang
Currently, there are some issues with testpmd and get ptype API in parsing tunnel packets, and this patchset is fix it. Dengdui Huang (4): net: fix GTP packet parsing net: fix parse the tunnel length of tunnel packet with UDP net: fix GENEVE packet parsing app/testpmd: fix obtain inner in

[PATCH v3 2/4] net: fix parse the tunnel length of tunnel packet with UDP

2025-05-16 Thread Dengdui Huang
Currently, the tunnel length info is not available when get the tunnel packet type with UDP port. This patch adds the parsing of the tunnel length info. Fixes: 64ed7f854cf4 ("net: add tunnel packet type parsing") Cc: sta...@dpdk.org Signed-off-by: Dengdui Huang --- lib/net/rte_net.c | 4 1

[PATCH v3 3/4] net: fix GENEVE packet parsing

2025-05-16 Thread Dengdui Huang
When the GENEVE packet is processed, the offset is not changed correctly. As a result, the inner packet is incorrectly parsed. This patch fixes it. Fixes: 64ed7f854cf4 ("net: add tunnel packet type parsing") Cc: sta...@dpdk.org Signed-off-by: Dengdui Huang --- lib/net/rte_net.c | 2 +- 1 file c

Re: [PATCH] rcu: remove VLAs

2025-05-16 Thread David Marchand
Andre, 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] test_ipfrag: remove array of size zero

2025-05-16 Thread David Marchand
On Fri, Mar 7, 2025 at 3:13 AM Andre Muezerie wrote: > > When compiling with MSVC the error below pops up: > > ../app/test/test_ipfrag.c(39): error C2466: > cannot allocate an array of constant size 0 > ../app/test/test_ipfrag.c(157): warning C4034: sizeof returns 0 > ../app/test/test_ipfrag.c

Re: [EXTERNAL] [PATCH] mldev: enable to be compiled with msvc

2025-05-16 Thread David Marchand
On Tue, Apr 15, 2025 at 6:05 AM Srikanth Yalavarthi wrote: > > > Now that the issues preventing this lib from being compiled with MSVC > > are solved, it can be enabled. > > > > Signed-off-by: Andre Muezerie > Acked-by: Srikanth Yalavarthi Applied, thanks.

Re: [PATCH] rcu: remove VLAs

2025-05-16 Thread David Marchand
Hello, On Thu, Apr 10, 2025 at 1:39 PM David Marchand wrote: > > 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 > >

Re: [PATCH] regexdev: enable to be compiled on Windows

2025-05-16 Thread David Marchand
On Fri, May 9, 2025 at 11:52 PM Andre Muezerie wrote: > > Now that mbuf is compiling on Windows, this library can be enabled as > well. > > Signed-off-by: Andre Muezerie The test-regex app can probably be compiled too. Yet.. why do you want to enable this library on Windows? Support for this de

Re: [PATCH v3] build: automatically report minimum meson version

2025-05-16 Thread David Marchand
Hello Min Zhou, On Thu, May 15, 2025 at 3:47 PM Bruce Richardson wrote: > > Add a script to buildtools to report the minimum meson version given in > our meson.build file. Then use this script in two ways: > > 1. in the .ci/linux-setup.sh script, use the auto-determined minimum >version to se

[PATCH v4 4/9] crypto/zsda: add queue pair configuration

2025-05-16 Thread Hanxiao Li
Add crypto queue pair configuration operations for zsda device. Signed-off-by: Hanxiao Li --- drivers/crypto/zsda/zsda_crypto_pmd.c | 80 ++- 1 file changed, 77 insertions(+), 3 deletions(-) diff --git a/drivers/crypto/zsda/zsda_crypto_pmd.c b/drivers/crypto/zsda/zsda_c

[PATCH v4 9/9] app/test: add zsda cryptodev test

2025-05-16 Thread Hanxiao Li
Add crypto test for zsda device and driver. Signed-off-by: Hanxiao Li --- app/test/test_cryptodev.c | 7 +++ app/test/test_cryptodev.h | 1 + doc/guides/cryptodevs/zsda.rst | 6 ++ 3 files changed, 14 insertions(+) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptod

[PATCH v4 6/9] crypto/zsda: add enqueue datapath

2025-05-16 Thread Hanxiao Li
Add crypto enqueue datapath configuration for zsda device. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build | 2 +- drivers/crypto/zsda/zsda_crypto.c | 256 ++ drivers/crypto/zsda/zsda_crypto.h | 45 + drivers/crypto/zsda/zsda_crypto_pmd.

[PATCH v4 2/9] crypto/zsda: add device operations

2025-05-16 Thread Hanxiao Li
Add crypto device operations for zsda devices. Signed-off-by: Hanxiao Li --- drivers/crypto/zsda/zsda_crypto_pmd.c | 82 +-- 1 file changed, 77 insertions(+), 5 deletions(-) diff --git a/drivers/crypto/zsda/zsda_crypto_pmd.c b/drivers/crypto/zsda/zsda_crypto_pmd.c index

[PATCH v4 1/9] crypto/zsda: add skeleton

2025-05-16 Thread Hanxiao Li
Add crypto driver skeleton for zsda devices. Signed-off-by: Hanxiao Li --- MAINTAINERS | 6 ++ doc/guides/cryptodevs/index.rst | 1 + doc/guides/cryptodevs/zsda.rst| 26 ++ drivers/common/zsda/meson.build | 12 ++- drivers/common/zsda/zsda_

[PATCH v4 8/9] crypto/zsda: add capabilities

2025-05-16 Thread Hanxiao Li
Add crypto capabilities scope for zsda device. Signed-off-by: Hanxiao Li --- doc/guides/cryptodevs/features/zsda.ini | 51 doc/guides/cryptodevs/zsda.rst| 26 doc/guides/rel_notes/release_25_07.rst| 8 ++ .../crypto/zsda/zsda_crypto_capabilities.h

[PATCH v4 0/9] crypto/zsda: add zsda cryptodev driver

2025-05-16 Thread Hanxiao Li
v4: - change some "sym" to "crypto". v3: - Modify the code according to the advise v2: - Modify the errors about cryptodevs/zsda.rst. - Modify the errors about author. v1: - Add zsda cryptodev driver. Hanxiao Li (9): crypto/zsda: add skeleton crypto/zsda: add device operations crypto/zsd

[PATCH v4 5/9] crypto/zsda: add session configuration

2025-05-16 Thread Hanxiao Li
Add crypto session configuration for zsda device. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build | 2 +- drivers/crypto/zsda/zsda_crypto_pmd.c | 45 +- drivers/crypto/zsda/zsda_crypto_session.c | 498 ++ drivers/crypto/zsda/zsda_crypto_session.

[PATCH v4 7/9] crypto/zsda: add dequeue datapath

2025-05-16 Thread Hanxiao Li
Add crypto dequeue datapath configuration for zsda device. Signed-off-by: Hanxiao Li --- drivers/crypto/zsda/zsda_crypto.c | 16 drivers/crypto/zsda/zsda_crypto.h | 2 ++ drivers/crypto/zsda/zsda_crypto_pmd.c | 12 ++-- 3 files changed, 28 insertions(+), 2 delet

[PATCH v4 3/9] crypto/zsda: add statistics

2025-05-16 Thread Hanxiao Li
Add crypto statistics operations for zsda devices. Signed-off-by: Hanxiao Li --- drivers/crypto/zsda/zsda_crypto_pmd.c | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/zsda/zsda_crypto_pmd.c b/drivers/crypto/zsda/zsda_crypto_pmd.c inde

[PATCH v5 2/2] net/hns3: fix Rx packet without CRC data

2025-05-16 Thread Dengdui Huang
When KEEP_CRC offload is enabled, the CRC data is still stripped in following cases: 1. For HIP08 network engine, the packet type is TCP and the length is less than or equal to 60B. 2. For HIP09 network engine, the packet type is IP and the length is less than or equal to 60B. So driver has

[PATCH v5 1/2] net/hns3: fix cannot look the CRC data

2025-05-16 Thread Dengdui Huang
When the packet is received into a multisegment mbuf and the last segment contains only CRC data, the driver should not release this segment. Otherwise, the application cannot look the CRC data. This patch fixes it. Fixes: 8973d7c4ca12 ("net/hns3: support keeping CRC") Cc: sta...@dpdk.org Signed-

[PATCH v5 0/2] bugfix about KEEP CRC offload

2025-05-16 Thread Dengdui Huang
This patchset fixes two bugs related to the keep_crc feature in hns3. Additionally, as previously discussed, the pkt_len field in mbuf does not include the length of the CRC data, which is also consistent with the behavior of most drivers. Dengdui Huang (2): net/hns3: fix cannot look the CRC da

[PATCH] net/mlx5: align PF and VF/SF MAC addresses handling

2025-05-16 Thread Gavin Li
In the mlx5_dev_spawn function, the Virtual Function (VF) synchronizes MAC addresses from the kernel using netlink. It queries the netdev-configured MACs and populates the list in the PMD device data, including multicast MAC addresses. These addresses are later used for control flow creation, allow