RE: [PATCH] doc: add outer UDP checksum limitations for mlx5

2023-07-19 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Dariusz Sosnowski > Sent: Monday, July 10, 2023 11:49 AM > To: Matan Azrad ; Slava Ovsiienko > ; Ori Kam ; Suanming Mou > > Cc: dev@dpdk.org > Subject: [PATCH] doc: add outer UDP checksum limitations for mlx5 > > Currently available NVIDIA NICs and DPUs

Re: [PATCH v3 0/2] Improve docs on getting info on running process

2023-07-19 Thread Bruce Richardson
On Tue, Jul 18, 2023 at 10:40:20AM -0700, Stephen Hemminger wrote: > On Tue, 18 Jul 2023 17:48:00 +0100 > Bruce Richardson wrote: > > > Add details to our documentation on how to register logging for a > > component. Also provide guidelines on when to use logs vs tracing > > vs telemetry. > > >

[PATCH] net/mlx5: fix the template API requirements

2023-07-19 Thread Bing Zhao
The minimal SW and HW versions are added. Fixes: 22681deead3e ("net/mlx5/hws: enable hardware steering") Cc: va...@nvidia.com Cc: sta...@dpdk.org Signed-off-by: Bing Zhao --- doc/guides/nics/mlx5.rst | 8 1 file changed, 8 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guid

Re: [PATCH] tap: fix build of tap_bpf_program

2023-07-19 Thread Ferruh Yigit
On 7/17/2023 8:15 PM, Stephen Hemminger wrote: > The tap_bpf_program.c is not built as part of normal DPDK > EAL environment. It is intended to be built standalone > and does not use rte_common.h. > > This reverts the related change from > commit ef5baf3486e0 ("replace packed attributes") > > Not

Re: [PATCH] tap: fix build of tap_bpf_program

2023-07-19 Thread Ferruh Yigit
On 7/19/2023 11:00 AM, Ferruh Yigit wrote: > On 7/17/2023 8:15 PM, Stephen Hemminger wrote: >> The tap_bpf_program.c is not built as part of normal DPDK >> EAL environment. It is intended to be built standalone >> and does not use rte_common.h. >> >> This reverts the related change from >> commit e

Re: [PATCH] tap: fix build of tap_bpf_program

2023-07-19 Thread Ferruh Yigit
On 7/19/2023 11:03 AM, Ferruh Yigit wrote: > On 7/19/2023 11:00 AM, Ferruh Yigit wrote: >> On 7/17/2023 8:15 PM, Stephen Hemminger wrote: >>> The tap_bpf_program.c is not built as part of normal DPDK >>> EAL environment. It is intended to be built standalone >>> and does not use rte_common.h. >>> >

Re: [PATCH v16 6/6] test/memarea: support dump API test

2023-07-19 Thread Burakov, Anatoly
On 7/10/2023 7:49 AM, Chengwen Feng wrote: This patch supports rte_memarea_dump() API test. Signed-off-by: Chengwen Feng Reviewed-by: Dongdong Liu Acked-by: Morten Brørup --- app/test/test_memarea.c | 40 1 file changed, 40 insertions(+) diff --git

[PATCH 1/1] node: remove MAX macro from all nodes

2023-07-19 Thread Rakesh Kudurumalla
Removed MAX macro from all graph nodes to extend edges to nodes without ABI breakage Signed-off-by: Rakesh Kudurumalla --- Depends-on: series-28807 ("add UDP v4 support") lib/node/ip4_lookup.c | 2 +- lib/node/ip6_lookup.c | 2 +- lib/node/rte_node_ip4_api.h | 2 -- lib/node/rte_nod

Re: [PATCH v2 2/6] dts: add traffic generator config

2023-07-19 Thread Juraj Linkeš
On Tue, Jul 18, 2023 at 5:55 PM Jeremy Spewock wrote: > > Hey Juraj, > > These changes look good to me, I just had one question. Is the plan to make > specifying a TG always required or optional for cases where it isn't > required? It seems like it is written now as something that is required fo

[PATCH] doc: add tested platforms with NVIDIA NICs

2023-07-19 Thread Raslan Darawsheh
Add tested platforms with NVIDIA NICs to the 23.07 release notes. Signed-off-by: Raslan Darawsheh --- doc/guides/rel_notes/release_23_07.rst | 161 + 1 file changed, 161 insertions(+) diff --git a/doc/guides/rel_notes/release_23_07.rst b/doc/guides/rel_notes/release_23_

Re: [PATCH v2 2/6] dts: add traffic generator config

2023-07-19 Thread Jeremy Spewock
On Wed, Jul 19, 2023, 08:57 Juraj Linkeš wrote: > On Tue, Jul 18, 2023 at 5:55 PM Jeremy Spewock > wrote: > > > > Hey Juraj, > > > > These changes look good to me, I just had one question. Is the plan to > make specifying a TG always required or optional for cases where it isn't > required? It s

Re: [PATCH v2 3/6] dts: traffic generator abstractions

2023-07-19 Thread Juraj Linkeš
On Tue, Jul 18, 2023 at 9:56 PM Jeremy Spewock wrote: > > > Hey Juraj, > > Just a couple of comments below, but very minor stuff. Just a few docstring > that I commented on and one question about the factory for traffic generators > that I was wondering what you thought about. More below: > >

RE: [RFC] lib/ethdev: introduce table driven APIs

2023-07-19 Thread Dumitrescu, Cristian
Hi folks, > -Original Message- > From: Ori Kam > Sent: Tuesday, June 20, 2023 12:11 PM > To: Jerin Jacob ; Zhang, Qi Z > > Cc: Dumitrescu, Cristian ; NBU-Contact- > Thomas Monjalon (EXTERNAL) ; > david.march...@redhat.com; Richardson, Bruce > ; jer...@marvell.com; ferruh.yi...@amd.com; >

[Bug 1266] net/mlx5: cannot create rte_flow rule matching ethernet multicast with jump action on bond mode 4

2023-07-19 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1266 Bug ID: 1266 Summary: net/mlx5: cannot create rte_flow rule matching ethernet multicast with jump action on bond mode 4 Product: DPDK Version: unspecified Hardware: x86

Re: [PATCH v3 0/2] Improve docs on getting info on running process

2023-07-19 Thread Bruce Richardson
On Tue, Jul 18, 2023 at 10:40:20AM -0700, Stephen Hemminger wrote: > On Tue, 18 Jul 2023 17:48:00 +0100 > Bruce Richardson wrote: > > > Add details to our documentation on how to register logging for a > > component. Also provide guidelines on when to use logs vs tracing > > vs telemetry. > > >

Re: [PATCH v10 1/1] dts: add smoke tests

2023-07-19 Thread Juraj Linkeš
Two more things and we're done. On Tue, Jul 18, 2023 at 11:49 PM wrote: > > From: Jeremy Spewock > > Adds a new test suite for running smoke tests that verify general > configuration aspects of the system under test. If any of these tests > fail, the DTS execution terminates as part of a "fail-f

[PATCH v3 0/6] dts: tg abstractions and scapy tg

2023-07-19 Thread Juraj Linkeš
Add abstractions for traffic generator split into those that can and can't capture traffic. The Scapy implementation uses an XML-RPC server for remote control. This requires an interactive session to add Scapy functions to the server. The interactive session code is based on another patch [0]. Th

[PATCH v3 1/6] dts: add scapy dependency

2023-07-19 Thread Juraj Linkeš
Required for scapy traffic generator. Signed-off-by: Juraj Linkeš --- dts/poetry.lock| 21 - dts/pyproject.toml | 1 + 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/dts/poetry.lock b/dts/poetry.lock index 2438f337cd..8cb9920ec7 100644 --- a/dts/poetry.l

[PATCH v3 2/6] dts: add traffic generator config

2023-07-19 Thread Juraj Linkeš
Node configuration - where to connect, what ports to use and what TG to use. Signed-off-by: Juraj Linkeš --- dts/conf.yaml | 26 ++- dts/framework/config/__init__.py | 84 +++--- dts/framework/config/conf_yaml_schema.json | 29 +++-

[PATCH v3 3/6] dts: traffic generator abstractions

2023-07-19 Thread Juraj Linkeš
There are traffic abstractions for all traffic generators and for traffic generators that can capture (not just count) packets. There also related abstractions, such as TGNode where the traffic generators reside and some related code. Signed-off-by: Juraj Linkeš --- doc/guides/tools/dts.rst

[PATCH v3 4/6] dts: add python remote interactive shell

2023-07-19 Thread Juraj Linkeš
The shell can be used to remotely run any Python code interactively. Signed-off-by: Juraj Linkeš --- dts/framework/remote_session/remote/python_shell.py | 12 1 file changed, 12 insertions(+) create mode 100644 dts/framework/remote_session/remote/python_shell.py diff --git a/dts/f

[PATCH v3 5/6] dts: scapy traffic generator implementation

2023-07-19 Thread Juraj Linkeš
Scapy is a traffic generator capable of sending and receiving traffic. Since it's a software traffic generator, it's not suitable for performance testing, but it is suitable for functional testing. Signed-off-by: Juraj Linkeš --- dts/framework/remote_session/__init__.py | 1 + .../remote_

[PATCH v3 6/6] dts: add basic UDP test case

2023-07-19 Thread Juraj Linkeš
The test cases showcases the scapy traffic generator code. Signed-off-by: Juraj Linkeš --- dts/conf.yaml | 1 + dts/framework/config/conf_yaml_schema.json| 3 +- dts/framework/remote_session/linux_session.py | 20 +- dts/framework/remote_session/os_sessio

[PATCH] doc: postpone deprecation of pipeline legacy API

2023-07-19 Thread Cristian Dumitrescu
Postpone the deprecation of the legacy pipeline, table and port library API and gradual stabilization of the new API. Signed-off-by: Cristian Dumitrescu --- doc/guides/rel_notes/deprecation.rst | 21 + 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/doc/guides/

[PATCH v2] doc: fix the template API requirements

2023-07-19 Thread Bing Zhao
The minimal SW and HW versions are added. Fixes: 22681deead3e ("net/mlx5/hws: enable hardware steering") Cc: va...@nvidia.com Cc: sta...@dpdk.org Signed-off-by: Bing Zhao --- v2: fix the incorrect headline prefix --- doc/guides/nics/mlx5.rst | 8 1 file changed, 8 insertions(+) diff -

[PATCH v2] MAINTAINERS: add status information

2023-07-19 Thread Stephen Hemminger
Add a new field S: which indicates the status of support for individual sub-trees. Almost everything is marked as supported but components without any maintainer are listed as Orphan. Signed-off-by: Stephen Hemminger --- v2 - mark FreeBSD as Odd Fixes - pipeline, table, port are marked as depr

Re: [PATCH] tap: fix build of tap_bpf_program

2023-07-19 Thread Stephen Hemminger
On Wed, 19 Jul 2023 11:03:36 +0100 Ferruh Yigit wrote: > On 7/19/2023 11:00 AM, Ferruh Yigit wrote: > > On 7/17/2023 8:15 PM, Stephen Hemminger wrote: > >> The tap_bpf_program.c is not built as part of normal DPDK > >> EAL environment. It is intended to be built standalone > >> and does not use

Re: [PATCH] doc: postpone deprecation of pipeline legacy API

2023-07-19 Thread Bruce Richardson
On Wed, Jul 19, 2023 at 03:12:25PM +, Cristian Dumitrescu wrote: > Postpone the deprecation of the legacy pipeline, table and port > library API and gradual stabilization of the new API. > > Signed-off-by: Cristian Dumitrescu > --- > doc/guides/rel_notes/deprecation.rst | 21 +---

Re: [PATCH] doc: update doc for idpf and cpfl

2023-07-19 Thread Stephen Hemminger
On Tue, 18 Jul 2023 17:02:12 + beilei.x...@intel.com wrote: > From: Beilei Xing > > Add recommended matching list for idpf pmd and cpfl pmd. > > Signed-off-by: Beilei Xing > --- > doc/guides/nics/cpfl.rst | 16 > doc/guides/nics/idpf.rst | 16 > 2 files c

[PATCH v11 0/1] Add DTS smoke tests

2023-07-19 Thread jspewock
From: Jeremy Spewock Added proper doc comments to the InteractiveRemoteSession and made InteractiveShell an abstract class. RFCs for this patch: * v3: https://mails.dpdk.org/archives/dev/2023-June/269859.html * v2: https://mails.dpdk.org/archives/dev/2023-May/267915.html * v1: https://mails.dpdk

[PATCH v11 1/1] dts: add smoke tests

2023-07-19 Thread jspewock
From: Jeremy Spewock Adds a new test suite for running smoke tests that verify general configuration aspects of the system under test. If any of these tests fail, the DTS execution terminates as part of a "fail-fast" model. Signed-off-by: Jeremy Spewock --- dts/conf.yaml

Re: release candidate 23.07-rc3

2023-07-19 Thread Thinh Tran
IBM - Power Systems DPDK v23.07-rc3-8-g238f67ca9c * Build CI on Fedora 30,31,34,36,37 for ppc64le * Basic PF on Mellanox: No issue found * Performance: not tested. * OS: RHEL 9.1 kernel: 5.14.0-162.6.1.el9_1.ppc64le with gcc version 11.3.1 20220421 (Red Hat 11.3.1-2) (GCC) RHEL 8.8

Re: [PATCH v2] doc: fix the template API requirements

2023-07-19 Thread Thomas Monjalon
19/07/2023 17:35, Bing Zhao: > The minimal SW and HW versions are added. > > Fixes: 22681deead3e ("net/mlx5/hws: enable hardware steering") > Cc: va...@nvidia.com > Cc: sta...@dpdk.org > > Signed-off-by: Bing Zhao Applied as "doc: add flow template API requirements for mlx5"

Re: [PATCH] doc: add tested platforms with NVIDIA NICs

2023-07-19 Thread Thomas Monjalon
19/07/2023 15:08, Raslan Darawsheh: > Add tested platforms with NVIDIA NICs to the 23.07 release notes. > > Signed-off-by: Raslan Darawsheh Applied, thanks.

Re: [PATCH] MAINTAINERS: remove one maintainer from procinfo

2023-07-19 Thread Thomas Monjalon
17/07/2023 16:28, Bruce Richardson: > On Wed, Jul 05, 2023 at 04:00:25PM -0700, Stephen Hemminger wrote: > > Mail to marayam.tah...@intel.com is bouncing. > > Presume no longer at Intel. > > > > Signed-off-by: Stephen Hemminger > > --- > > MAINTAINERS | 1 - > > 1 file changed, 1 deletion(-) > >

Re: [PATCH] doc: fix description of runtime directories

2023-07-19 Thread Thomas Monjalon
16/07/2023 20:11, Stephen Hemminger: > The documentation was never updated when the DPDK EAL > was modified to follow standard runtime conventions. > > Fixes: 1835a22f342f ("support systemd service convention for runtime > directory") > > Signed-off-by: Stephen Hemminger Applied, thanks.

Re: [PATCH] doc: fix typos and wording of cuda guide

2023-07-19 Thread Thomas Monjalon
03/07/2023 10:14, Ali Alnubani: > Adds missing punctuation, and improves wording. > Additionally, one of the example commands for adding CUDA > headers to CFLAGS is removed as it's redundant. > > Fixes: 24c77594e08f ("gpu/cuda: map GPU memory with GDRCopy") > Fixes: 1306a73b1958 ("gpu/cuda: introd

Re: [PATCH] doc: fix typos and wording of cuda guide

2023-07-19 Thread Thomas Monjalon
03/07/2023 10:14, Ali Alnubani: > Adds missing punctuation, and improves wording. > Additionally, one of the example commands for adding CUDA > headers to CFLAGS is removed as it's redundant. > > Fixes: 24c77594e08f ("gpu/cuda: map GPU memory with GDRCopy") > Fixes: 1306a73b1958 ("gpu/cuda: introd

Re: [PATCH] doc: update BIOS setting and supported HW list for NTB

2023-07-19 Thread Thomas Monjalon
> > Update BIOS settings and supported platform list for Intel NTB. > > > > Fixes: f5057be340e4 ("raw/ntb: support Intel Ice Lake") > > Cc: sta...@dpdk.org > > > > Signed-off-by: Junfeng Guo > > Acked-by: Jingjing Wu Applied and replaced unicode characters with "\ |reg|" syntax.

Re: [PATCH v2] devtools: allow variable declaration inside for loop

2023-07-19 Thread Thomas Monjalon
> > > > > Declaring variable inside for loop is not supported via C89 and it was > > > > > checked in checkpatch.sh via commit [1]. > > > > > But as DPDK supported C standard is becoming C99/C11 [2], declaring > > > > > variable inside loop can be allowed. > > > > > > > > > > [1] > > > > > Commit 4

RE: [PATCH V1] doc: add tested Intel platforms with Intel NICs

2023-07-19 Thread Zhang, Qi Z
> -Original Message- > From: Peng, Yuan > Sent: Tuesday, July 18, 2023 8:39 PM > To: Chen, LingliX ; Zhang, Qi Z > ; dev@dpdk.org > Subject: RE: [PATCH V1] doc: add tested Intel platforms with Intel NICs > > > -Original Message- > > From: Chen, LingliX > > Sent: Wednesday, Mar

Re: [PATCH] devtools: forbid reference to doc.dpdk.org/guides

2023-07-19 Thread Thomas Monjalon
21/06/2023 12:51, Bruce Richardson: > On Wed, Jun 21, 2023 at 10:09:20AM +0200, David Marchand wrote: > > Putting links to doc.dpdk.org/guides in our documentation should be > > avoided because it makes the documentation point at the current state of > > the DPDK tree regardless of the version it i

Re: [PATCH] doc: fix link to AF XDP PMD in CNI howto

2023-07-19 Thread Thomas Monjalon
21/06/2023 12:52, Bruce Richardson: > On Wed, Jun 21, 2023 at 11:57:18AM +0200, David Marchand wrote: > > Having an explicit link to the main repository documentation breaks > > other repositories documentation (like for LTS releases). > > > > Fixes: 7fc6ae50369d ("net/af_xdp: support CNI Integrat

Re: [PATCH] doc: fix link to net/bnxt flow capabilities

2023-07-19 Thread Thomas Monjalon
21/06/2023 11:57, David Marchand: > Having an explicit link to the main repository documentation breaks > other repositories documentation (like for LTS releases). > > Besides, the tables numerotation may change so add an explicit anchor to > those tables and refer to them. > > Fixes: b845c295cd1

Re: [PATCH V1] doc: add tested Intel platforms with Intel NICs

2023-07-19 Thread Thomas Monjalon
20/07/2023 06:11, Zhang, Qi Z: > > > -Original Message- > > From: Peng, Yuan > > Sent: Tuesday, July 18, 2023 8:39 PM > > To: Chen, LingliX ; Zhang, Qi Z > > ; dev@dpdk.org > > Subject: RE: [PATCH V1] doc: add tested Intel platforms with Intel NICs > > > > > -Original Message- >

Re: [PATCH v2] usertools: add tool to generate balanced rss traffic flows

2023-07-19 Thread Thomas Monjalon
28/06/2023 15:47, Robin Jarry: > usage: dpdk-rss-flows.py [-h] [-s SPORT_RANGE] [-d DPORT_RANGE] [-r] > [-k RSS_KEY] [-t RETA_SIZE] [-a] [-j] > RX_QUEUES SRC DST > > Craft IP{v6}/{TCP/UDP} traffic flows that will evenly spread over a > given number

RE: [PATCH V1] doc: add tested Intel platforms with Intel NICs

2023-07-19 Thread Zhang, Qi Z
> -Original Message- > From: Thomas Monjalon > Sent: Thursday, July 20, 2023 12:38 PM > To: Zhang, Qi Z > Cc: Peng, Yuan ; Chen, LingliX > ; dev@dpdk.org; Zhang, Helin > > Subject: Re: [PATCH V1] doc: add tested Intel platforms with Intel NICs > > 20/07/2023 06:11, Zhang, Qi Z: > > >

RE: [PATCH V1] doc: add tested Intel platforms with Intel NICs

2023-07-19 Thread Zhang, Qi Z
> -Original Message- > From: Chen, LingliX > Sent: Monday, July 17, 2023 5:52 PM > To: Zhang, Qi Z ; dev@dpdk.org > Cc: Chen, LingliX > Subject: [PATCH V1] doc: add tested Intel platforms with Intel NICs > > Add tested Intel platforms with Intel NICs to v23.07 release note. > > Signe

Re: [PATCH v2] doc: add information to update dma entry limit

2023-07-19 Thread Thomas Monjalon
05/07/2023 15:39, Nipun Gupta: > VFIO module provides configurable dma_entry_limit > parameter to store the DMA entries. By default this > is 64K and if we are using --no-huge, we shall need > to increase the value of dma_entry_limit. Add > commands in linux_gsg document to change the > dma_entry_l

release candidate 23.07-rc4

2023-07-19 Thread Thomas Monjalon
A new DPDK release candidate is ready for testing: https://git.dpdk.org/dpdk/tag/?id=v23.07-rc4 There are 37 new patches in this snapshot. Release notes: https://doc.dpdk.org/guides/rel_notes/release_23_07.html Except few policy updates and last minute release notes, everything r

Re: [PATCH v3 00/10] codeql fixes for various subsystems

2023-07-19 Thread Sinan Kaya
On Thu, 2023-07-06 at 15:43 -0700, Stephen Hemminger wrote: > > lib/eal/common/eal_common_memalloc.c | 5 - > > lib/eal/common/eal_common_memzone.c | 10 +- > > lib/eal/common/malloc_elem.c | 14 +++--- > > lib/eal/common/malloc_heap.c | 9 - > >

RE: net/mlx:mlx5 mlx_flow_create failed when set bond_mode_8023

2023-07-19 Thread Slava Ovsiienko
Hi, Yan Sorry, I do not follow the letter? Are you proposing the patch for bonding PMD? If so, could you, please send your patch in plain text, according to ML rules? It is application responsibility to start bonding virtual device (and it will start its slaves) before flow creation. With best

[PATCH] eal/linux: prevent deadlocks on rte init and cleanup

2023-07-19 Thread Jonathan Erb
Resolves a deadlock that can occur when multiple secondary processes are starting and stopping. A deadlock can occur because eal_memalloc_init() is taking a second unnecessary read lock. If another DPDK process that is terminating enters rte_eal_memory_detach() and acquires a write lock wait state

RE: [PATCH] doc: postpone deprecation of pipeline legacy API

2023-07-19 Thread Suresh Narayane, Harshad
-Original Message- From: Dumitrescu, Cristian Sent: Wednesday, July 19, 2023 8:42 PM To: dev@dpdk.org Cc: Richardson, Bruce ; Nicolau, Radu ; R, Kamalakannan ; Suresh Narayane, Harshad Subject: [PATCH] doc: postpone deprecation of pipeline legacy API Postpone the deprecation of the le

Re: [dpdk-dev] [PATCH v1] doc: process for new library approval in principle

2023-07-19 Thread Jerin Jacob
On Thu, May 18, 2023 at 6:52 PM wrote: > > From: Jerin Jacob > > Based on techboard meeting[1] action item, defining the process for a > new library approval in principle. > > [1] > https://mails.dpdk.org/archives/dev/2023-January/260035.html > > Signed-off-by: Jerin Jacob > --- > RFC..v1: > - F

Re: [dpdk-dev] [PATCH v1] doc: add inbuilt graph nodes data flow

2023-07-19 Thread Jerin Jacob
On Mon, Jun 26, 2023 at 11:34 AM Yan, Zhirun wrote: > > > > > -Original Message- > > From: jer...@marvell.com > > Sent: Friday, June 23, 2023 3:36 PM > > To: dev@dpdk.org; Jerin Jacob ; Kiran Kumar K > > ; Nithin Dabilpuram ; > > Yan, Zhirun > > Cc: tho...@monjalon.net; pbhagavat...@marv