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-
> -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;
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
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
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
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
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
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
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
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 +++
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
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
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 |
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
> 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
> 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
> 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
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
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
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
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
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
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
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
>
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
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:
> > > > >
> > >
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.
> > >
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.
> > >
>
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
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
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
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
<...>
>
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
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
>
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) + " "
> > > > +
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/
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
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.
> >>
> >>
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
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-
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.
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
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
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;
+
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
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
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
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
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
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
---
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
> > ---
> >
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
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.
>
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:
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
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
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.
>
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
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
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_
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 +-
.../
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
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 +++-
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
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
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.
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
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
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
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
70 matches
Mail list logo