[PATCH v1] net/ixgbe: add nic and updated recommended matching list

2025-07-16 Thread hailinx
Signed-off-by: hailinx --- doc/guides/nics/ixgbe.rst | 21 + 1 file changed, 21 insertions(+) diff --git a/doc/guides/nics/ixgbe.rst b/doc/guides/nics/ixgbe.rst index a03ec7a7e8..6380e18feb 100644 --- a/doc/guides/nics/ixgbe.rst +++ b/doc/guides/nics/ixgbe.rst @@ -36,6 +36,8

[PATCH v1] net/i40e: updated latest recommended matching list

2025-07-16 Thread hailinx
Signed-off-by: hailinx --- doc/guides/nics/i40e.rst | 4 1 file changed, 4 insertions(+) diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst index 234757cd7a..e7db6f2416 100644 --- a/doc/guides/nics/i40e.rst +++ b/doc/guides/nics/i40e.rst @@ -104,6 +104,8 @@ For X710/XL710/XXV7

[PATCH v1] net/ice: updated latest recommended matching list

2025-07-16 Thread hailinx
Signed-off-by: hailinx --- doc/guides/nics/ice.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/guides/nics/ice.rst b/doc/guides/nics/ice.rst index c6531d5684..90dc3220c7 100644 --- a/doc/guides/nics/ice.rst +++ b/doc/guides/nics/ice.rst @@ -85,6 +85,8 @@ are listed in the Tested Pla

[DPDK/vhost/virtio Bug 1676] [dpdk-25.03] virtio_ipsec_cryptodev_func/test_aesni_mb_aes_cbc_sha1_hmac: Failed to start qemu after launch dpdk-vhost_crypto sample

2025-07-16 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1676 jiang,yu (yux.ji...@intel.com) changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

Re: [EXTERNAL] Re: [PATCH v0 1/1] doc: announce inter-device DMA capability support in dmadev

2025-07-16 Thread fengchengwen
On 2025/7/16 18:59, Vamsi Krishna Attunuru wrote: > >> >> Thanks for the explanation. >> >> Let me tell you what I understand: >> 1\ Two dmadev (must belong to the same DMA controller?) each passthrough >> to diffent domain (VM or container) 2\ The kernel DMA controller driver could >> config acce

Re: [PATCH v7 3/3] doc: revise coding guidelines section

2025-07-16 Thread Patrick Robb
On Wed, Jul 16, 2025 at 4:54 PM Dean Marx wrote: > code. > > > How To Write a Test Suite > - > > -All test suites inherit from ``TestSuite`` defined in > ``dts/framework/test_suite.py``. > -There are four types of methods that comprise a test suite: > +All test suites ar

[PATCH v7 3/3] doc: revise coding guidelines section

2025-07-16 Thread Dean Marx
The Framework Coding Guidelines section includes outdated information about DTS and how to write a test suite. Updated these points to include the new test case decorators and setup/teardown hooks. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb --- doc/guides/tools/dts.rst | 203 +++

[PATCH v7 2/3] doc: rephrase terminology in dts.rst

2025-07-16 Thread Dean Marx
Rephrase some of the DTS tool/term definitions to be more concise. These sections were unnecessarily verbose and can be conveyed in a clearer way. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb --- doc/guides/tools/dts.rst | 37 - 1 file changed, 12 inser

[PATCH v7 1/3] dts: rewrite README

2025-07-16 Thread Dean Marx
Refactor README to contain only a high level description of relevant DTS concepts and a simple getting started guide. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb Reviewed-by: Paul Szczepanek --- dts/README.md | 116 -- 1 file changed, 56 i

Re: [PATCH v9 02/14] net/sxe: add ethdev probe and remove

2025-07-16 Thread Stephen Hemminger
On Wed, 16 Jul 2025 04:29:18 -0400 Jie Liu wrote: > diff --git a/drivers/net/sxe/meson.build b/drivers/net/sxe/meson.build > index dad9ee44a0..34571522f7 100644 > --- a/drivers/net/sxe/meson.build > +++ b/drivers/net/sxe/meson.build > @@ -1,9 +1,22 @@ > # SPDX-License-Identifier: BSD-3-Clause >

Re: [PATCH v9 02/14] net/sxe: add ethdev probe and remove

2025-07-16 Thread Stephen Hemminger
On Wed, 16 Jul 2025 04:29:18 -0400 Jie Liu wrote: > + > +#define false 0 > +#define true 1 > + Bad idea, conflicts with stdbool.h

Re: [PATCH v9 02/14] net/sxe: add ethdev probe and remove

2025-07-16 Thread Stephen Hemminger
On Wed, 16 Jul 2025 04:29:18 -0400 Jie Liu wrote: > --- /dev/null > +++ b/drivers/net/sxe/base/sxe_common.c > @@ -0,0 +1,66 @@ > +/* SPDX-License-Identifier: BSD-3-Clause > + * Copyright (C), 2022, Linkdata Technology Co., Ltd. > + */ > + > +#include > +#include > +#include > +#include > +#in

Re: [PATCH v9 03/14] net/sxe: add tx rx setup and data path

2025-07-16 Thread Stephen Hemminger
On Wed, 16 Jul 2025 04:29:19 -0400 Jie Liu wrote: > +const alignas(RTE_CACHE_LINE_SIZE) u32 sxe_ptype_table[SXE_PACKET_TYPE_MAX] > = { > + Prefer using DPDK macro __rte_cache_align where possible.

Re: [PATCH v9 03/14] net/sxe: add tx rx setup and data path

2025-07-16 Thread Stephen Hemminger
On Wed, 16 Jul 2025 04:29:19 -0400 Jie Liu wrote: > Add setup, initialization, and logic for tx and rx queues. > > Signed-off-by: Jie Liu > --- Buried in checkpatch warnings are some spelling errors here: WARNING:TYPO_SPELLING: 'unsupport' may be misspelled - perhaps 'unsupported'? #5037: FI

Re: [RFC PATCH] doc: clarify VLAN and QinQ stripping behaviour

2025-07-16 Thread Bruce Richardson
On Wed, Jul 16, 2025 at 03:24:55PM -0400, Dean Marx wrote: > I've created a list of test cases which I'm planning on implementing > in future QinQ testing. After talking with Bruce about some Intel test > results earlier, I've got a solid idea of what the expected behaviors > are in five of these,

Re: [RFC PATCH] doc: clarify VLAN and QinQ stripping behaviour

2025-07-16 Thread Dean Marx
I've created a list of test cases which I'm planning on implementing in future QinQ testing. After talking with Bruce about some Intel test results earlier, I've got a solid idea of what the expected behaviors are in five of these, but I'm unsure about the other three. If anyone is able to provide

[PATCH v6 3/3] doc: revise coding guidelines section

2025-07-16 Thread Dean Marx
The Framework Coding Guidelines section includes outdated information about DTS and how to write a test suite. Updated these points to include the new test case decorators and setup/teardown hooks. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb --- doc/guides/tools/dts.rst | 201 +++

[PATCH v6 1/3] dts: rewrite README

2025-07-16 Thread Dean Marx
Refactor README to contain only a high level description of relevant DTS concepts and a simple getting started guide. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb Reviewed-by: Paul Szczepanek --- dts/README.md | 116 -- 1 file changed, 56 i

[PATCH v6 2/3] doc: rephrase terminology in dts.rst

2025-07-16 Thread Dean Marx
Rephrase some of the DTS tool/term definitions to be more concise. These sections were unnecessarily verbose and can be conveyed in a clearer way. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb --- doc/guides/tools/dts.rst | 37 - 1 file changed, 12 inser

Re: [PATCH v5 3/3] doc: revise coding guidelines section

2025-07-16 Thread Patrick Robb
On Wed, Jul 16, 2025 at 9:57 AM Dean Marx wrote: > > + > +* Document ``__init__()`` separately from the class docstring. > +* If an abstract method simply implements a superclass definition without > changes, refer to that superclass in the docstring. > +* Document instance variables in the class

[PATCH] net/ice: fix assumption about tag placement order

2025-07-16 Thread Bruce Richardson
The specific placement of outer/inner VLAN tags in E810 and related NICs is configurable. Therefore, remove the assumption that if the L2Tag2 field is filled in, that the L2Tag1 must also be. Instead, check the existing mbuf VLAN flags, and move tags and set flags as appropriate. This fixes an issu

Re: [PATCH] doc: remove Mellanox acquisition explanation

2025-07-16 Thread Stephen Hemminger
On Wed, 16 Jul 2025 17:56:04 +0200 Thomas Monjalon wrote: > 16/07/2025 12:37, Bruce Richardson: > > On Wed, Jul 16, 2025 at 12:15:16PM +0200, Thomas Monjalon wrote: > > > Time has passed since Mellanox acquisition by NVIDIA. > > > No need to explain this anymore. > > > > > > Signed-off-by: Tho

Re: [PATCH] doc: remove Mellanox acquisition explanation

2025-07-16 Thread Thomas Monjalon
16/07/2025 12:37, Bruce Richardson: > On Wed, Jul 16, 2025 at 12:15:16PM +0200, Thomas Monjalon wrote: > > Time has passed since Mellanox acquisition by NVIDIA. > > No need to explain this anymore. > > > > Signed-off-by: Thomas Monjalon > > --- > > I wonder if we should include in DPDK a "future

RE: [PATCH v4 08/22] hash: fix unaligned access in predictable RSS

2025-07-16 Thread Konstantin Ananyev
> > Caught by UBSan: > > ../lib/hash/rte_thash.c:421:8: runtime error: load of misaligned address > 0x0001816c2da3 for type 'uint32_t' (aka 'unsigned int'), > which requires 4 byte alignment > > Fixes: 28ebff11c2dc ("hash: add predictable RSS") > Cc: sta...@dpdk.org > > Signed-off

[PATCH] mailmap: fix entries with many aliases

2025-07-16 Thread David Marchand
According to gitmailmap manual, a line is composed of a contact information followed by commit information. Which translates to the following formats: Proper Name Proper Name Proper Name Commit Name Some lines had multiple commit infos which were not parsed correctly by tools. Fix this by

RE: [PATCH v4 18/22] net: fix IPv4 macro with highest bit

2025-07-16 Thread Konstantin Ananyev
> Without an explicit type, all parameters of this macro are considered as > a signed integer. > > ../app/test/test_fib.c:270:20: runtime error: left shift of > 128 by 24 places cannot be represented in type 'int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior > ../app/te

[PATCH v5 3/3] doc: revise coding guidelines section

2025-07-16 Thread Dean Marx
The Framework Coding Guidelines section includes outdated information about DTS and how to write a test suite. Updated these points to include the new test case decorators and setup/teardown hooks. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb --- doc/guides/tools/dts.rst | 201 +++

[PATCH v5 2/3] doc: rephrase terminology in dts.rst

2025-07-16 Thread Dean Marx
Rephrase some of the DTS tool/term definitions to be more concise. These sections were unnecessarily verbose and can be conveyed in a clearer way. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb --- doc/guides/tools/dts.rst | 37 - 1 file changed, 12 inser

[PATCH v5 1/3] dts: rewrite README

2025-07-16 Thread Dean Marx
Refactor README to contain only a high level description of relevant DTS concepts and a simple getting started guide. Signed-off-by: Dean Marx Reviewed-by: Patrick Robb Reviewed-by: Paul Szczepanek --- dts/README.md | 116 -- 1 file changed, 56 i

[DPDK/meson Bug 1670] DPDK fails to compile using gcc version 8.5.0

2025-07-16 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1670 Subhi Masri (sub...@nvidia.com) changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[PATCH v4 21/22] test/func_reentrancy: fix EAL init call

2025-07-16 Thread David Marchand
../lib/eal/common/eal_common_options.c:1638:16: runtime error: null pointer passed as argument 2, which is declared to never be null Signed-off-by: David Marchand --- app/test/test_func_reentrancy.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/test/test_fu

[PATCH v4 22/22] ci: extend coverage with UBSan

2025-07-16 Thread David Marchand
Enable more libraries, but exclude the ones with currently failing unit tests. Signed-off-by: David Marchand --- Changes since v3: - re-enabled cfgfile, fib, lpm and rib, --- .ci/linux-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/linux-build.sh b/.ci/linux-bu

[PATCH v4 20/22] cfgfile: fix section count with no name

2025-07-16 Thread David Marchand
Passing a NULL to strncmp is incorrect. + --- + + Test Suite : Test Cfgfile Unit Test Suite + --- + ../lib/cfgfile/rte_cfgfile.c:475:7: runtime error: null pointer passed as argument

[PATCH v4 19/22] rib6: fix some highest bits handling

2025-07-16 Thread David Marchand
Without an explicit type, ip_xor gets promoted to a int. ../lib/rib/rte_rib6.c:348:26: runtime error: left shift of 130 by 24 places cannot be represented in type 'int' Signed-off-by: David Marchand --- lib/rib/rte_rib6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v4 18/22] net: fix IPv4 macro with highest bit

2025-07-16 Thread David Marchand
Without an explicit type, all parameters of this macro are considered as a signed integer. ../app/test/test_fib.c:270:20: runtime error: left shift of 128 by 24 places cannot be represented in type 'int' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../app/test/test_fib.c

[PATCH v4 17/22] test/raw: fix test without skeleton driver

2025-07-16 Thread David Marchand
Skip the test in the absence of the required skeleton driver. Signed-off-by: David Marchand Acked-by: Bruce Richardson --- app/test/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/meson.build b/app/test/meson.build index 79d635b42b..8df8d3edd1 100644 ---

[PATCH v4 16/22] test/power: fix tests without power drivers

2025-07-16 Thread David Marchand
In the absence of drivers, skip tests instead of failing. Signed-off-by: David Marchand Acked-by: Bruce Richardson --- app/test/meson.build | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/test/meson.build b/app/test/meson.build index 7d38f51918..79d635b42b 100

[PATCH v4 15/22] eventdev: fix listing timer adapters with telemetry

2025-07-16 Thread David Marchand
If no timer adapter is created, listing with telemetry can lead to crash and is reported by UBSan as an undefined behavior: ../lib/eventdev/rte_event_timer_adapter.c:1418:13: runtime error: applying zero offset to null pointer ../lib/eventdev/rte_event_timer_adapter.c:1464:13: run

[PATCH v4 14/22] graph: fix unaligned access in stats

2025-07-16 Thread David Marchand
UBSan reports: ../lib/graph/graph_stats.c:208:13: runtime error: member access within misaligned address 0x54742c50 for type 'struct rte_graph_cluster_stats', which requires 64 byte alignment ../lib/graph/graph_stats.c:257:12: runtime error:

[PATCH v4 13/22] graph: fix stats query with no node xstats

2025-07-16 Thread David Marchand
From: Marat Khalili This was flagged by undefined behaviour sanitizer: memset should not be called with NULL first argument. (memset requires first argument to be pointer to a memory object, so passing NULL may result in an undefined behaviour including among other things optimizer potentially re

[PATCH v4 12/22] ipc: fix mp message alignment for malloc

2025-07-16 Thread David Marchand
Content (param[]) of received multiprocess messages are aligned with a 4 bytes constraint. Before patch: struct mp_msg_internal { int type; /* 0 4 */ struct rte_mp_msg { char name[64]; /*

[PATCH v4 11/22] test/telemetry: catch errors in subshell

2025-07-16 Thread David Marchand
This script relies on subshell and pipes to prepare a list of commands to pass to the telemetry script. However, errors are not propagated to the parent process and the test may still pass when an error occurs. There is no POSIX option to cleanly catch all errors, so rely on bash options (as some

[PATCH v4 10/22] build: support Undefined Behavior Sanitizer

2025-07-16 Thread David Marchand
Enable UBSan in GHA. There are still a lot of issues so only run unit tests for a "mini" target. Building with debugoptimized forces -O2 and consumes too much memory with UBSan, prefer plain build (iow -O0) even though this hides a number of build issues. Signed-off-by: David Marchand --- Change

[PATCH v4 09/22] stack: fix unaligned accesses on 128-bit

2025-07-16 Thread David Marchand
Caught by UBSan: ../lib/eal/x86/include/rte_atomic_64.h:206:21: runtime error: member access within misaligned address 0x7ffd9c67f228 for type 'const rte_int128_t', which requires 16 byte alignment 0x7ffd9c67f228: note: pointer points here 00 00 00 00 c0 5d 3e 00 01 00 00

[PATCH v4 08/22] hash: fix unaligned access in predictable RSS

2025-07-16 Thread David Marchand
Caught by UBSan: ../lib/hash/rte_thash.c:421:8: runtime error: load of misaligned address 0x0001816c2da3 for type 'uint32_t' (aka 'unsigned int'), which requires 4 byte alignment Fixes: 28ebff11c2dc ("hash: add predictable RSS") Cc: sta...@dpdk.org Signed-off-by: David Marchand

[PATCH v4 07/22] tailq: fix lookup macro

2025-07-16 Thread David Marchand
Doing arithmetic with the NULL pointer is undefined. Caught by UBSan: ../app/test/test_tailq.c:111:9: runtime error: member access within null pointer of type 'struct rte_tailq_head' Fixes: f6b4f6c9c123 ("tailq: use a single cast macro") Cc: sta...@dpdk.org Signed-off-by: David Marchand

[PATCH v4 06/22] cmdline: fix highest bit port list parsing

2025-07-16 Thread David Marchand
pl->map is a uint32_t. Caught by UBSan: ../lib/cmdline/cmdline_parse_portlist.c:27:17: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../lib/cmdline/cmdline_parse_portlist.c:27:17 in Fixes: a

[PATCH v4 05/22] cmdline: fix port list parsing

2025-07-16 Thread David Marchand
Doing arithmetic with the NULL pointer is undefined. Caught by UBSan: ../lib/cmdline/cmdline_parse_portlist.c:40:19: runtime error: applying non-zero offset 1 to null pointer SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../lib/cmdline/cmdline_parse_portlist.c:40:19 in

[PATCH v4 04/22] eal: fix plugin dir walk

2025-07-16 Thread David Marchand
For '.' and '..' directories (or any short file name), a out of bound issue occurs. Caught by UBSan: EAL: Detected shared linkage of DPDK ../lib/eal/common/eal_common_options.c:420:15: runtime error: index -2 out of bounds for type 'char[256]' #0 0x7f867eedf206 in eal_plugindir_init

[PATCH v4 03/22] test/mempool: fix test without stack driver

2025-07-16 Thread David Marchand
In a minimal build, the mempool/stack driver is disabled. Separate the code specific to this external driver and rename unrelated variables. Signed-off-by: David Marchand Acked-by: Andrew Rybchenko Reviewed-by: Marat Khalili Acked-by: Morten Brørup --- app/test/test_mempool.c | 32 +++

[PATCH v4 02/22] test/telemetry: fix test calling all commands

2025-07-16 Thread David Marchand
This test was doing nothing as it could not find the telemetry client script following the test suite rework. Caught while looking at UNH unit test logs: /root/workspace/Generic-Unit-Test-DPDK/dpdk/app/test/suites/test_telemetry.sh: 18: /root/workspace/Generic-Unit-Test-DPDK/dpdk/app/usertools/dp

[PATCH v4 00/22] Run with UBSan in GHA

2025-07-16 Thread David Marchand
This series fixes a number of issues reported by UBSan and adds a simple job in GHA to avoid introducing undefined behavior in the core components. There is way more work/fixes to do if we want to run with a full set of components, but baby steps first. This series is aimed at v25.11, as it contai

[PATCH v4 01/22] ci: save ccache on failure

2025-07-16 Thread David Marchand
When troubleshooting unit test failures and repeating jobs in GHA, the absence of ccache makes the whole process way slower. Signed-off-by: David Marchand Acked-by: Aaron Conole --- .github/workflows/build.yml | 6 ++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml

RE: [EXTERNAL] Re: [PATCH v0 1/1] doc: announce inter-device DMA capability support in dmadev

2025-07-16 Thread Vamsi Krishna Attunuru
> >Thanks for the explanation. > >Let me tell you what I understand: >1\ Two dmadev (must belong to the same DMA controller?) each passthrough >to diffent domain (VM or container) 2\ The kernel DMA controller driver could >config access groups --- there is a secure mechanism (like Intel IDPTE) >

Re: [PATCH] net/mlx5: fix crash when using meter in transfer flow

2025-07-16 Thread Dariusz Sosnowski
On Wed, Jul 16, 2025 at 03:23:19AM -0400, Khadem Ullah wrote: > Hi Dariusz, > > Yes, you are right — I believe this has been fixed since DPDK v24.11 by the > commit you mentioned: > https://github.com/DPDK/dpdk/commit/c30b356a4d48542fe99c47aa470afc8cd1ced9f5 > > Previously, this appeared to be a

Re: [PATCH] doc: remove Mellanox acquisition explanation

2025-07-16 Thread Bruce Richardson
On Wed, Jul 16, 2025 at 12:15:16PM +0200, Thomas Monjalon wrote: > Time has passed since Mellanox acquisition by NVIDIA. > No need to explain this anymore. > > Signed-off-by: Thomas Monjalon > --- I wonder if we should include in DPDK a "future_cleanups" doc which describes cleanups that can or

[PATCH] net/crc: reduce usage of static arrays in net_crc_sse.c

2025-07-16 Thread Shreesh Adiga
Replace the clearing of lower 32 bits of XMM register with blend of zero register. Replace the clearing of upper 64 bits of XMM register with _mm_move_epi64. Clang is able to optimize away the AND + memory operand with the above sequence, however GCC is still emitting the code for AND with memory o

[PATCH] app/testpmd: report minimum and maximum MTU

2025-07-16 Thread Dariusz Sosnowski
Add reporting of minimum and maximum allowed MTU on a given port to "show port info " command. Signed-off-by: Dariusz Sosnowski Acked-by: Viacheslav Ovsiienko --- This patch allowed simpler testing of mlx5 patch: https://patches.dpdk.org/project/dpdk/patch/20250716102546.1118749-1-dsosnow...@nv

[PATCH] net/mlx5: fix min and max MTU reporting

2025-07-16 Thread Dariusz Sosnowski
mlx5 PMD used hardcoded and incorrect values when reporting maximum MTU and maximum Rx packet length through rte_eth_dev_info_get(). This patch adds support for querying OS for minimum and maximum allowed MTU values. Maximum Rx packet length is then calculated based on these values. On Linux, the

[PATCH] doc: remove Mellanox acquisition explanation

2025-07-16 Thread Thomas Monjalon
Time has passed since Mellanox acquisition by NVIDIA. No need to explain this anymore. Signed-off-by: Thomas Monjalon --- doc/guides/compressdevs/mlx5.rst | 7 --- doc/guides/cryptodevs/mlx5.rst| 7 --- doc/guides/nics/mlx4.rst | 7 --- doc/guides/nics/mlx5.rst

[PATCH] doc: make table headers more visible in guides

2025-07-16 Thread Thomas Monjalon
Set a background color to table header so that it is visually easier to read. Signed-off-by: Thomas Monjalon --- doc/guides/custom.css | 5 + 1 file changed, 5 insertions(+) diff --git a/doc/guides/custom.css b/doc/guides/custom.css index b662abb34e..7db37ffc68 100644 --- a/doc/guides/custo

Re: [RFC PATCH] doc: clarify VLAN and QinQ stripping behaviour

2025-07-16 Thread Bruce Richardson
On Mon, Jul 14, 2025 at 04:09:11PM -0400, Dean Marx wrote: > On Mon, Jul 14, 2025 at 9:30 AM Bruce Richardson > wrote: > > > > The behaviour of VLAN tag stripping Rx offloads is unclear in DPDK, and > > not very well documented. Even the documentation that does exist appears > > contradictory. > >

RE: DPDK release candidate 25.07-rc3

2025-07-16 Thread Varghese, Vipin
[AMD Official Use Only - AMD Internal Distribution Only] Hi Thomas, Please find the AMD EPYC testing results for both rc-1 and rc-2 shared below RC-1: - tuning guide: https://doc.dpdk.org/guides/linux_gsg/amd_platform.html - OS: Ubuntu 24.04.2, 6.8.0 - Grub: default_hugepagesz=1GB isolcpus=7-63

Re: [PATCH] doc: update parameters to use for mlx5 on Windows

2025-07-16 Thread Dariusz Sosnowski
On Tue, Jul 15, 2025 at 06:57:25AM -0700, Andre Muezerie wrote: > On Tue, Jul 15, 2025 at 02:03:45PM +0200, Dariusz Sosnowski wrote: *snip* > > Shouldn't clang linker parameters stay as it was previously i.e., "-L..."? > > Not on Windows. It can be confirmed by looking at > build\meson-logs\mes

[PATCH] net/mlx5: deprecate representor matching devarg

2025-07-16 Thread Dariusz Sosnowski
Mark repr_matching_en device argument exposed by mlx5 PMD as deprecated and schedule its removal in 25.11 release. Functionality exposed by this device argument does not fit current E-Switch representor model exposed by DPDK. A new unified representor model, described in https://fast.dpdk.org/even

Re: [PATCH v9 01/14] net/sxe: add base driver directory and doc

2025-07-16 Thread David Marchand
Hello, On Wed, Jul 16, 2025 at 10:29 AM Jie Liu wrote: > > Adding a minimum maintainable directory structure for the > network driver and request maintenance of the sxe driver. > > Signed-off-by: Jie Liu - Such a big series deserves a cover letter, with annotations/tracking of the changes acros

[PATCH v9 14/14] net/sxe: add Solve compilation problems.

2025-07-16 Thread Jie Liu
Add Fix compiling issues. Signed-off-by: Jie Liu --- drivers/net/sxe/base/sxe_common.c | 2 +- drivers/net/sxe/base/sxe_compat_platform.h | 2 - drivers/net/sxe/base/sxe_compat_version.h | 1 - drivers/net/sxe/base/sxe_hw.c | 21 -- drivers/net/sxe/base/sxe_offload_

[PATCH v9 12/14] net/sxe: add simd function

2025-07-16 Thread Jie Liu
Add simd function. Signed-off-by: Jie Liu --- drivers/net/sxe/base/sxe_queue_common.c | 52 +- drivers/net/sxe/base/sxe_rx_common.c| 125 - drivers/net/sxe/meson.build | 9 + drivers/net/sxe/pf/sxe.h| 3 + drivers/net/sxe/pf/sxe_vec_common.h | 315 +++

[PATCH v9 08/14] net/sxe: add dcb function

2025-07-16 Thread Jie Liu
Add dcb function. Signed-off-by: Jie Liu --- drivers/net/sxe/meson.build | 1 + drivers/net/sxe/pf/rte_pmd_sxe.h| 2 + drivers/net/sxe/pf/sxe.h| 2 + drivers/net/sxe/pf/sxe_dcb.c| 946 drivers/net/sxe/pf/sxe_dcb.h

[PATCH v9 11/14] net/sxe: add custom cmd led ctrl

2025-07-16 Thread Jie Liu
Add custom cmd led ctrl. Signed-off-by: Jie Liu --- drivers/net/sxe/include/sxe/sxe_cli.h | 218 drivers/net/sxe/include/sxe/sxe_ioctl.h | 21 +++ drivers/net/sxe/meson.build | 2 + drivers/net/sxe/pf/sxe_main.c | 3 + drivers/net/sxe/sxe_tes

[PATCH v9 10/14] net/sxe: add xstats function

2025-07-16 Thread Jie Liu
Add xstats function. Signed-off-by: Jie Liu --- drivers/net/sxe/meson.build| 1 + drivers/net/sxe/pf/sxe.h | 2 + drivers/net/sxe/pf/sxe_main.c | 2 + drivers/net/sxe/pf/sxe_stats.c | 577 + drivers/net/sxe/pf/sxe_stats.h | 71 5 files chang

[PATCH v9 09/14] net/sxe: support ptp

2025-07-16 Thread Jie Liu
Add ptp module. Signed-off-by: Jie Liu --- drivers/net/sxe/meson.build | 1 + drivers/net/sxe/pf/sxe.h | 9 ++ drivers/net/sxe/pf/sxe_ptp.c | 209 +++ drivers/net/sxe/pf/sxe_ptp.h | 26 + 4 files changed, 245 insertions(+) create mode 100644 drivers

[PATCH v9 07/14] net/sxe: support rss offload

2025-07-16 Thread Jie Liu
Support rss offload. Signed-off-by: Jie Liu --- drivers/net/sxe/base/sxe_offload_common.c | 11 +- drivers/net/sxe/pf/sxe.h | 2 +- drivers/net/sxe/pf/sxe_offload.c | 300 +- drivers/net/sxe/pf/sxe_offload.h | 33 +++ 4 files changed, 33

[PATCH v9 06/14] net/sxe: add filter function

2025-07-16 Thread Jie Liu
Add filter function. Signed-off-by: Jie Liu --- drivers/net/sxe/pf/sxe.h| 4 + drivers/net/sxe/pf/sxe_filter.c | 191 drivers/net/sxe/pf/sxe_filter.h | 29 + drivers/net/sxe/pf/sxe_main.c | 1 + 4 files changed, 225 insertions(+) diff --git a/

[PATCH v9 05/14] net/sxe: support vlan filter

2025-07-16 Thread Jie Liu
Support vlan filter. Signed-off-by: Jie Liu --- drivers/net/sxe/base/sxe_offload_common.c | 4 + drivers/net/sxe/pf/sxe.h | 5 +- drivers/net/sxe/pf/sxe_filter.c | 277 ++ drivers/net/sxe/pf/sxe_filter.h | 13 + drivers/net/sxe/pf/sxe

[PATCH v9 04/14] net/sxe: add link, flow ctrl, mac ops, mtu ops function

2025-07-16 Thread Jie Liu
Add link, flow ctrl, mac ops, mtu ops function. Signed-off-by: Jie Liu --- drivers/net/sxe/meson.build| 3 + drivers/net/sxe/pf/sxe.h | 13 +- drivers/net/sxe/pf/sxe_ethdev.c| 443 +- drivers/net/sxe/pf/sxe_filter.c| 279 + drivers/net/sxe/pf/sxe_

[PATCH v9 01/14] net/sxe: add base driver directory and doc

2025-07-16 Thread Jie Liu
Adding a minimum maintainable directory structure for the network driver and request maintenance of the sxe driver. Signed-off-by: Jie Liu --- MAINTAINERS | 6 +++ doc/guides/nics/features/sxe.ini| 78 + doc/guides/nics/features/sxe_vf.ini

Re: [PATCH v2 07/10] tailq: fix cast macro for null pointer

2025-07-16 Thread David Marchand
On Mon, Jun 30, 2025 at 6:06 PM Marat Khalili wrote: > > > -Original Message- > > From: David Marchand > > Sent: Monday 23 June 2025 14:53 > > To: dev@dpdk.org > > Cc: sta...@dpdk.org; Bruce Richardson ; Tyler > > Retzlaff ; Neil Horman > > > > Subject: [PATCH v2 07/10] tailq: fix cast m

Re: [PATCH] doc/mlx5: document firmware requirement for flex item

2025-07-16 Thread Khadem Ullah
Hi Dariusz, Thanks for the follow-up. I was using DPDK v23.11 with the following flex item configuration: { "next_header": { "field_mode": "FIELD_MODE_FIXED", "field_size": 0, "field_base": 0 }, "next_protocol": { "field_mode": "FIELD_MODE_FIXED", "field_size": 8, "field_base": 72 }, "sa

Re: [PATCH] net/mlx5: fix crash when using meter in transfer flow

2025-07-16 Thread Khadem Ullah
Hi Dariusz, Yes, you are right ??? I believe this has been fixed since DPDK v24.11 by the commit you mentioned: https://github.com/DPDK/dpdk/commit/c30b356a4d48542fe99c47aa470afc8cd1ced9f5 Previously, this appeared to be an edge case where a segfault was triggered when a transfer rule was creat