[PATCH] app/dma-perf: parse the cmdline with getopt_long

2023-07-17 Thread Shiyang He
Use getopt_long to parse the command line for ease of extension and improved code readability. Fixes: 623dc9364dc6 ("app/dma-perf: introduce DMA performance test") Cc: sta...@dpdk.org Signed-off-by: Shiyang He --- app/test-dma-perf/main.c | 60 ++-- app/test-

RE: [dpdk-dev] [PATCH] Add Armv7 support

2023-07-17 Thread Ruifeng Wang
> -Original Message- > From: Stephen Hemminger > Sent: Tuesday, July 18, 2023 12:51 AM > To: Ruifeng Wang > Cc: Supriya Shekhar Mane ; > tho...@monjalon.net; Chandrakant > Sharpa ; dev@dpdk.org; Zaheer R M > ; Gurusidhesh G H > ; > david.march...@redhat.com; bruce.richard...@intel.com;

Re: [PATCH v16 4/6] test/memarea: support alloc and free API test

2023-07-17 Thread fengchengwen
Hi Anatoly, Thanks for your review, both fix in v17. Thanks. On 2023/7/17 21:57, Burakov, Anatoly wrote: > On 7/10/2023 7:49 AM, Chengwen Feng wrote: >> This patch supports rte_memarea_alloc() and rte_memarea_free() API >> test. >> >> Signed-off-by: Chengwen Feng >> Reviewed-by: Dongdong Liu

[PATCH v17 2/6] test/memarea: support memarea test

2023-07-17 Thread Chengwen Feng
This patch supports memarea test of rte_memarea_create() and rte_memarea_destroy() API. Signed-off-by: Chengwen Feng Reviewed-by: Dongdong Liu Acked-by: Morten Brørup Acked-by: Anatoly Burakov --- MAINTAINERS | 1 + app/test/meson.build| 2 + app/test/test_memarea.c | 139

[PATCH v17 3/6] memarea: support alloc and free API

2023-07-17 Thread Chengwen Feng
This patch supports rte_memarea_alloc() and rte_memarea_free() API. Signed-off-by: Chengwen Feng Reviewed-by: Dongdong Liu Acked-by: Morten Brørup Acked-by: Anatoly Burakov --- doc/guides/prog_guide/memarea_lib.rst | 6 + lib/memarea/memarea_private.h | 10 ++ lib/memarea/rte_memar

[PATCH v17 1/6] memarea: introduce memarea library

2023-07-17 Thread Chengwen Feng
The memarea library is an allocator of variable-size object which based on a memory region. This patch provides rte_memarea_create() and rte_memarea_destroy() API. Signed-off-by: Chengwen Feng Reviewed-by: Dongdong Liu Acked-by: Morten Brørup Acked-by: Anatoly Burakov --- MAINTAINERS

[PATCH v17 0/6] introduce memarea library

2023-07-17 Thread Chengwen Feng
The memarea library is an allocator of variable-size object which based on a memory region. The main features are as follows: - The memory region can be initialized from the following memory sources: 1. HEAP: e.g. invoke rte_malloc_socket. 2. LIBC: e.g. invoke posix_memalign. 3. Another me

[PATCH v17 4/6] test/memarea: support alloc and free API test

2023-07-17 Thread Chengwen Feng
This patch supports rte_memarea_alloc() and rte_memarea_free() API test. Signed-off-by: Chengwen Feng Reviewed-by: Dongdong Liu Acked-by: Morten Brørup Acked-by: Anatoly Burakov --- app/test/test_memarea.c | 214 +++- 1 file changed, 213 insertions(+), 1 de

[PATCH v17 6/6] test/memarea: support dump API test

2023-07-17 Thread Chengwen Feng
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 a/app/test/test_memarea.c b/app/test/test_mema

[PATCH v17 5/6] memarea: support dump API

2023-07-17 Thread Chengwen Feng
This patch supports rte_memarea_dump() API which could be used for debug. Signed-off-by: Chengwen Feng Reviewed-by: Dongdong Liu Acked-by: Morten Brørup Acked-by: Anatoly Burakov --- doc/guides/prog_guide/memarea_lib.rst | 3 + lib/memarea/rte_memarea.c | 100 +++

[PATCH v2 3/3] doc: announce bonding function change

2023-07-17 Thread Chaoyong He
In order to support inclusive naming, some of the function in DPDK will need to be renamed. Do this through deprecation process now for 23.07. Signed-off-by: Long Wu Signed-off-by: Chaoyong He --- doc/guides/rel_notes/deprecation.rst | 12 1 file changed, 12 insertions(+) diff --g

[PATCH v2 2/3] doc: announce bonding data change

2023-07-17 Thread Chaoyong He
In order to support inclusive naming, the data structure of bonding 8023 info need to be renamed. Do this through deprecation process now for 23.07. Signed-off-by: Chaoyong He --- doc/guides/rel_notes/deprecation.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/guides/rel_notes/dep

[PATCH v2 1/3] doc: announce bonding macro change

2023-07-17 Thread Chaoyong He
From: Long Wu In order to support inclusive naming, some of the macro in DPDK will need to be renamed. Do this through deprecation process now for 23.07. Signed-off-by: Long Wu Reviewed-by: Chaoyong He --- app/test-pmd/testpmd.c | 2 +- doc/guides/rel_notes/deprecation.rst |

[PATCH v2 0/3] announce bonding macro and function change

2023-07-17 Thread Chaoyong He
In order to support inclusive naming, some of the macro and function in DPDK will need to be renamed. Do this through deprecation process now for 23.07. --- v2: * Drop the rename of function and data struct in the logics. --- Chaoyong He (2): doc: announce bonding data change doc: announce bo

RE: [PATCH 1/3] doc: announce bonding macro change

2023-07-17 Thread Chaoyong He
> On 7/14/2023 9:15 AM, Chaoyong He wrote: > > From: Long Wu > > > > In order to support inclusive naming, some of the macro in DPDK will > > need to be renamed. Do this through deprecation process now for 23.07. > > > > Signed-off-by: Long Wu > > Reviewed-by: Chaoyong He > > > > Acked-by: Ferr

RE: [PATCH 3/3] doc: announce bonding function change

2023-07-17 Thread Chaoyong He
> On 7/14/2023 9:15 AM, Chaoyong He wrote: > > In order to support inclusive naming, some of the function in DPDK > > will need to be renamed. Do this through deprecation process now for > 23.07. > > > > Signed-off-by: Long Wu > > Signed-off-by: Chaoyong He > > <...> > > > --- a/drivers/net/bon

RE: [PATCH 2/3] doc: announce bonding data change

2023-07-17 Thread Chaoyong He
> On 7/14/2023 9:15 AM, Chaoyong He wrote: > > In order to support inclusive naming, the data structure of bonding > > 8023 info need to be renamed. Do this through deprecation process now > > for 23.07. > > > > Signed-off-by: Chaoyong He > > --- > > doc/guides/rel_notes/deprecation.rst | 3

RE: [PATCH v2 0/5] bbdev: API extension for 23.11

2023-07-17 Thread Chautru, Nicolas
Hi Maxime, Hemant, Can I get some review/ack for this serie please. Thanks Nic > -Original Message- > From: Chautru, Nicolas > Sent: Thursday, June 15, 2023 9:49 AM > To: dev@dpdk.org; maxime.coque...@redhat.com > Cc: Rix, Tom ; hemant.agra...@nxp.com; > david.march...@redhat.com; Varga

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

2023-07-17 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

[PATCH v8 0/1] Add DTS smoke tests

2023-07-17 Thread jspewock
From: Jeremy Spewock Addresses comments on previous patch and allows for non-root users to run DTS. To do this, a reference to the method for getting elevated permissions was passed into the InteractiveShell. The only alternative to this would be to build the arguments in OSSession which isn't id

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

2023-07-17 Thread Jeremy Spewock
On Mon, Jul 17, 2023 at 10:50 AM Juraj Linkeš wrote: > I found additional things while working with the interactive shell code. > > On Thu, Jul 13, 2023 at 6:54 PM wrote: > > > > From: Jeremy Spewock > > > > Adds a new test suite for running smoke tests that verify general > > configuration asp

[PATCH] tap: fix build of tap_bpf_program

2023-07-17 Thread Stephen Hemminger
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") Note: this patch will cause expected warnings from checkpatch beca

Reminder - Registration for DPDK Summit in Dublin, Sep. 12-13 '23

2023-07-17 Thread Nathan Southern
Good afternoon DPDK Community, September 12-13, 2023 we will have the DPDK Summit at the Gibson Hotel in Point Square in Dublin. Registration and attendance for this event are *free!* Our call for speakers has just been finalized, and talks have been chosen - information about this, including a s

Re: [dpdk-dev] [PATCH] Add Armv7 support

2023-07-17 Thread Stephen Hemminger
On Thu, 24 Jun 2021 06:58:15 + Ruifeng Wang wrote: > > > > Do you have any plan on CI? > > I don't think DPDK Lab has Armv7 hardware to run tests. > Yes, we do have plans for CI for armv7, We are currently conducting > our testing with WPJ419 platform. I would like to note what all things >

Re: [External] Re: [PATCH v2] mempool: fix rte_mempool_avail_count may segment fault when used in multiprocess

2023-07-17 Thread Stephen Hemminger
On Tue, 29 Nov 2022 17:57:05 +0800 Fengnan Chang wrote: > Olivier Matz 于2022年11月22日周二 23:25写道: > > > > Hi, > > > > On Tue, Nov 15, 2022 at 08:35:02PM +0800, Fengnan Chang wrote: > > > rte_mempool_create put tailq entry into rte_mempool_tailq list before > > > populate, and pool_data set when p

Re: [PATCH] set namespace prefix to threads

2023-07-17 Thread Bruce Richardson
On Mon, Jul 17, 2023 at 06:07:59PM +0200, Thomas Monjalon wrote: > 17/07/2023 16:09, Bruce Richardson: > > On Mon, Jul 03, 2023 at 01:49:55PM +0200, Thomas Monjalon wrote: > > > 03/07/2023 13:38, David Marchand: > > > > On Mon, Jul 3, 2023 at 1:24 PM Thomas Monjalon > > > > wrote: > > > > > > > >

Re: Introducing status field to MAINTAINERS?

2023-07-17 Thread Bruce Richardson
On Mon, Jul 17, 2023 at 06:04:51PM +0200, Thomas Monjalon wrote: > 17/07/2023 16:12, Bruce Richardson: > > On Mon, Jul 03, 2023 at 03:10:57PM -0700, Stephen Hemminger wrote: > > > While going through the old patches, noticed some that are in parts > > > of DPDK that are pretty much abandoned. > > >

Re: Introducing status field to MAINTAINERS?

2023-07-17 Thread Stephen Hemminger
On Mon, 17 Jul 2023 18:04:51 +0200 Thomas Monjalon wrote: > 17/07/2023 16:12, Bruce Richardson: > > On Mon, Jul 03, 2023 at 03:10:57PM -0700, Stephen Hemminger wrote: > > > While going through the old patches, noticed some that are in parts > > > of DPDK that are pretty much abandoned. > > > >

Re: [PATCH] set namespace prefix to threads

2023-07-17 Thread Thomas Monjalon
17/07/2023 16:09, Bruce Richardson: > On Mon, Jul 03, 2023 at 01:49:55PM +0200, Thomas Monjalon wrote: > > 03/07/2023 13:38, David Marchand: > > > On Mon, Jul 3, 2023 at 1:24 PM Thomas Monjalon > > > wrote: > > > > > > > > When looking at threads in a system, it can be confusing > > > > to find s

Re: Introducing status field to MAINTAINERS?

2023-07-17 Thread Thomas Monjalon
17/07/2023 16:12, Bruce Richardson: > On Mon, Jul 03, 2023 at 03:10:57PM -0700, Stephen Hemminger wrote: > > While going through the old patches, noticed some that are in parts > > of DPDK that are pretty much abandoned. > > > > My suggestion would be introduce a subsystem status field in MAINTAIN

TAP device BPF build process broken

2023-07-17 Thread Stephen Hemminger
The current way the BPF code is handled in the TAP driver is a mess. 1. The source is provided with partial instructions in the documentation. No script or automated build process. And it should get tested. 2. No longer builds without modification. The header file is missing. You have to ma

Re: [PATCH 1/3] doc: announce bonding macro change

2023-07-17 Thread Ferruh Yigit
On 7/14/2023 9:15 AM, Chaoyong He wrote: > From: Long Wu > > In order to support inclusive naming, some of the macro in DPDK will > need to be renamed. Do this through deprecation process now for 23.07. > > Signed-off-by: Long Wu > Reviewed-by: Chaoyong He > Acked-by: Ferruh Yigit <...> >

Re: [PATCH 0/3] announce bonding macro and function change

2023-07-17 Thread Ferruh Yigit
On 7/14/2023 9:15 AM, Chaoyong He wrote: > In order to support inclusive naming, some of the macro and function in > DPDK will need to be renamed. Do this through deprecation process now > for 23.07. > > Chaoyong He (2): > doc: announce bonding data change > doc: announce bonding function chan

Re: [PATCH 3/3] doc: announce bonding function change

2023-07-17 Thread Ferruh Yigit
On 7/14/2023 9:15 AM, Chaoyong He wrote: > In order to support inclusive naming, some of the function in DPDK will > need to be renamed. Do this through deprecation process now for 23.07. > > Signed-off-by: Long Wu > Signed-off-by: Chaoyong He <...> > --- a/drivers/net/bonding/rte_eth_bond.h >

Re: [PATCH] usertools: enhance logic to display NUMA

2023-07-17 Thread Thomas Monjalon
14/07/2023 11:14, Varghese, Vipin: > From: Thomas Monjalon > > 11/07/2023 17:42, Stephen Hemminger: > > > On Sat, 26 Mar 2022 00:32:07 -0700 > > > Vipin Varghese wrote: > > > > > > > + > > > > + output = " Socket " + str(socket).ljust(3, ' ') + " Numa " + > > str(numa).zfill(1) + " " > > > > +

Re: [PATCH 2/3] doc: announce bonding data change

2023-07-17 Thread Ferruh Yigit
On 7/14/2023 9:15 AM, Chaoyong He wrote: > In order to support inclusive naming, the data structure of bonding 8023 > info need to be renamed. Do this through deprecation process now for > 23.07. > > Signed-off-by: Chaoyong He > --- > doc/guides/rel_notes/deprecation.rst | 3 +++ > drivers/

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

2023-07-17 Thread Juraj Linkeš
I found additional things while working with the interactive shell code. On Thu, Jul 13, 2023 at 6:54 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 e

Re: [PATCH v2] mailmap: fix sorting

2023-07-17 Thread Bruce Richardson
On Tue, Jul 11, 2023 at 10:12:02AM +0100, Ferruh Yigit wrote: > On 7/6/2023 3:42 AM, Stephen Hemminger wrote: > > On Wed, 5 Jul 2023 19:32:48 -0700 > > Stephen Hemminger wrote: > > > >> The mailmap file is supposed to be in sorted order, > >> but several entries are in the wrong place. > >> > >>

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

2023-07-17 Thread 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(-) > Acked-by: Bruce Richardson

Re: [PATCH 2/2] known_issues: drop note about UIO with really old kernels

2023-07-17 Thread Bruce Richardson
On Mon, Jul 03, 2023 at 04:59:47PM -0700, Stephen Hemminger wrote: > On Thu, 17 Feb 2022 08:45:17 -0800 > Stephen Hemminger wrote: > > > The DPDK has not supported 3.9 kernel for a long time so the > > release note about UIO kernel bug in older versions is no > > longer relevant. > > > > Signed-

Re: Introducing status field to MAINTAINERS?

2023-07-17 Thread Bruce Richardson
On Mon, Jul 03, 2023 at 03:10:57PM -0700, Stephen Hemminger wrote: > While going through the old patches, noticed some that are in parts > of DPDK that are pretty much abandoned. > > My suggestion would be introduce a subsystem status field in MAINTAINERS > similar to what is done in Linux kernel.

Re: [PATCH 1/1] net/sfc: add explicit fail path for unknown tunnel flow type

2023-07-17 Thread Ferruh Yigit
On 7/17/2023 9:27 AM, Andrew Rybchenko wrote: > On 7/14/23 15:41, Ivan Malov wrote: >> The driver supports flow tunnel offload. When the parsed rule >> type is unknown, which must not happen, the driver does not >> properly indicate the failure in non-debug builds. That >> presumably makes Coverity

Re: [PATCH] set namespace prefix to threads

2023-07-17 Thread Bruce Richardson
On Mon, Jul 03, 2023 at 01:49:55PM +0200, Thomas Monjalon wrote: > 03/07/2023 13:38, David Marchand: > > On Mon, Jul 3, 2023 at 1:24 PM Thomas Monjalon wrote: > > > > > > When looking at threads in a system, it can be confusing > > > to find some unknown threads without a clue it is started by DPD

Re: [PATCH v16 4/6] test/memarea: support alloc and free API test

2023-07-17 Thread Burakov, Anatoly
On 7/10/2023 7:49 AM, Chengwen Feng wrote: This patch supports rte_memarea_alloc() and rte_memarea_free() API test. Signed-off-by: Chengwen Feng Reviewed-by: Dongdong Liu Acked-by: Morten Brørup --- +static int +test_memarea_free_fail(void) +{ + struct rte_memarea_param init; +

Re: [PATCH v2] docs: freebsd: Update to 20.11

2023-07-17 Thread Bruce Richardson
On Mon, Jul 03, 2023 at 05:19:18PM +0200, Thomas Monjalon wrote: > 30/06/2023 18:41, David Young: > > This patch updates the installation instructions for DPDK on FreeBSD. > > It specifies the explicit version of DPDK (20.11) to be installed. > > This change is important as the 'dpdk' package is an

Re: [PATCH v16 3/6] memarea: support alloc and free API

2023-07-17 Thread Burakov, Anatoly
On 7/10/2023 7:49 AM, Chengwen Feng wrote: This patch supports rte_memarea_alloc() and rte_memarea_free() API. Signed-off-by: Chengwen Feng Reviewed-by: Dongdong Liu Acked-by: Morten Brørup --- Hi, Kind of a general question: the allocation code doesn't seem to take into account that sinc

Re: [PATCH] doc: announce change for building deprecated libraries

2023-07-17 Thread Bruce Richardson
On Wed, Jun 28, 2023 at 04:56:37PM +0200, Morten Brørup wrote: > > From: David Marchand [mailto:david.march...@redhat.com] > > Sent: Wednesday, 28 June 2023 15.43 > > > > As part of a larger work on selecting parts of DPDK of interests for > > users, enabling deprecated libraries won't be done via

Re: [PATCH v16 2/6] test/memarea: support memarea test

2023-07-17 Thread Burakov, Anatoly
On 7/10/2023 7:49 AM, Chengwen Feng wrote: This patch supports memarea test of rte_memarea_create() and rte_memarea_destroy() API. Signed-off-by: Chengwen Feng Reviewed-by: Dongdong Liu Acked-by: Morten Brørup --- Hi, + /* test for create with LIBC */ + test_memarea_init_param

RE: release candidate 23.07-rc3

2023-07-17 Thread Wael Abualrub
Hi, > -Original Message- > From: Thomas Monjalon > Sent: Wednesday, July 12, 2023 8:39 PM > To: annou...@dpdk.org > Subject: release candidate 23.07-rc3 > > A new DPDK release candidate is ready for testing: > https://git.dpdk.org/dpdk/tag/?id=v23.07-rc3 > > There are 139 new patche

Re: [PATCH v16 1/6] memarea: introduce memarea library

2023-07-17 Thread Burakov, Anatoly
On 7/10/2023 7:49 AM, Chengwen Feng wrote: The memarea library is an allocator of variable-size object which based on a memory region. This patch provides rte_memarea_create() and rte_memarea_destroy() API. Signed-off-by: Chengwen Feng Reviewed-by: Dongdong Liu Acked-by: Morten Brørup ---

Re: [PATCH v4 8/9] build: make fragmentation library optional

2023-07-17 Thread Bruce Richardson
On Tue, Jun 27, 2023 at 10:32:55AM +0100, Konstantin Ananyev wrote: > 23/06/2023 16:07, Bruce Richardson пишет: > > This library is not essential for most DPDK uses, so mark it as optional > > in the build config. > > > > Signed-off-by: Bruce Richardson > > Acked-by: Morten Brørup > > --- > >

Re: [PATCH 1/1] net/sfc: drop redundant null check from IPv4 flow item parse

2023-07-17 Thread Ferruh Yigit
On 7/14/2023 6:38 AM, Andrew Rybchenko wrote: > On 7/14/23 01:40, Ivan Malov wrote: >> Such check is already done at an earlier point, in >> sfc_flow_parse_pattern(), so remove it from IPv4 >> item parser. Doing so should fix Coverity issue. >> >> Coverity issue: 395526 >> Fixes: f79ce621e963 ("net

Re: [PATCH v5 0/2] Select optional libraries

2023-07-17 Thread Bruce Richardson
On Wed, Jun 28, 2023 at 04:48:13PM +0200, Morten Brørup wrote: > > From: David Marchand [mailto:david.march...@redhat.com] > > Sent: Wednesday, 28 June 2023 15.20 > > > > This series is one implementation to try and please users who want to > > select more easily which parts of DPDK are built. >

Re: [PATCH v1] doc: deprecation notice to add callback data to rte_event_fp_ops

2023-07-17 Thread Ferruh Yigit
On 7/17/2023 12:43 PM, Jerin Jacob wrote: > On Mon, Jul 17, 2023 at 4:54 PM Sivaprasad Tummala > wrote: >> >> Deprecation notice to add "rte_eventdev_port_data" field to >> ``rte_event_fp_ops`` for callback support. >> >> Signed-off-by: Sivaprasad Tummala > > Acked-by: Jerin Jacob > Acked-by:

Re: [PATCH v1] doc: deprecation notice to add callback data to rte_event_fp_ops

2023-07-17 Thread Jerin Jacob
On Mon, Jul 17, 2023 at 4:54 PM Sivaprasad Tummala wrote: > > Deprecation notice to add "rte_eventdev_port_data" field to > ``rte_event_fp_ops`` for callback support. > > Signed-off-by: Sivaprasad Tummala Acked-by: Jerin Jacob > --- > doc/guides/rel_notes/deprecation.rst | 7 +++ > 1 fil

[PATCH v1] doc: deprecation notice to add callback data to rte_event_fp_ops

2023-07-17 Thread Sivaprasad Tummala
Deprecation notice to add "rte_eventdev_port_data" field to ``rte_event_fp_ops`` for callback support. Signed-off-by: Sivaprasad Tummala --- doc/guides/rel_notes/deprecation.rst | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_note

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

2023-07-17 Thread Juraj Linkeš
On Sat, Jul 15, 2023 at 1:25 AM Jeremy Spewock wrote: > > > > On Fri, Jul 14, 2023 at 11:30 AM Juraj Linkeš > wrote: >> >> On Fri, Jul 14, 2023 at 4:47 PM Patrick Robb wrote: >> > >> > >> > Tested-by: Patrick Robb >> >> Have you tested with a non-root user? The unit tests are failing for me. >

Re: [PATCH v2] doc: build manpages as well as html output

2023-07-17 Thread Bruce Richardson
On Tue, Jul 04, 2023 at 10:21:22AM +0200, David Marchand wrote: > On Tue, Jun 6, 2023 at 3:13 PM Bruce Richardson > wrote: > > > > Doxygen can produce manpage output as well as html output for the DPDK > > APIs. However, we need to do this as a separate task as the manpage > > output needs to be p

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

2023-07-17 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 v2 5/6] dts: scapy traffic generator implementation

2023-07-17 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 v2 4/6] dts: add python remote interactive shell

2023-07-17 Thread Juraj Linkeš
The shell can be used to remotely run any Python code interactively. Signed-off-by: Juraj Linkeš --- dts/framework/config/__init__.py | 28 +--- dts/framework/remote_session/__init__.py | 2 +- dts/framework/remote_session/os_session.py| 42 +- .../

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

2023-07-17 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 v2 2/6] dts: add traffic generator config

2023-07-17 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 | 87 +++--- dts/framework/config/conf_yaml_schema.json | 29 +++-

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

2023-07-17 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 v2 0/6] dts: tg abstractions and scapy tg

2023-07-17 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 funcions to the server. The interactive session code is based on another patch [0]. The

Re: [PATCH v2] doc: fix typos and wording in flow API guide

2023-07-17 Thread Ferruh Yigit
On 7/16/2023 7:58 AM, Ali Alnubani wrote: > This fixes typos, punctuation and wording in the rte flow API guide. > > Fixes: 2f82d143fb31 ("ethdev: add group jump action") > Cc: sta...@dpdk.org > > Signed-off-by: Ali Alnubani > Acked-by: John McNamara > Applied to dpdk-next-net/main, thanks.

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

2023-07-17 Thread Lingli Chen
Add tested Intel platforms with Intel NICs to v23.07 release note. Signed-off-by: Lingli Chen --- doc/guides/rel_notes/release_23_07.rst | 135 + 1 file changed, 135 insertions(+) diff --git a/doc/guides/rel_notes/release_23_07.rst b/doc/guides/rel_notes/release_23_07.r

[POC] net/iavf: support no data path polling mode

2023-07-17 Thread Mingjin Ye
Introduces a devargs "no-poll-on-link-down" in iavf PMD. When this flag is set, the PMD switches to no-poll mode when the link state is down (rx/tx burst returns to 0 immediately). When the link state returns to normal, PMD switches to normal rx/tx burst state. Signed-off-by: Mingjin Ye --- driv

Re: [PATCH] doc: announce ethdev operation struct changes

2023-07-17 Thread Andrew Rybchenko
On 7/13/23 15:50, Morten Brørup wrote: From: Feifei Wang [mailto:feifei.wa...@arm.com] Sent: Thursday, 13 July 2023 04.37 From: Feifei Wang Sent: Tuesday, July 4, 2023 4:17 PM From: Feifei Wang Sent: Tuesday, July 4, 2023 4:10 PM To support mbufs recycle mode, announce the coming ABI change

Re: [PATCH 1/1] net/sfc: add explicit fail path for unknown tunnel flow type

2023-07-17 Thread Andrew Rybchenko
On 7/14/23 15:41, Ivan Malov wrote: The driver supports flow tunnel offload. When the parsed rule type is unknown, which must not happen, the driver does not properly indicate the failure in non-debug builds. That presumably makes Coverity report possible NULL pointer dereference in regard with u