Re: [RFC] git: consolidate .gitignore files

2025-03-15 Thread Patrick Robb
On Fri, Mar 14, 2025 at 11:28 AM Thomas Monjalon wrote: > > Please can you rebase next-dts on top of main? > It will force you to make the change in the root .gitconfig > Thanks for the explanation this should be all set - I have rebased next-dts and here is the updated commit: https://git.dpdk.

[PATCH v1 1/4] dts: add layer 4 port field to verbose parser

2025-03-15 Thread Dean Marx
Add a field to the TestPmdVerbosePacket text parser that stores destination port values for TCP/UDP packets. Signed-off-by: Dean Marx --- dts/framework/remote_session/testpmd_shell.py | 5 + 1 file changed, 5 insertions(+) diff --git a/dts/framework/remote_session/testpmd_shell.py b/dts/fr

[PATCH v4 00/10] new ioring PMD

2025-03-15 Thread Stephen Hemminger
This is a new simplified TAP device that uses the Linux kernel ioring API to provide a read/write ring with kernel. This is split from tap device because there are so many unnecessary things in existing tap, and supporting ioring is better without ifdefs etc. The default name of the tap device is

Re: release candidate 25.03-rc2

2025-03-15 Thread Thinh Tran
IBM - Power Systems Testing DPDK v25.03-rc2 * Build CI on Fedora 39,40 and 41 container images for ppc64le * Basic PF on Mellanox: No issue found * Performance: not tested. * OS:- RHEL 9.4 kernel: 5.14.0-427.13.1.el9_4.ppc64le with gcc version 11.4.1 20231218 (Red Hat 11.4.1-3) -

Re: [PATCH] devtools: enhance the license check

2025-03-15 Thread Thomas Monjalon
10/12/2024 10:10, David Marchand: > Reformat the license/exceptions.txt file to make it easier to build > a list of exempted files. > Display all files committed in DPDK that are non compliant > with BSD-3 license. > > Signed-off-by: David Marchand Applied, thanks

Community CI Meeting Minutes - January 9, 2025

2025-03-15 Thread Patrick Robb
# January 9, 2025 Attendees . Patrick Robb . Aaron Conole . Luca Vizzarro . Dean Marx . Cody Cheng . Aaron Conole . Nicholas Pratte . Matthew McGovern . Manit Mahajan ###

[PATCH v3] rust: support raw DPDK API

2025-03-15 Thread Gregory Etelson
The patch converts include files with DPDK API to RUST and binds new RUST API files into raw module under dpdk crate. The RUST files and DPDK libraries build from C sources allow creation of DPDK application in RUST. RUST DPDK application must specify the `dpdk` crate as dependency in Cargo.toml

[PATCH v4 2/5] eal: add portable version of __builtin_add_overflow

2025-03-15 Thread Andre Muezerie
__builtin_add_overflow is gcc specific. There's a need for a portable version that can also be used with other compilers. This patch introduces rte_add_overflow. Signed-off-by: Andre Muezerie --- lib/eal/include/meson.build | 1 + lib/eal/include/rte_math.h | 46 ++

Re: [RFC v3 6/8] build: mark exported symbols

2025-03-15 Thread Bruce Richardson
On Fri, Mar 14, 2025 at 05:53:59PM +0100, David Marchand wrote: > On Fri, Mar 14, 2025 at 5:24 PM Bruce Richardson > wrote: > > > > On Fri, Mar 14, 2025 at 05:14:34PM +0100, David Marchand wrote: > > > On Thu, Mar 13, 2025 at 6:31 PM Bruce Richardson > > > wrote: > > > > > > > > On Tue, Mar 11, 2

[PATCH 2/3] net/intel: use common AVX build code

2025-03-15 Thread Bruce Richardson
Remove driver-specific build instructions for the AVX2 and AVX-512 code, and rely instead on the generic driver build file. Signed-off-by: Bruce Richardson --- drivers/net/intel/i40e/meson.build | 26 ++ drivers/net/intel/iavf/meson.build | 25 ++--- d

RE: [PATCH v4 1/3] eal: add function rte_size_to_str

2025-03-15 Thread Morten Brørup
Looks good now. :-) Acked-by: Morten Brørup

[PATCH v3 1/2] config: allow AVX512 instructions to be used with MSVC

2025-03-15 Thread Andre Muezerie
Up to now MSVC has being used with the default mode, which uses SSE2 instructions for scalar floating-point and vector calculations. https://learn.microsoft.com/en-us/cpp/build/reference/arch-x64?view=msvc-170 This patch allows users to specify the CPU for which the generated code should be optimi

Re: [RFC v3 6/8] build: mark exported symbols

2025-03-15 Thread David Marchand
On Fri, Mar 14, 2025 at 6:29 PM Bruce Richardson wrote: > > > What I'd actually like more, but never have had time to actually try out > > > is > > > to generalise the instruction-set-specific build stuff into the higher > > > level > > > drivers/meson.build code. After all, much of the code for

Re: [PATCH] rust: support DPDK API

2025-03-15 Thread Etelson, Gregory
+[dependencies] +dpdklib = {path = "MESON_INSTALL_DESTDIR_PREFIX/rust"} \ No newline at end of file Bad practice. Don't forget EOL I'll fix that

Re: [RFC v3 6/8] build: mark exported symbols

2025-03-15 Thread David Marchand
On Fri, Mar 14, 2025 at 5:24 PM Bruce Richardson wrote: > > On Fri, Mar 14, 2025 at 05:14:34PM +0100, David Marchand wrote: > > On Thu, Mar 13, 2025 at 6:31 PM Bruce Richardson > > wrote: > > > > > > On Tue, Mar 11, 2025 at 10:56:04AM +0100, David Marchand wrote: > > > > Annotate symbols with new

Feedback Requested on DPDK Performance Analysis Video

2025-03-15 Thread Adel Belkhiri
Hi all, I hope you’re doing well! I wanted to share a YouTube video I recently created, showcasing the performance analyses I developed for DPDK in Trace Compass incubator. In this video, I show how tracing can help reveal some performance aspects of DPDK applications, with the goal of sparking di

[PATCH v5 3/3] app/test: add tests for portable version of __builtin_add_overflow

2025-03-15 Thread Andre Muezerie
__builtin_add_overflow is gcc specific. There's a need for a portable version that can also be used with other compilers. This patch adds tests for these new portable functions, to confirm they behave the same way across different compilers. Signed-off-by: Andre Muezerie --- MAINTAINERS

[PATCH v2 2/4] net/intel: use common AVX build code

2025-03-15 Thread Bruce Richardson
Remove driver-specific build instructions for the AVX2 and AVX-512 code, and rely instead on the generic driver build file. Signed-off-by: Bruce Richardson --- drivers/net/intel/i40e/meson.build | 26 ++ drivers/net/intel/iavf/meson.build | 25 ++--- d

Re: [PATCH 6/6] bus/vmbus: set event for channel without monitoring support

2025-03-15 Thread Stephen Hemminger
On Thu, 27 Feb 2025 17:09:01 -0800 lon...@linuxonhyperv.com wrote: > From: Long Li > > For vmbus channels without monitoring support, use kernel UIO interface > to indicate packet through interrupt page and UIO file handle. > > Signed-off-by: Long Li Will consider for 25.07 release. Please fi

Re: [RFC] git: consolidate .gitignore files

2025-03-15 Thread Patrick Robb
https://git.dpdk.org/next/dpdk-next-dts/commit/?id=564f4abb42df0cdf7da8c53933705bc205642005 This commit on next-dts changes the name of this default config file from test_runs.yaml to test_run.yaml. However, it is not pulled to main yet. I can send a patch equivalent to Stephen's which changes te

Re: [PATCH v2] rust: support raw DPDK API

2025-03-15 Thread Bruce Richardson
On Mon, Mar 10, 2025 at 04:13:21PM +, Van Haaren, Harry wrote: > > From: Gregory Etelson > > Sent: Saturday, March 8, 2025 6:50 PM > > To: Van Haaren, Harry ; Richardson, Bruce > > ; dev@dpdk.org > > Cc: getel...@nvidia.com ; mkash...@nvidia.com > > ; tho...@monjalon.net > > Subject: [PATC

[PATCH] net/mlx5: fix IPIP tunnel verification

2025-03-15 Thread Gregory Etelson
Assuming a case with the following pattern: eth / ipv4 / udp / vxlan / eth / ipv4 proto is (IPv4 | IPv6) MLX5 PMD incorrectly recognized this as a packet encapsulated as VXLAN and IP in IP at the same packet header level. This caused a flow validation error. This patch fixes the inner IP in IP d

[PATCH v5 2/3] net/intel: use portable version of __builtin_add_overflow

2025-03-15 Thread Andre Muezerie
__builtin_add_overflow is gcc specific. It should be replaced with a portable version that can also be used with other compilers. Signed-off-by: Andre Muezerie --- drivers/net/intel/ice/base/ice_osdep.h | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/intel/ice/base/ice_osdep

[PATCH v4 05/10] net/ioring: implement secondary process support

2025-03-15 Thread Stephen Hemminger
Add support for communicating fd's from primary to secondary. Signed-off-by: Stephen Hemminger --- doc/guides/nics/features/ioring.ini | 1 + doc/guides/nics/ioring.rst | 6 -- drivers/net/ioring/rte_eth_ioring.c | 136 +++- 3 files changed, 135 insertions(+)

[PATCH] eal: prevent socket closure before MP sync

2025-03-15 Thread Yang Ming
The secordary process should not close socket file for MP channel before performing MP request synchronization. This prevents error logs when the secondary process exits without any operation on the crypto device while the primary process starts the device. Case situation: eal_bus_cleanup has been

Re: [PATCH] rust: support DPDK API

2025-03-15 Thread Igor Gutorov
On Mon, Mar 10, 2025 at 7:34 PM Stephen Hemminger wrote: > > The real benefit would the ability to support PMD's built in Rust. Having DPDK libraries as Rust crates would be beneficial as well. The mempool library in particular is something I've wanted to use in some Rust projects. I've previousl

[PATCH v2 5/7] dts: make shells path dynamic

2025-03-15 Thread Luca Vizzarro
Turn the `path` attribute of InteractiveShell into a method property. This allows path to both be defined statically by the class implementation and also to be defined dynamically as part of the class construction. Signed-off-by: Luca Vizzarro Reviewed-by: Paul Szczepanek --- dts/framework/remo

Re: [RFC] git: consolidate .gitignore files

2025-03-15 Thread Thomas Monjalon
10/02/2025 18:20, Stephen Hemminger: > Lets have only one .gitignore at top level. > > Signed-off-by: Stephen Hemminger Applied with uAPI rules dropped and these explanations added: " Some generated DTS files must be ignored. The Linux uAPI files should not be ignored. "