RE: [PATCH v2] net/ixgbe: add proper memory barriers for some Rx functions

2023-05-03 Thread Ruifeng Wang
> -Original Message- > From: Konstantin Ananyev > Sent: Monday, May 1, 2023 9:29 PM > To: zhou...@loongson.cn > Cc: dev@dpdk.org; maob...@loongson.cn; qiming.y...@intel.com; > wenjun1...@intel.com; > Ruifeng Wang ; d...@linux.vnet.ibm.com > Subject: Re: [PATCH v2] net/ixgbe: add proper me

Re: [PATCH] doc: fix typo in graph lib doc

2023-05-03 Thread Jerin Jacob
On Thu, May 4, 2023 at 10:01 AM Ashwin Sekhar T K wrote: > > Fix typo in graph lib doc. > > Fixes: 4dc6d8e63c168 ("doc: add graph library guide") > > Signed-off-by: Ashwin Sekhar T K Acked-by: Jerin Jacob > --- > doc/guides/prog_guide/graph_lib.rst | 2 +- > 1 file changed, 1 insertion(+), 1

[PATCH] doc: fix typo in graph lib doc

2023-05-03 Thread Ashwin Sekhar T K
Fix typo in graph lib doc. Fixes: 4dc6d8e63c168 ("doc: add graph library guide") Signed-off-by: Ashwin Sekhar T K --- doc/guides/prog_guide/graph_lib.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/prog_guide/graph_lib.rst b/doc/guides/prog_guide/graph_lib.rs

RE: 21.11.4 patches review and test

2023-05-03 Thread Xu, HailinX
> -Original Message- > From: Kevin Traynor > Sent: Tuesday, May 2, 2023 5:35 PM > To: Xu, HailinX ; sta...@dpdk.org > Cc: Stokes, Ian ; Mcnamara, John > ; Luca Boccassi ; Xu, Qian Q > ; Thomas Monjalon ; Peng, > Yuan ; Chen, Zhaoyan ; > dev@dpdk.org > Subject: Re: 21.11.4 patches review an

RE: [dpdk-dev] [PATCH v2] ring: fix use after free in ring release

2023-05-03 Thread Honnappa Nagarahalli
> > > > > > > After the memzone is freed, it is not removed from the 'rte_ring_tailq'. > > If rte_ring_lookup is called at this time, it will cause a > > use-after-free problem. This change prevents that from happening. > > > > Fixes: 4e32101f9b01 ("ring: suppor

Re: [EXT] Re: [PATCH v3] app/mldev: add internal function for file read

2023-05-03 Thread Tyler Retzlaff
On Wed, May 03, 2023 at 11:28:26AM -0700, Stephen Hemminger wrote: > On Wed, 3 May 2023 14:59:40 + > Srikanth Yalavarthi wrote: > > > > > > > Granted this is a test program. But why did you ignore my feedback that > > > this > > > is the slowest way to read a file. Stdio requires extra buff

Re: [dpdk-dev] [PATCH v2] ring: fix use after free in ring release

2023-05-03 Thread Konstantin Ananyev
03/05/2023 06:44, Honnappa Nagarahalli пишет: After the memzone is freed, it is not removed from the 'rte_ring_tailq'. If rte_ring_lookup is called at this time, it will cause a use-after-free problem. This change prevents that from happening. Fixes: 4e32101f9b01 ("ring: support freeing")

RE: [PATCH V3] lib: set/get max memzone segments

2023-05-03 Thread Morten Brørup
> From: Ophir Munk [mailto:ophi...@nvidia.com] > Sent: Wednesday, 3 May 2023 09.27 > > In current DPDK the RTE_MAX_MEMZONE definition is unconditionally hard > coded as 2560. For applications requiring different values of this > parameter – it is more convenient to set the max value via an rte AP

RE: [PATCH] build: announce requirement for C11

2023-05-03 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Wednesday, 3 May 2023 17.14 > > Add a deprecation notice informing users that we will require a C11 > compiler from 23.11 release onwards. This requirement was agreed by > technical board to enable use of newer C language feature

RE: [RFC PATCH] ring: adding TPAUSE instruction to ring dequeue

2023-05-03 Thread Morten Brørup
> From: Coyle, David [mailto:david.co...@intel.com] > Sent: Wednesday, 3 May 2023 17.32 > > Hi Morten > > > From: Morten Brørup > > > > > From: David Coyle [mailto:david.co...@intel.com] > > > Sent: Wednesday, 3 May 2023 13.39 > > > > > > This is NOT for upstreaming. This is being submitted to a

Re: [EXT] Re: [PATCH v3] app/mldev: add internal function for file read

2023-05-03 Thread Stephen Hemminger
On Wed, 3 May 2023 14:59:40 + Srikanth Yalavarthi wrote: > > > > Granted this is a test program. But why did you ignore my feedback that this > > is the slowest way to read a file. Stdio requires extra buffering, use > > regular > > read() or better yet mmap(). > > Agree on the improveme

Re: [RFC PATCH v1 5/5] dts: add traffic generator node to dts runner

2023-05-03 Thread Jeremy Spewock
Acked-by: Jeremy Spewock On Thu, Apr 20, 2023 at 5:51 AM Juraj Linkeš wrote: > Initialize the TG node and do basic verification. > > Signed-off-by: Juraj Linkeš > --- > dts/framework/dts.py| 42 - > dts/framework/testbed_model/__init__.py | 1 + >

Re: [PATCH v2] dts: replace pexpect with fabric

2023-05-03 Thread Jeremy Spewock
On Tue, May 2, 2023 at 9:00 AM Juraj Linkeš wrote: > On Fri, Apr 28, 2023 at 9:04 PM Jeremy Spewock > wrote: > > > > > > > > On Mon, Apr 24, 2023 at 9:35 AM Juraj Linkeš > wrote: > >> > >> Pexpect is not a dedicated SSH connection library while Fabric is. With > >> Fabric, all SSH-related logic

Re: [PATCH v3 next 0/7] net/vmxnet3: upgrade to version 7

2023-05-03 Thread Ferruh Yigit
On 4/28/2023 8:10 AM, Ronak Doshi wrote: > vmxnet3 emulation has recently added several new features including > support for uniform passthrough(UPT). To make UPT work vmxnet3 has > to be enhanced as per the new specification. This patch series > extends the vmxnet3 driver to leverage these new fea

[PATCH v2] build: announce requirement for C11

2023-05-03 Thread Bruce Richardson
Add a deprecation notice informing users that we will require a C11 compiler from 23.11 release onwards. This requirement was agreed by technical board to enable use of newer C language features, e.g. standard atomics. [1] [1] http://inbox.dpdk.org/dev/dbapr08mb58148cec3e1454e8848a938998...@dbapr

Re: [PATCH v3 next 7/7] net/vmxnet3: update to version 7

2023-05-03 Thread Ferruh Yigit
On 4/28/2023 8:10 AM, Ronak Doshi wrote: > diff --git a/doc/guides/rel_notes/release_23_07.rst > b/doc/guides/rel_notes/release_23_07.rst > index a9b1293689..907a06cd62 100644 > --- a/doc/guides/rel_notes/release_23_07.rst > +++ b/doc/guides/rel_notes/release_23_07.rst > @@ -55,6 +55,12 @@ New Fea

Re: DPDK 22.11 Troubleshooting

2023-05-03 Thread Bruce Richardson
On Wed, May 03, 2023 at 04:53:20PM +, Gilbert Carrillo wrote: > Make static returns an error (see attached). > > v/R, > Gilbert > To help investigate this issue, can you perhaps include the text of the full build output when you run "make static". On my system I see libelf listed on the linke

Re: DPDK 22.11 Troubleshooting

2023-05-03 Thread Bruce Richardson
On Wed, May 03, 2023 at 04:53:20PM +, Gilbert Carrillo wrote: > Make static returns an error (see attached). > > v/R, > Gilbert > JFYI, best practice is to reply below last message when replying in mailing list. It just makes it easier for readers to follow the conversation as it flows from

[RFC PATCH] power: refactor uncore power management interfaces

2023-05-03 Thread Sivaprasad Tummala
From: Sivaprasad Tummala currently the uncore power management implementation is vendor specific. Added new vendor agnostic uncore power interface similar to rte_power and subsequently will rename specific implementations ("rte_power_intel_uncore") to "power_intel_uncore" along with functions. S

Re: [PATCH] build: announce requirement for C11

2023-05-03 Thread Ferruh Yigit
On 5/3/2023 4:57 PM, Bruce Richardson wrote: > On Wed, May 03, 2023 at 04:39:14PM +0100, Ferruh Yigit wrote: >> On 5/3/2023 4:14 PM, Bruce Richardson wrote: >>> Add a deprecation notice informing users that we will require a C11 >>> compiler from 23.11 release onwards. This requirement was agreed b

Re: DPDK 22.11 Troubleshooting

2023-05-03 Thread Bruce Richardson
On Wed, May 03, 2023 at 04:22:05PM +, Gilbert Carrillo wrote: > Hi Bruce, > > Thank you for the response. > > There is no errors when I run the makefile, however I do see a difference in > the programs. I don't believe the makefile is linking all the libraries > together as intended. > >

Re: [PATCH] build: announce requirement for C11

2023-05-03 Thread Tyler Retzlaff
On Wed, May 03, 2023 at 04:57:40PM +0100, Bruce Richardson wrote: > On Wed, May 03, 2023 at 04:39:14PM +0100, Ferruh Yigit wrote: > > On 5/3/2023 4:14 PM, Bruce Richardson wrote: > > > Add a deprecation notice informing users that we will require a C11 > > > compiler from 23.11 release onwards. Thi

Re: [PATCH] build: announce requirement for C11

2023-05-03 Thread Bruce Richardson
On Wed, May 03, 2023 at 04:39:14PM +0100, Ferruh Yigit wrote: > On 5/3/2023 4:14 PM, Bruce Richardson wrote: > > Add a deprecation notice informing users that we will require a C11 > > compiler from 23.11 release onwards. This requirement was agreed by > > technical board to enable use of newer C l

Re: [PATCH] build: announce requirement for C11

2023-05-03 Thread Tyler Retzlaff
On Wed, May 03, 2023 at 04:39:14PM +0100, Ferruh Yigit wrote: > On 5/3/2023 4:14 PM, Bruce Richardson wrote: > > Add a deprecation notice informing users that we will require a C11 > > compiler from 23.11 release onwards. This requirement was agreed by > > technical board to enable use of newer C l

Re: [PATCH] build: announce requirement for C11

2023-05-03 Thread Ferruh Yigit
On 5/3/2023 4:14 PM, Bruce Richardson wrote: > Add a deprecation notice informing users that we will require a C11 > compiler from 23.11 release onwards. This requirement was agreed by > technical board to enable use of newer C language features, e.g. > standard atomics. [1] > > [1] > http://inbo

Re: [PATCH] build: announce requirement for C11

2023-05-03 Thread Bruce Richardson
On Wed, May 03, 2023 at 08:35:44AM -0700, Tyler Retzlaff wrote: > On Wed, May 03, 2023 at 04:14:13PM +0100, Bruce Richardson wrote: > > Add a deprecation notice informing users that we will require a C11 > > compiler from 23.11 release onwards. This requirement was agreed by > > technical board to

Re: [PATCH] build: announce requirement for C11

2023-05-03 Thread Tyler Retzlaff
On Wed, May 03, 2023 at 04:14:13PM +0100, Bruce Richardson wrote: > Add a deprecation notice informing users that we will require a C11 > compiler from 23.11 release onwards. This requirement was agreed by > technical board to enable use of newer C language features, e.g. > standard atomics. [1] >

RE: [RFC PATCH] ring: adding TPAUSE instruction to ring dequeue

2023-05-03 Thread Coyle, David
Hi Morten > -Original Message- > From: Morten Brørup > > > From: David Coyle [mailto:david.co...@intel.com] > > Sent: Wednesday, 3 May 2023 13.39 > > > > This is NOT for upstreaming. This is being submitted to allow early > > comparison testing with the preferred solution, which will add

Re: [PATCH 1/1] eal: add tracepoints to track lcores and services

2023-05-03 Thread Mattias Rönnblom
On 2023-05-03 12:14, Van Haaren, Harry wrote: >> -Original Message- >> From: Arnaud Fiorini >> Sent: Monday, April 24, 2023 4:24 PM >> To: Thomas Monjalon ; Jerin Jacob ; >> Sunil Kumar Kori ; Van Haaren, Harry >> >> Cc: dev@dpdk.org; Arnaud Fiorini >> Subject: [PATCH 1/1] eal: add trace

[PATCH] build: announce requirement for C11

2023-05-03 Thread Bruce Richardson
Add a deprecation notice informing users that we will require a C11 compiler from 23.11 release onwards. This requirement was agreed by technical board to enable use of newer C language features, e.g. standard atomics. [1] [1] http://inbox.dpdk.org/dev/dbapr08mb58148cec3e1454e8848a938998...@dbapr

RE: [RFC PATCH 1/5] eventdev: add power monitoring API on event port

2023-05-03 Thread Tummala, Sivaprasad
[AMD Official Use Only - General] Hi Jerin, > -Original Message- > From: Jerin Jacob > Sent: Wednesday, May 3, 2023 1:57 PM > To: Yigit, Ferruh > Cc: Tummala, Sivaprasad ; > david.h...@intel.com; jer...@marvell.com; harry.van.haa...@intel.com; > dev@dpdk.org; Pavan Nikhilesh ; McDaniel

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

2023-05-03 Thread Tyler Retzlaff
On Wed, May 03, 2023 at 05:01:01PM +0200, Thomas Monjalon wrote: > 03/05/2023 14:19, Morten Brørup: > > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > > Sent: Wednesday, 3 May 2023 12.57 > > > > > > On Wed, May 03, 2023 at 11:30:53AM +0100, Ferruh Yigit wrote: > > > > Declaring v

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

2023-05-03 Thread Thomas Monjalon
03/05/2023 14:19, Morten Brørup: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Wednesday, 3 May 2023 12.57 > > > > On Wed, May 03, 2023 at 11:30:53AM +0100, Ferruh Yigit wrote: > > > Declaring variable inside for loop is not supported via C89 and it was > > > checked in

RE: [EXT] Re: [PATCH v3] app/mldev: add internal function for file read

2023-05-03 Thread Srikanth Yalavarthi
> -Original Message- > From: Stephen Hemminger > Sent: 03 May 2023 20:24 > To: Srikanth Yalavarthi > Cc: Anup Prabhu ; dev@dpdk.org; Shivah Shankar > Shankar Narayan Rao ; Prince Takkar > > Subject: [EXT] Re: [PATCH v3] app/mldev: add internal function for file read > > External Email >

Re: [PATCH v3] app/mldev: add internal function for file read

2023-05-03 Thread Stephen Hemminger
On Wed, 3 May 2023 01:56:41 -0700 Srikanth Yalavarthi wrote: > Added internal function to read model, input and reference > files with required error checks. This change fixes the > unchecked return value and improper use of negative value > issues reported by coverity scan for file read operatio

Re: [RFC PATCH] ring: adding TPAUSE instruction to ring dequeue

2023-05-03 Thread Stephen Hemminger
On Wed, 3 May 2023 15:32:27 +0200 Morten Brørup wrote: > > From: David Coyle [mailto:david.co...@intel.com] > > Sent: Wednesday, 3 May 2023 13.39 > > > > This is NOT for upstreaming. This is being submitted to allow early > > comparison testing with the preferred solution, which will add TAPUSE

Re: [RFC 09/27] vhost: add page size info to IOTLB entry

2023-05-03 Thread Maxime Coquelin
Hi Chenbo, On 4/25/23 08:20, Xia, Chenbo wrote: Hi Maxime, -Original Message- From: Maxime Coquelin Sent: Friday, March 31, 2023 11:43 PM To: dev@dpdk.org; david.march...@redhat.com; Xia, Chenbo ; m...@redhat.com; f...@redhat.com; jasow...@redhat.com; Liang, Cunming ; Xie, Yongji ; ec

Re: [RFC 07/27] vhost: change to single IOTLB cache per device

2023-05-03 Thread Maxime Coquelin
Hi Chenbo, On 4/25/23 08:19, Xia, Chenbo wrote: Hi Maxime, -Original Message- From: Maxime Coquelin Sent: Friday, March 31, 2023 11:43 PM To: dev@dpdk.org; david.march...@redhat.com; Xia, Chenbo ; m...@redhat.com; f...@redhat.com; jasow...@redhat.com; Liang, Cunming ; Xie, Yongji ; ec

RE: [RFC PATCH] ring: adding TPAUSE instruction to ring dequeue

2023-05-03 Thread Morten Brørup
> From: David Coyle [mailto:david.co...@intel.com] > Sent: Wednesday, 3 May 2023 13.39 > > This is NOT for upstreaming. This is being submitted to allow early > comparison testing with the preferred solution, which will add TAPUSE > power management support to the ring library through the addition

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

2023-05-03 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Wednesday, 3 May 2023 12.57 > > On Wed, May 03, 2023 at 11:30:53AM +0100, Ferruh Yigit wrote: > > Declaring variable inside for loop is not supported via C89 and it was > > checked in checkpatch.sh via commit [1]. > > But as DPDK

Re: [PATCH] mempool/cnxk: avoid indefinite wait when counting batch alloc pointers

2023-05-03 Thread Jerin Jacob
On Tue, Apr 11, 2023 at 12:52 PM Ashwin Sekhar T K wrote: > > Avoid waiting indefinitely when counting batch alloc pointers by adding a > wait timeout. > > Signed-off-by: Ashwin Sekhar T K Updated the git commit as follows and applied to dpdk-next-net-mrvl/for-next-net. Thanks mempool/cnxk

[PATCH 3/3] net/mlx5: support enhanced multi-packet write on Windows

2023-05-03 Thread Tal Shnaiderman
Add support for enhanced multi-packet write on Windows. Enhanced multi-packet write allows the Tx burst function to pack up multiple packets in a single descriptor session to save PCI bandwidth and improve performance. The feature can be controlled by the txq_mpw_en PMD argument: txq_mpw_en=1 -

[PATCH 2/3] net/mlx5: support CQE compression on Windows

2023-05-03 Thread Tal Shnaiderman
CQE Compression reduces PCI overhead by coalescing and compressing multiple CQEs into a single merged CQE. Add supported for the CQE compression feature on Windows. feature is enabled by default unless not supported by the HW or if the rxq_cqe_comp_en PMD argument is explicitly disabled. Signed-o

[PATCH 1/3] net/mlx5: support multi-packet RQ on Windows

2023-05-03 Thread Tal Shnaiderman
Multi-Packet RQ can further save PCIe bandwidth by posting a single large buffer for multiple packets. Instead of posting a buffer per a packet, one large buffer is posted to receive multiple packets on the buffer. Add support for multi-packet RQ on Windows. The feature is disabled by default and

[PATCH 0/3] Windows performance enhancements

2023-05-03 Thread Tal Shnaiderman
The following series enables support of 3 hardware offloads on Windows which improve PMD throughput. RX throughput improvements: **Multi-packet RQ. **CQE compression. TX throughput improvement: **Multi packet send. Tal Shnaiderman (3): net/mlx5: support multi-packet RQ on Windows net/mlx5:

[RFC PATCH] ring: adding TPAUSE instruction to ring dequeue

2023-05-03 Thread David Coyle
This is NOT for upstreaming. This is being submitted to allow early comparison testing with the preferred solution, which will add TAPUSE power management support to the ring library through the addition of callbacks. Initial stages of the preferred solution are available at http://dpdk.org/patch/1

Re: [RFC PATCH v1 0/4] dts: add dts api docs

2023-05-03 Thread Juraj Linkeš
On Tue, Apr 25, 2023 at 11:43 AM Bruce Richardson wrote: > > On Tue, Apr 25, 2023 at 10:57:12AM +0200, Juraj Linkeš wrote: > > On Tue, Apr 25, 2023 at 10:44 AM Bruce Richardson > > wrote: > > > > > > On Tue, Apr 25, 2023 at 10:20:36AM +0200, Juraj Linkeš wrote: > > > > On Mon, Apr 3, 2023 at 11:4

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

2023-05-03 Thread Bruce Richardson
On Wed, May 03, 2023 at 11:30:53AM +0100, Ferruh Yigit wrote: > 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] > C

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

2023-05-03 Thread Ferruh Yigit
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 43e73483a4b8 ("devtools: forbid variable declaration inside for") [2]

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

2023-05-03 Thread Ferruh Yigit
On 5/3/2023 11:02 AM, Bruce Richardson wrote: > On Wed, May 03, 2023 at 10:50:18AM +0100, Ferruh Yigit wrote: >> 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 [2], declaring var

RE: [PATCH 1/1] eal: add tracepoints to track lcores and services

2023-05-03 Thread Van Haaren, Harry
> -Original Message- > From: Arnaud Fiorini > Sent: Monday, April 24, 2023 4:24 PM > To: Thomas Monjalon ; Jerin Jacob ; > Sunil Kumar Kori ; Van Haaren, Harry > > Cc: dev@dpdk.org; Arnaud Fiorini > Subject: [PATCH 1/1] eal: add tracepoints to track lcores and services > > The tracepoin

Re: [PATCH next 0/7] vmxnet3: upgrade to version 7

2023-05-03 Thread Ferruh Yigit
On 4/28/2023 8:05 AM, Ronak Doshi wrote: > >> On 4/27/23, 2:16 AM, "Ferruh Yigit" > > wrote: >> >> That document focuses on 1G and 10G network speeds, and uses "AMD >> Opteron 2384 Processors" (which seems discontinued at this point). >> I would expect there is an up t

Re: [PATCH next 4/7] vmxnet3: add command to set ring buffer sizes

2023-05-03 Thread Ferruh Yigit
On 4/27/2023 4:59 PM, Ronak Doshi wrote: > > > On 4/27/23, 1:51 AM, "Ferruh Yigit" > wrote: >> >> README doesn't say much. >> >> The usage is not standard, and intention is not clear. >> Can you please dig this issue more to learn the the intention, may be we >> can

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

2023-05-03 Thread Bruce Richardson
On Wed, May 03, 2023 at 10:50:18AM +0100, Ferruh Yigit wrote: > 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 [2], declaring variable inside loop can be > allowed. > > [1] Commit

Re: [PATCH 1/2] net/cnxk: optimize flow control hysteresis

2023-05-03 Thread Jerin Jacob
On Tue, Apr 11, 2023 at 12:31 PM wrote: > > From: Pavan Nikhilesh > > Set flow control hysteresis to ignore immediate sequence of > decrement-increment to avoid unnecessary LLC traffic. > Enable hysteresis when SQ length is more than 512 as it lower > queue lengths will require faster updates. >

[PATCH v1] devtools: allow variable declaration inside for loop

2023-05-03 Thread Ferruh Yigit
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 [2], declaring variable inside loop can be allowed. [1] Commit 43e73483a4b8 ("devtools: forbid variable declaration inside for") [2] htt

Re: [PATCH 0/2] vhost: add port mirroring function in the vhost lib

2023-05-03 Thread Maxime Coquelin
Hi Cheng, On 4/21/23 03:09, Cheng Jiang wrote: Similar to the port mirroring function on the switch or router, this patch set implements such function on the Vhost lib. When data is sent to a front-end, it will also send the data to its mirror front-end. When data is received from a front-end, i

[PATCH v3] app/mldev: add internal function for file read

2023-05-03 Thread Srikanth Yalavarthi
Added internal function to read model, input and reference files with required error checks. This change fixes the unchecked return value and improper use of negative value issues reported by coverity scan for file read operations. Coverity issue: 383742, 383743 Fixes: f6661e6d9a3a ("app/mldev: va

RE: [dpdk-dev] [PATCH v1] examples/ntb: fix build issue with GCC 13

2023-05-03 Thread Ali Alnubani
> -Original Message- > From: jer...@marvell.com > Sent: Tuesday, May 2, 2023 4:51 PM > To: dev@dpdk.org; Jingjing Wu ; Junfeng Guo > ; Xiaoyun Li > Cc: NBU-Contact-Thomas Monjalon (EXTERNAL) ; > david.march...@redhat.com; ferruh.yi...@xilinx.com; > step...@networkplumber.org; Jerin Jacob

RE: [dpdk-dev] [PATCH v1] examples/ip_pipeline: fix build issue with GCC 13

2023-05-03 Thread Ali Alnubani
> -Original Message- > From: Ali Alnubani > Sent: Wednesday, May 3, 2023 11:30 AM > To: 'jer...@marvell.com' ; dev@dpdk.org > Cc: NBU-Contact-Thomas Monjalon (EXTERNAL) ; > david.march...@redhat.com; ferruh.yi...@xilinx.com; > step...@networkplumber.org; sta...@dpdk.org > Subject: RE: [dpdk

RE: [dpdk-dev] [PATCH v1] examples/ip_pipeline: fix build issue with GCC 13

2023-05-03 Thread Ali Alnubani
> -Original Message- > From: jer...@marvell.com > Sent: Tuesday, May 2, 2023 4:49 PM > To: dev@dpdk.org > Cc: NBU-Contact-Thomas Monjalon (EXTERNAL) ; > david.march...@redhat.com; ferruh.yi...@xilinx.com; > step...@networkplumber.org; Jerin Jacob ; > sta...@dpdk.org > Subject: [dpdk-dev] [

Re: DPDK 22.11 Troubleshooting

2023-05-03 Thread Bruce Richardson
On Mon, May 01, 2023 at 10:27:05PM +, Gilbert Carrillo wrote: >Hello, > > >I installed DPDK version 22.11 and the QDMA DPDK driver. However, I am >having trouble compiling the test applications. > > >I have a c++ program that has an external buffer and my end goal is to >

Re: [RFC PATCH 1/5] eventdev: add power monitoring API on event port

2023-05-03 Thread Jerin Jacob
On Wed, May 3, 2023 at 1:44 PM Ferruh Yigit wrote: > > On 5/3/2023 8:58 AM, Jerin Jacob wrote: > > On Tue, May 2, 2023 at 4:49 PM Ferruh Yigit wrote: > >> > >> On 4/25/2023 5:09 AM, Jerin Jacob wrote: > >>> On Mon, Apr 24, 2023 at 9:36 PM Ferruh Yigit wrote: > > On 4/19/2023 11:15 AM,

Re: [RFC PATCH 1/5] eventdev: add power monitoring API on event port

2023-05-03 Thread Ferruh Yigit
On 5/3/2023 8:58 AM, Jerin Jacob wrote: > On Tue, May 2, 2023 at 4:49 PM Ferruh Yigit wrote: >> >> On 4/25/2023 5:09 AM, Jerin Jacob wrote: >>> On Mon, Apr 24, 2023 at 9:36 PM Ferruh Yigit wrote: On 4/19/2023 11:15 AM, Jerin Jacob wrote: > On Wed, Apr 19, 2023 at 3:24 PM Sivaprasad

Re: [PATCH] common/cnxk: update ROC erratas

2023-05-03 Thread Jerin Jacob
On Tue, Apr 11, 2023 at 12:49 PM Ashwin Sekhar T K wrote: > > Update the models where errata IPBUNPA-37480 is applicable. > > Signed-off-by: Ashwin Sekhar T K Updated the git commit as follows and applied to dpdk-next-net-eventdev/for-main. Thanks common/cnxk: update IPBUNPA-37480 errata s

Re: [RFC PATCH 1/5] eventdev: add power monitoring API on event port

2023-05-03 Thread Jerin Jacob
On Tue, May 2, 2023 at 4:49 PM Ferruh Yigit wrote: > > On 4/25/2023 5:09 AM, Jerin Jacob wrote: > > On Mon, Apr 24, 2023 at 9:36 PM Ferruh Yigit wrote: > >> > >> On 4/19/2023 11:15 AM, Jerin Jacob wrote: > >>> On Wed, Apr 19, 2023 at 3:24 PM Sivaprasad Tummala > >>> wrote: > > A new AP

RE: [PATCH] test/crypto: fix return value for snow3g testcase

2023-05-03 Thread Akhil Goyal
> > Acked-by: Ciara Power Applied to dpdk-next-crypto Thanks.

RE: [PATCH] crypto/scheduler: fix last element for valid args

2023-05-03 Thread Akhil Goyal
> Acked-by: Kai Ji > Applied to dpdk-next-crypto Thanks.

RE: [PATCH] crypto/qat: fix stack buffer overflow in SGL loop

2023-05-03 Thread Akhil Goyal
> Acked-by: Kai Ji Applied to dpdk-next-crypto Thanks.

[PATCH V3] lib: set/get max memzone segments

2023-05-03 Thread Ophir Munk
In current DPDK the RTE_MAX_MEMZONE definition is unconditionally hard coded as 2560. For applications requiring different values of this parameter – it is more convenient to set the max value via an rte API - rather than changing the dpdk source code per application. In many organizations, the p

RE: [PATCH] doc: fix invalid auth algo in cryptoperf app

2023-05-03 Thread Akhil Goyal
> > Subject: [PATCH] doc: fix invalid auth algo in cryptoperf app > > > > 3des-cbc is not an authentication algorithm, hence need to be removed. > > > > Fixes: c6baca7adc94 ("doc: describe new performance test application") > > Cc: sta...@dpdk.org > > > > Signed-off-by: Akhil Goyal > > --- > Acked

Re: [PATCH v3 05/11] devtools: add acronym in dictionary for commit checks

2023-05-03 Thread Jerin Jacob
On Mon, Apr 24, 2023 at 8:07 PM Sathesh Edara wrote: > > ISM -> Interrupt Status Messages > > Signed-off-by: Sathesh Edara > --- > devtools/words-case.txt | 1 + Squashed this patch with 6/11. Series applied to dpdk-next-net-mrvl/for-next-net. Thanks > 1 file changed, 1 insertion(+) > > diff

RE: [PATCH] test/crypto: add cryptodev reconfig test

2023-05-03 Thread Akhil Goyal
> Hi Aakash, > > Subject: [PATCH] test/crypto: add cryptodev reconfig test > > > > Add cryptodev tests to verify that the device supports reconfiguration any > > number of times via rte_cryptodev_configure API. > > > > Signed-off-by: Aakash Sasidharan > > --- > > app/test/test_cryptodev.c | 81 >

RE: [RFC PATCH v2] ethdev: add indirect list flow action

2023-05-03 Thread Gregory Etelson
Hello Ivan, > Overall, the idea of action list indirection sounds good. > But why deprecate the existing indirect action API? Deprecation is not necessary. If the decision is to keep existing indirect action API, it must be updated to differentiate between action mutable and flow mutable update p