Re: [PATCH v2] net/intel: deprecate some SSE paths

2025-07-18 Thread Bruce Richardson
On Fri, Jul 18, 2025 at 05:05:45PM +0100, Kevin Traynor wrote: > On 18/07/2025 16:19, Bruce Richardson wrote: > > On Fri, Jul 18, 2025 at 04:03:17PM +0100, Kevin Traynor wrote: > >> On 03/07/2025 15:31, Ciara Loftus wrote: > >>> The SSE rx and tx paths will be remov

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

2025-07-18 Thread Bruce Richardson
: e0dcf94a0d7f ("net/ice: support VLAN ops") Cc: sta...@dpdk.org Signed-off-by: Bruce Richardson --- drivers/net/intel/i40e/i40e_rxtx.c | 10 +++--- drivers/net/intel/iavf/iavf_rxtx.c | 12 +++- drivers/net/intel/ice/ice_rxtx.c | 10 +++--- 3 files changed, 21 insert

Re: [PATCH v2] net/intel: deprecate some SSE paths

2025-07-18 Thread Bruce Richardson
On Fri, Jul 18, 2025 at 04:03:17PM +0100, Kevin Traynor wrote: > On 03/07/2025 15:31, Ciara Loftus wrote: > > The SSE rx and tx paths will be removed from the i40e, iavf and ice > > drivers in the 25.11 release. Each of these drivers have faster vector > > paths (AVX2 and AVX-512) which have featur

Re: [PATCH v3 0/9] rework EAL argument parsing

2025-07-18 Thread Bruce Richardson
On Fri, Jul 18, 2025 at 03:33:46PM +0100, Bruce Richardson wrote: > When processing cmdline arguments in DPDK, we always do so with very > little context. So, for example, when processing the "-l" flag, we have > no idea whether there will be later a --proc-type=secondary flag.

[PATCH v3 9/9] eal: simplify handling of conflicting cmdline options

2025-07-18 Thread Bruce Richardson
Use a utility function and macro to simplify the code for checking for conflicting cmdline options. The checking can also be done at the initial argument collating stage, shortening the argument processing function which is very much on the long side. Signed-off-by: Bruce Richardson --- lib/eal

[PATCH v3 8/9] eal: combine parameter validation checks

2025-07-18 Thread Bruce Richardson
Remove the separate function to check combinations of cmdline parameters. Instead, just do those checks when parsing the parameters since we have all info about what parameters are provided at that point. Signed-off-by: Bruce Richardson --- lib/eal/common/eal_common_memory.c | 3 +- lib/eal

[PATCH v3 7/9] eal: ensure proper cleanup on EAL init failure

2025-07-18 Thread Bruce Richardson
args saved, and no run_once sentinel value, but updating it keeps it consistent with FreeBSD and Linux versions. Signed-off-by: Bruce Richardson --- NOTE: this patch can probably be squashed in with the changes in the previous one, but for easier review I've kept it separate for now. --

[PATCH v3 6/9] eal: gather EAL args before processing

2025-07-18 Thread Bruce Richardson
-by: Bruce Richardson --- lib/eal/common/eal_common_options.c | 877 ++-- lib/eal/common/eal_options.h| 10 +- lib/eal/common/eal_private.h| 11 + lib/eal/freebsd/eal.c | 164 +- lib/eal/linux/eal.c | 379 +--- lib

[PATCH v3 5/9] eal: define the EAL parameters in argparse format

2025-07-18 Thread Bruce Richardson
This table should allow us to parse all the eal args into a single structure for later parsing in a fixed-order field basis. For those elements that take multiple values, define a TAILQ and a callback to process those elements. Signed-off-by: Bruce Richardson --- lib/eal/common

[PATCH v3 4/9] eal: add long options for each short option

2025-07-18 Thread Bruce Richardson
rvice-coremask option from the docs, rather than adding its new long option. Signed-off-by: Bruce Richardson --- doc/guides/linux_gsg/eal_args.include.rst | 20 lib/eal/common/eal_common_options.c | 9 + lib/eal/common/eal_options.h | 16 ++

[PATCH v3 3/9] argparse: allow user-override of help printing

2025-07-18 Thread Bruce Richardson
When the arguments passed to argparse include -h/--help then usage information is automatically printed. Provide the capability for the user to supply their own help function for this. Signed-off-by: Bruce Richardson --- doc/guides/prog_guide/argparse_lib.rst | 16 lib/argparse

[PATCH v3 2/9] argparse: export function to print help text for object

2025-07-18 Thread Bruce Richardson
Make the function to print out the help text for an argparse object a public function, which takes as a new parameter the file stream on which to print. This can be used in future to allow application to extend their own help information. Signed-off-by: Bruce Richardson --- lib/argparse

[PATCH v3 1/9] build: add define for the OS environment name

2025-07-18 Thread Bruce Richardson
for C conditional checks") which introduced the RTE_EXEC_ENV for a different purpose. Now we can fix the docs with the new name reference. Signed-off-by: Bruce Richardson --- config/meson.build | 1 + doc/guides/contributing/design.rst | 2 +- 2 files changed, 2 insert

[PATCH v3 0/9] rework EAL argument parsing

2025-07-18 Thread Bruce Richardson
e argument parsing for EAL is much more centralised into common options. This single list with ifdefs makes it clear to the viewer what options are common across OS's, vs what are unix-only or linux-only. Bruce Richardson (9): build: add define for the OS environment name argparse: export fu

Re: [PATCH] build: remove obsolete compiler checks

2025-07-18 Thread Bruce Richardson
On Fri, Jul 18, 2025 at 02:45:48PM +0200, David Marchand wrote: > On Fri, Jul 18, 2025 at 2:14 PM Bruce Richardson > wrote: > > diff --git a/drivers/net/virtio/meson.build b/drivers/net/virtio/meson.build > > index d3caa3a3b4..a9ff87e863 100644 > > --- a/drivers/net/virt

Re: [PATCH] build: remove obsolete compiler checks

2025-07-18 Thread Bruce Richardson
On Fri, Jul 18, 2025 at 02:21:45PM +0200, David Marchand wrote: > On Fri, Jul 18, 2025 at 2:14 PM Bruce Richardson > wrote: > > > > DPDK now recommends compiler versions GCC 8+, and Clang 7+, so remove > > checks and workarounds for versions old than these. > > >

[PATCH] build: remove obsolete compiler checks

2025-07-18 Thread Bruce Richardson
DPDK now recommends compiler versions GCC 8+, and Clang 7+, so remove checks and workarounds for versions old than these. Signed-off-by: Bruce Richardson --- config/meson.build | 5 drivers/event/meson.build | 5 +--- drivers/meson.build | 2

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

2025-07-18 Thread Bruce Richardson
On Thu, Jul 17, 2025 at 02:16:04PM +0800, hailinx wrote: > Signed-off-by: hailinx > --- > doc/guides/nics/ixgbe.rst | 21 + > 1 file changed, 21 insertions(+) Acked-by: Bruce Richardson > > diff --git a/doc/guides/nics/ixgbe.rst b/doc/guides/nics

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

2025-07-18 Thread Bruce Richardson
On Thu, Jul 17, 2025 at 02:16:03PM +0800, hailinx wrote: > Signed-off-by: hailinx > --- Acked-by: Bruce Richardson The tables in this file really need pruning in next release. They stretch all the way back almost 10 years! > doc/guides/nics/i40e.rst | 4 > 1 file changed,

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

2025-07-18 Thread Bruce Richardson
On Fri, Jul 18, 2025 at 10:00:08AM +0800, hailinx wrote: > Signed-off-by: hailinx > --- > doc/guides/nics/ice.rst | 23 +-- > 1 file changed, 21 insertions(+), 2 deletions(-) > Acked-by: Bruce Richardson For next release update, I think we can prune the

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

2025-07-18 Thread Bruce Richardson
On Thu, Jul 17, 2025 at 05:03:13PM -0400, Dean Marx wrote: > I've created a v1 of a QinQ test suite around the set of test cases > discussed earlier (which is not set in stone, and I expect it to > change significantly across many future versions.) The PASS/FAIL > values can be mostly disregarded i

Re: [PATCH 2/2] doc: use common description of EAL parameters

2025-07-17 Thread Bruce Richardson
On Thu, Jul 17, 2025 at 01:46:04PM +0200, David Marchand wrote: > Rather than have a subset of the EAL parameters described in the sample > apps documentation, prefer referring to the full list. > > Signed-off-by: David Marchand > --- Acked-by: Bruce Richardson

Re: [PATCH 1/2] doc: remove reference to device selection option

2025-07-17 Thread Bruce Richardson
ng started guide for freebsd") > Cc: sta...@dpdk.org > > Signed-off-by: David Marchand Acked-by: Bruce Richardson

Re: [RFC PATCH v2 0/5] rework EAL argument parsing in DPDK

2025-07-17 Thread Bruce Richardson
On Thu, Jul 17, 2025 at 12:41:46PM +0200, David Marchand wrote: > On Tue, Jul 8, 2025 at 7:21 PM Bruce Richardson > wrote: > > > > This RFC is a second, more complete, prototype of one approach we may > > want to take to help improve management of EAL cmdline argum

Re: [PATCH] eal: add description of service corelist in usage

2025-07-17 Thread Bruce Richardson
On Thu, Jul 17, 2025 at 11:42:32AM +0200, David Marchand wrote: > The -S option is not described in EAL usage(). > > Fixes: 7dbd7a6413ef ("service: add -S corelist option") > Cc: sta...@dpdk.org > > Signed-off-by: David Marchand > --- Acked-by: Bruce

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

2025-07-17 Thread Bruce Richardson
On Thu, Jul 17, 2025 at 10:19:24AM +0200, David Marchand wrote: > On Wed, Jul 16, 2025 at 7:39 PM Bruce Richardson > wrote: > > > > The specific placement of outer/inner VLAN tags in E810 and related NICs > > is configurable. Therefore, remove the assumption that if the L2

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,

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

2025-07-16 Thread Bruce Richardson
issue where, with QinQ packets with different Tag ethtypes (0x88a8 vs 0x8100), we get an mbuf reporting two valid tags, but only having had one tag stripped. Fixes: e0dcf94a0d7f ("net/ice: support VLAN ops") Cc: sta...@dpdk.org Signed-off-by: Bruce Richardson --- drivers/net/intel/ice/

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

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 a

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

2025-07-15 Thread Bruce Richardson
On Tue, Jul 15, 2025 at 05:04:42PM +0200, Morten Brørup wrote: > FYI: > Last time I looked, it seemed like the VLAN/QINQ "tag present" mbuf RX flags > were only set along with the RX _STRIPPED flags, i.e. not set when stripping > was not enabled. > Although setting the "tag present" flags (and th

Re: [PATCH v4] doc: announce changes to dma device structures

2025-07-15 Thread Bruce Richardson
n to changing the structures. However, for the actual implementation we'll have to review the changes to ensure they are clear enough to allow potential alternative implementations. For example, I worry about just having one "QoS" flag defined - how would we manage if different QoS schemes are implemented by various hw vendors in different ways? For the notice about structure changes though: Acked-by: Bruce Richardson

Re: [PATCH v2] net/intel: deprecate some SSE paths

2025-07-15 Thread Bruce Richardson
; DPDK 25.11. > + Modern x86 systems all support AVX2, if not AVX-512, so the SSE path is no > longer > + widely used. This change will not result in any feature loss, as the > fallback > + scalar paths which have feature parity with SSE will be used in the cases > where > + the SSE paths would have been used. > + Acked-by: Bruce Richardson

[PATCH] app/testpmd: add flag to enable RSS for single-queue

2025-07-15 Thread Bruce Richardson
For testing purposes it can be desirable to enable RSS even when only a single queue per port is in use. Add an "enable-rss" flag to testpmd to match the existing "disable-rss" flag. Signed-off-by: Bruce Richardson --- app/test-pmd/parameters.c | 13 + app/test-p

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

2025-07-15 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 a

Re: [PATCH] mailmap: sort entries

2025-07-15 Thread Bruce Richardson
On Mon, Jul 14, 2025 at 01:45:14PM -0700, Stephen Hemminger wrote: > The lines in .mailmap are supposed to be sorted, they have > gotten out of order over time. > > Signed-off-by: Stephen Hemminger > --- > .mailmap | 70 > 1 file changed,

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

2025-07-14 Thread Bruce Richardson
On Mon, Jul 14, 2025 at 06:33:43PM +0200, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Monday, 14 July 2025 15.30 > > > > The behaviour of VLAN tag stripping Rx offloads is unclear in DPDK, and > > not very well docu

[PATCH] net/ice: fix VLAN tag reporting on Rx

2025-07-14 Thread Bruce Richardson
: de5da9d16430 ("net/ice: support double VLAN") Cc: sta...@dpdk.org Signed-off-by: Bruce Richardson --- drivers/net/intel/ice/ice_ethdev.c | 75 ++ 1 file changed, 3 insertions(+), 72 deletions(-) diff --git a/drivers/net/intel/ice/ice_ethdev.c b/drivers/net

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

2025-07-14 Thread Bruce Richardson
On Mon, Jul 14, 2025 at 08:06:54AM -0700, Stephen Hemminger wrote: > On Mon, 14 Jul 2025 14:30:14 +0100 > Bruce Richardson wrote: > > > The behaviour of VLAN tag stripping Rx offloads is unclear in DPDK, and > > not very well documented. Even the documentation th

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

2025-07-14 Thread Bruce Richardson
| Inner tag in vlan_tci | +---+--+----+ Signed-off-by: Bruce Richardson --- doc/guides/nics/features.rst | 21 + lib/ethdev/rte_ethdev.h | 20 lib/mbuf/rte_mbuf_core.h | 36 3 fil

Re: Secondary process access control mechanism

2025-07-14 Thread Bruce Richardson
On Wed, Jul 09, 2025 at 08:02:30PM +0200, Morten Brørup wrote: > Are there any access control mechanisms to govern what a secondary process > can do to a primary process? > > Let's say I'm running a primary process, and want to allow only authorized > secondary processes to attach to it. No unau

Re: Intel i40e rx burst API non-conformance?

2025-07-09 Thread Bruce Richardson
On Wed, Jul 09, 2025 at 04:59:51PM +0200, Morten Brørup wrote: > Looking at the i40e driver source code, I think it doesn't conform to the API > when requesting small bursts. > > Let's say the hardware has received 31 packets. > rte_eth_rx_burst(...,16) will return 16 packets and leave 15 in the

Re: [PATCH v1 1/1] net/iavf: fix order of inclusion in vector code

2025-07-09 Thread Bruce Richardson
st, which > will fix the compilation error due to correctly disabling 16-byte Rx > descriptor support. > > Bugzilla ID: 1749 > > Fixes: 11276ec5e042 ("net/iavf: use common Rx rearm") > > Signed-off-by: Anatoly Burakov > --- Acked-by: Bruce Richardson

Re: [RFC PATCH v2 0/5] rework EAL argument parsing in DPDK

2025-07-09 Thread Bruce Richardson
On Wed, Jul 09, 2025 at 02:30:42PM +0200, David Marchand wrote: > Hi Bruce, > > On Tue, Jul 8, 2025 at 7:21 PM Bruce Richardson > wrote: > > > > This RFC is a second, more complete, prototype of one approach we may > > want to take to help improve manag

Re: [PATCH] doc: announce changes in structure alignments for UBSan

2025-07-09 Thread Bruce Richardson
g more parts of DPDK with UBSan. > > Though the calling code can explicitly request alignment, > we would prefer to put the alignment constraints as part of the > structure definition itself. > > Such changes are ABI breakages. > > Signed-off-by: David Marchand > --- Acked-by: Bruce Richardson

Re: [PATCH] net: support VLAN stacking packet type parsing

2025-07-09 Thread Bruce Richardson
On Tue, Jul 08, 2025 at 04:15:36PM +0100, Bruce Richardson wrote: > On Tue, Jul 08, 2025 at 05:07:05PM +0200, Morten Brørup wrote: > > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > > Sent: Tuesday, 8 July 2025 12.16 > > > > > > On Tue, J

Re: [RFC PATCH v2 0/5] rework EAL argument parsing in DPDK

2025-07-09 Thread Bruce Richardson
On Tue, Jul 08, 2025 at 11:41:01AM -0700, Stephen Hemminger wrote: > On Tue, 8 Jul 2025 17:20:34 + > Bruce Richardson wrote: > > > This RFC is a second, more complete, prototype of one approach we may > > want to take to help improve management of EAL cmdline arguments

[RFC PATCH v2 5/5] eal: simplify handling of conflicting cmdline options

2025-07-08 Thread Bruce Richardson
Use a utility function and macro to simplify the code for checking for conflicting cmdline options. The checking can also be done at the initial argument collating stage, shortening the argument processing function which is very much on the long side. Signed-off-by: Bruce Richardson --- lib/eal

[RFC PATCH v2 4/5] eal: combine parameter validation checks

2025-07-08 Thread Bruce Richardson
Remove the separate function to check combinations of cmdline parameters. Instead, just do those checks when parsing the parameters since we have all info about what parameters are provided at that point. Signed-off-by: Bruce Richardson --- lib/eal/common/eal_common_memory.c | 3 +- lib/eal

[RFC PATCH v2 3/5] eal: gather EAL args before processing

2025-07-08 Thread Bruce Richardson
-by: Bruce Richardson --- lib/eal/common/eal_common_options.c | 877 ++-- lib/eal/common/eal_options.h| 10 +- lib/eal/common/eal_private.h| 11 + lib/eal/freebsd/eal.c | 164 +- lib/eal/linux/eal.c | 379 +--- lib

[RFC PATCH v2 2/5] eal: define the EAL parameters in argparse format

2025-07-08 Thread Bruce Richardson
This table should allow us to parse all the eal args into a single structure for later parsing in a fixed-order field basis. For those elements that take multiple values, define a TAILQ and a callback to process those elements. Signed-off-by: Bruce Richardson --- lib/eal/common

[RFC PATCH v2 1/5] eal: add long options for each short option

2025-07-08 Thread Bruce Richardson
To simplify future rework of the EAL arg handling, add a long-option equivalent for each short option that doesn't already have one. Signed-off-by: Bruce Richardson --- lib/eal/common/eal_common_options.c | 9 + lib/eal/common/eal_options.h| 16 2 files ch

[RFC PATCH v2 0/5] rework EAL argument parsing in DPDK

2025-07-08 Thread Bruce Richardson
simple and correct, but the advantage of #2 is that is makes it easier to move scripts and commandline args between platforms - but at the cost of the arg list shown by help to be less accurate. Bruce Richardson (5): eal: add long options for each short option eal: define the EAL parameters in argpa

Re: [PATCH] net: support VLAN stacking packet type parsing

2025-07-08 Thread Bruce Richardson
On Tue, Jul 08, 2025 at 05:07:05PM +0200, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Tuesday, 8 July 2025 12.16 > > > > On Tue, Jul 08, 2025 at 12:00:42AM +0200, Morten Brørup wrote: > > >From: Vladimir Medve

Re: [PATCH v3 16/18] test/power: fix tests without power drivers

2025-07-08 Thread Bruce Richardson
On Tue, Jul 08, 2025 at 02:53:03PM +0200, David Marchand wrote: > On Tue, Jul 8, 2025 at 2:48 PM Bruce Richardson > wrote: > > > > On Tue, Jul 08, 2025 at 02:28:20PM +0200, David Marchand wrote: > > > In the absence of drivers, skip tests instead of failing. >

Re: [PATCH v3 12/18] malloc: fix mp message alignment

2025-07-08 Thread Bruce Richardson
On Tue, Jul 08, 2025 at 02:46:04PM +0200, David Marchand wrote: > On Tue, Jul 8, 2025 at 2:44 PM Bruce Richardson > wrote: > > > > On Tue, Jul 08, 2025 at 02:28:16PM +0200, David Marchand wrote: > > > Content (param[]) of received multiprocess messages are aligned with

Re: [PATCH v3 17/18] test/raw: fix test without skeleton driver

2025-07-08 Thread Bruce Richardson
On Tue, Jul 08, 2025 at 02:28:21PM +0200, David Marchand wrote: > 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(-)

Re: [PATCH v3 16/18] test/power: fix tests without power drivers

2025-07-08 Thread Bruce Richardson
On Tue, Jul 08, 2025 at 02:28:20PM +0200, David Marchand wrote: > In the absence of drivers, skip tests instead of failing. > > Signed-off-by: David Marchand > --- > app/test/meson.build | 10 ++ > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git a/app/test/meson.build b/a

Re: [PATCH v3 12/18] malloc: fix mp message alignment

2025-07-08 Thread Bruce Richardson
On Tue, Jul 08, 2025 at 02:28:16PM +0200, David Marchand wrote: > 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

Re: [PATCH] net: support VLAN stacking packet type parsing

2025-07-08 Thread Bruce Richardson
aresystems.com>: > > > From: Bruce Richardson [mailto:[2]bruce.richard...@intel.com] > > Sent: Friday, 4 July 2025 13.32 > > Hi all, > > > > this email discussion comes at a bit of a fortunate time for me, > as I'm >

Re: [PATCH] net/i40e: fix missing support for RSS IPv4

2025-07-07 Thread Bruce Richardson
ing of SW flow types to HW > pctypes") > Cc: sta...@dpdk.org > Reported-by: Morten Brørup > Signed-off-by: Dhanya Pillai Acked-by: Bruce Richardson Applied to dpdk-next-net-intel, Thanks, /Bruce

[PATCH v3 3/3] app/testpmd: improve output when processing cmdline files

2025-07-07 Thread Bruce Richardson
ad CLI commands..." is a little ambiguous, as it could mean "I have read", or "Go and read", i.e. job done or job about to start. Tweak the text to "Finished reading" which is unambiguous. Signed-off-by: Bruce Richardson --- Owing to limitations of whats av

[PATCH v3 2/3] app/testpmd: allow multiple commandline file parameters

2025-07-07 Thread Bruce Richardson
e users to have a library of pre-canned cmdline files and pass multiple of these in to the same run, e.g. have one cmdline file per NIC feature and enable multiple features by passing in multiple filenames. Signed-off-by: Bruce Richardson --- app/test-pmd/parameters.c

[PATCH v3 0/3] improve cmdline file handling in testpmd

2025-07-07 Thread Bruce Richardson
when loading multiple files. Bruce Richardson (3): app/testpmd: explicitly set command echoing on file load app/testpmd: allow multiple commandline file parameters app/testpmd: improve output when processing cmdline files app/test-pmd/cmdline.c | 100

[PATCH v3 1/3] app/testpmd: explicitly set command echoing on file load

2025-07-07 Thread Bruce Richardson
cho" command to match the "load" command. Signed-off-by: Bruce Richardson --- app/test-pmd/cmdline.c | 51 +++-- app/test-pmd/testpmd.c | 2 +- app/test-pmd/testpmd.h | 2 +- doc/guides/testpmd_app_ug/test

[PATCH v2 3/3] app/testpmd: improve output when processing cmdline files

2025-07-04 Thread Bruce Richardson
ad CLI commands..." is a little ambiguous, as it could mean "I have read", or "Go and read", i.e. job done or job about to start. Tweak the text to "Finished reading" which is unambiguous. Signed-off-by: Bruce Richardson --- app/test-pmd/cmdline.c

[PATCH v2 2/3] app/testpmd: allow multiple commandline file parameters

2025-07-04 Thread Bruce Richardson
e users to have a library of pre-canned cmdline files and pass multiple of these in to the same run, e.g. have one cmdline file per NIC feature and enable multiple features by passing in multiple filenames. Signed-off-by: Bruce Richardson --- app/test-pmd/parameters.c

[PATCH v2 1/3] app/testpmd: explicitly set command echoing on file load

2025-07-04 Thread Bruce Richardson
cho" command to match the "load" command. Signed-off-by: Bruce Richardson --- app/test-pmd/cmdline.c | 51 +++-- app/test-pmd/testpmd.c | 2 +- app/test-pmd/testpmd.h | 2 +- doc/guides/testpmd_app_ug/test

[PATCH v2 0/3] improve cmdline file handling in testpmd

2025-07-04 Thread Bruce Richardson
uses a global flag for that - shared between cmdline parameters and interactive CLI commands. V2: * remove global echo flag, and now support echo/noecho per file loaded * when echoing, output the file being processed, to clarify things when loading multiple files. Bruce Richardson (3): app

[PATCH] app/testpmd: allow multiple cmdline-file parameters

2025-07-04 Thread Bruce Richardson
e users to have a library of pre-canned cmdline files and pass multiple of these in to the same run, e.g. have one cmdline file per NIC feature and enable multiple features by passing in multiple filenames. Signed-off-by: Bruce Richardson --- app/test-pmd/cmdline.c| 11 --- ap

Re: [PATCH] net: support VLAN stacking packet type parsing

2025-07-04 Thread Bruce Richardson
On Fri, Jul 04, 2025 at 12:18:45PM +0200, Morten Brørup wrote: > > From: Dengdui Huang [mailto:huangdeng...@huawei.com] > > Sent: Thursday, 3 July 2025 11.30 > > > > The current rte_net_get_ptype() only supports parsing packets with > > one 0x8100 VLAN tag or two 0x88a8 VLAN tags. This patch exten

Re: [RFC] ethdev: TX mbuf fast release optimization

2025-07-03 Thread Bruce Richardson
On Thu, Jul 03, 2025 at 05:29:26PM +0200, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Thursday, 3 July 2025 17.21 > > > > On Thu, Jul 03, 2025 at 05:12:46PM +0200, Morten Brørup wrote: > > > > From: Br

Re: [RFC] ethdev: TX mbuf fast release optimization

2025-07-03 Thread Bruce Richardson
On Thu, Jul 03, 2025 at 05:12:46PM +0200, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Thursday, 3 July 2025 16.14 > > > > On Thu, Jul 03, 2025 at 03:59:14PM +0200, Morten Brørup wrote: > > > For TX mbuf fast rele

Re: [RFC] ethdev: TX mbuf fast release optimization

2025-07-03 Thread Bruce Richardson
On Thu, Jul 03, 2025 at 03:59:14PM +0200, Morten Brørup wrote: > For TX mbuf fast release offload, I propose to add the mbuf mempool > pointer to the ethdev tx queue configuration structure, > so the ethdev TX burst operation doesn't need to fetch it from the > first mbuf of each burst being fast f

Re: [PATCH] net/intel: deprecate some SSE paths

2025-07-03 Thread Bruce Richardson
On Thu, Jul 03, 2025 at 12:16:24PM +, Ciara Loftus wrote: > The SSE rx and tx paths will be removed from the i40e, iavf and ice > drivers in the 25.11 release. Each of these drivers have faster vector > paths (AVX2 and AVX-512) which have feature parity with the soon to be > removed SSE paths.

Re: [PATCH v2] net/iavf: fix VLAN strip disabling for v2 capability

2025-07-03 Thread Bruce Richardson
On Thu, Jul 03, 2025 at 03:50:46PM +0530, Amiya Ranjan Mohakud wrote: > Ensure the correct virtchnl op is called for disabling vlan stripping by > checking if the device supports either v1 or v2 vlan capability and > choosing the op accordingly. > > Bugzilla ID:1735 > Cc: sta...@dpdk.org > Fixes:

[PATCH v3] build/x86: fix support for older compilers

2025-07-03 Thread Bruce Richardson
dev/null | grep AVX512 | wc -l 0 gcc -march=haswell -march=skylake-avx512 -dM -E - < /dev/null | grep AVX512 | wc -l 5 Bugzilla ID: 1736 Fixes: e361ae3f59d3 ("build: reduce use of AVX compiler flags") Signed-off-by: Bruce Richardson --- V3: fix build when using meson 0.57 whic

Re: [PATCH v2] build/x86: fix support for older compilers

2025-07-03 Thread Bruce Richardson
On Wed, Jul 02, 2025 at 11:22:42AM -0700, Stephen Hemminger wrote: > On Wed, 2 Jul 2025 17:00:45 +0100 > Bruce Richardson wrote: > > > Some older compilers e.g. gcc 8.5, do not support overriding > > -march=native with another architecture, leading to build warnings su

[PATCH v2] build/x86: fix support for older compilers

2025-07-02 Thread Bruce Richardson
dev/null | grep AVX512 | wc -l 0 gcc -march=haswell -march=skylake-avx512 -dM -E - < /dev/null | grep AVX512 | wc -l 5 Bugzilla ID: 1736 Fixes: e361ae3f59d3 ("build: reduce use of AVX compiler flags") Signed-off-by: Bruce Richardson --- config/x86/meson.build | 7 ++- 1 file ch

Re: [PATCH] build/x86: fix support for older compilers

2025-07-02 Thread Bruce Richardson
On Wed, Jul 02, 2025 at 04:51:29PM +0100, Bruce Richardson wrote: > Some older compilers e.g. gcc 8.5, do not support overriding > -march=native with another architecture, leading to build warnings such > as reported in Bugzilla (link below). Add a check for that case, and > explic

[PATCH] build/x86: fix support for older compilers

2025-07-02 Thread Bruce Richardson
ev/null | grep AVX gcc -march=haswell -march=skylake-avx512 -dM -E - < /dev/null | grep AVX ... Bugzilla ID: 1736 Fixes: e361ae3f59d3 ("build: reduce use of AVX compiler flags") Signed-off-by: Bruce Richardson --- config/x86/meson.build | 7 ++- 1 file changed, 6 insertions(+),

Re: [PATCH] doc: clarify disabling AVX-512 when building on Haswell CPUs

2025-07-02 Thread Bruce Richardson
On Wed, Jul 02, 2025 at 09:36:49AM -0400, Khadem Ullah wrote: > Some Intel Xeon processors (e.g., E5 v3 Haswell) do not support AVX-512 > instructions, and building DPDK targeting 'native' instruction set can > fail with 'target specific option mismatch' errors. > > This patch updates the build gu

Re: [PATCH v3] test/argparse: change initialization to workaround LTO

2025-07-01 Thread Bruce Richardson
he copy > function it no longer knew that. > > The workaround is to put the copy inside the same function > and use structure assignment. Also macro should be upper case. > > Fixes: 6c5c6571601c ("argparse: verify argument config") > Cc: fengcheng...@huawei.com > > Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson

Re: [PATCH] test/event: disable vector adapter test

2025-07-01 Thread Bruce Richardson
true, > test_event_vector_adapter); > +/* disabled because of reported failures, waiting for a fix > + * REGISTER_FAST_TEST(event_vector_adapter_autotest, true, true, > test_event_vector_adapter); > + */ > -- Acked-by: Bruce Richardson Thanks for this. It will be good to have patchwork reports "clean" again. /Bruce

Re: [PATCH] net/ice: fix inconsistency in Rx queue VLAN tag placement

2025-07-01 Thread Bruce Richardson
On Fri, Jun 27, 2025 at 04:31:20PM +0200, Burakov, Anatoly wrote: > On 6/27/2025 3:52 PM, Bruce Richardson wrote: > > When VLAN or QinQ stripping is enabled in the ice driver, an > > inconsistency was observed between the placement of the VLAN tag in the > > descriptors

[PATCH v2] eal: deprecate old coremask-based EAL parameters

2025-06-30 Thread Bruce Richardson
-list based versions instead. Depends-on: series-35540 ("use core lists not masks in documentation") Signed-off-by: Bruce Richardson Acked-by: Vipin Varghese Acked-By: Anatoly Burakov Acked-by: Konstantin Ananyev --- V2: * updated freebsd GSG doc * additional changes to linux GSG samp

Re: [PATCH v2 09/10] stack: fix unaligned accesses on 128-bit

2025-06-30 Thread Bruce Richardson
alignment > 0x7ffd9c67f228: note: pointer points here > 00 00 00 00 c0 5d 3e 00 01 00 00 00 01 00 00 00 00 00 00 00 > ^ > 00 00 00 00 00 00 00 00 00 00 00 00 > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior > ../lib/eal/x86/include/rte_atomic_64.h:206:21 in &g

Re: [PATCH v2 08/10] hash: fix unaligned access in predictable RSS

2025-06-30 Thread Bruce Richardson
ent > > Fixes: 28ebff11c2dc ("hash: add predictable RSS") > Cc: sta...@dpdk.org > > Signed-off-by: David Marchand Acked-by: Bruce Richardson > --- > lib/hash/rte_thash.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/lib/ha

Re: [PATCH v2] test/argparse: change initialization to workaround LTO

2025-06-30 Thread Bruce Richardson
i.com > > Signed-off-by: Stephen Hemminger > --- > v2 - simpler fix is to just inline the copy > > app/test/test_argparse.c | 31 +++ > 1 file changed, 15 insertions(+), 16 deletions(-) > LGTM. One suggestion inline, in case you feel like adjusting

Re: [PATCH 2/2] doc: use core lists rather than masks in guides

2025-06-30 Thread Bruce Richardson
On Mon, Jun 30, 2025 at 03:11:30PM +0200, David Marchand wrote: > Hello Bruce, > > On Tue, Jun 24, 2025 at 3:35 PM Bruce Richardson > wrote: > > > > For the guides for applications and examples, use the "-l" flag rather > > than the "-c" flag t

[PATCH 25.11 3/3] memif: : remove fallbacks for old Linux versions

2025-06-30 Thread Bruce Richardson
All supported linux versions support F_ADD_SEALS (Linux 3.17+) and MFD_HUGETLB (Linux 4.14+), so no need to have #ifdefs and fallbacks to support systems which do not support those features. Signed-off-by: Bruce Richardson --- drivers/net/memif/rte_eth_memif.h | 41

[PATCH 25.11 2/3] vhost: : remove fallbacks for old Linux versions

2025-06-30 Thread Bruce Richardson
All supported linux versions support F_ADD_SEALS (Linux 3.17+) and MFD_HUGETLB (Linux 4.14+), so no need to have #ifdefs and fallbacks to support systems which do not support those features. Signed-off-by: Bruce Richardson --- lib/vhost/vhost_user.c | 7 --- 1 file changed, 7 deletions

[PATCH 25.11 1/3] eal/linux: remove fallbacks for old Linux versions

2025-06-30 Thread Bruce Richardson
All supported linux versions support F_ADD_SEALS (Linux 3.17+) and MFD_HUGETLB (Linux 4.14+), so no need to have #ifdefs and fallbacks to support systems which do not support those features. Signed-off-by: Bruce Richardson --- lib/eal/linux/eal_memalloc.c | 174

[PATCH 25.11 0/3] remove fallbacks for old Linux versions

2025-06-30 Thread Bruce Richardson
/sys_reqs.html#system-software Bruce Richardson (3): eal/linux: remove fallbacks for old Linux versions vhost: : remove fallbacks for old Linux versions memif: : remove fallbacks for old Linux versions drivers/net/memif/rte_eth_memif.h | 41 --- lib/eal/linux/eal_memalloc.c | 174

[PATCH] node: fix C++ compatibility errors (option 2)

2025-06-30 Thread Bruce Richardson
{ | ^ 1 error generated. Fix the error by omitting the persistent_data field when it is zero-sized, since it's unusable. Any app using the field must already specify a size for the persistent data. Fixes: 746e8736da70 ("node: add global mbuf dynfield") Signe

[PATCH] node: fix C++ compatibility errors (option 1)

2025-06-30 Thread Bruce Richardson
{ | ^ 1 error generated. Fix the error by defaulting to a having a 1-byte sized union rather than zero-sized. Fixes: 746e8736da70 ("node: add global mbuf dynfield") Signed-off-by: Bruce Richardson --- lib/node/rte_node_mbuf_dynfield.h | 5 +++-- 1 file

Re: [PATCH] net/ixgbe: fix sctp mask in flow director

2025-06-30 Thread Bruce Richardson
On Fri, Jun 27, 2025 at 04:59:53PM +0800, Yuan Wang wrote: > Since the default value of the port mask is set to 0, the port mask does > not change in some cases when creating SCTP flow rules, which results in > incorrect L4P register configuration. > > This patch fixes this issue by setting the ma

Re: [PATCH] test/argparse: fix out of bound memcpy

2025-06-27 Thread Bruce Richardson
On Fri, Jun 27, 2025 at 09:22:35AM -0700, Stephen Hemminger wrote: > The rte_argparse API use variable length arrays for the args. > But the test was only putting space on stack for the argparse > part, not the args. This can lead to out of bounds writes. > > The bug only gets detected if DPDK is

[PATCH] build: error out when missing elftools python module

2025-06-27 Thread Bruce Richardson
Program python3 (elftools) found: NO New output: Program python3 found: YES (/usr/bin/python3) Program python3 (elftools) found: NO ../buildtools/meson.build:15:31: ERROR: python3 is missing modules: elftools Signed-off-by: Bruce Richardson --- buildtools/meson.build | 5 - 1 file

[PATCH] net/ice: fix inconsistency in Rx queue VLAN tag placement

2025-06-27 Thread Bruce Richardson
- when updating l2tsel (L2 tag selection) field - used the queue id, rather than the register index for the queue. Queue 0 is normally HW queue 1, etc., meaning the final queue never had its field updated. Fixes: de5da9d16430 ("net/ice: support double VLAN") Cc: sta...@dpdk.org Signed-off

  1   2   3   4   5   6   7   8   9   10   >