Re: [PATCH] net/vhost: report TX errors in port stats

2023-10-06 Thread Maxime Coquelin
On 9/30/23 03:00, Andrey Ignatov wrote: vhost device doesn't report TX errors what complicates debugging of dropped packets. Add oerrors to port stats. - before (testpmd `show port stats`): TX-packets: 18328512 TX-errors: 0 TX-bytes: 1173024768 - after: TX-packets: 1737728

Re: [RFC PATCH] eventdev: ensure 16-byte alignment for events

2023-10-06 Thread Jerin Jacob
On Thu, Oct 5, 2023 at 6:52 PM Bruce Richardson wrote: > > On Thu, Oct 05, 2023 at 06:41:34PM +0530, Jerin Jacob wrote: > > On Thu, Oct 5, 2023 at 6:01 PM Bruce Richardson > > wrote: > > > > > > On Thu, Oct 05, 2023 at 12:51:00PM +0100, Bruce Richardson wrote: > > > > The event structure in DPDK

Re: [PATCH] config/x86: config support for AMD EPYC processors

2023-10-06 Thread David Marchand
On Mon, Sep 25, 2023 at 5:11 PM Sivaprasad Tummala wrote: > > From: Sivaprasad Tummala > > By default, max lcores are limited to 128 for x86 platforms. > On AMD EPYC processors, this limit needs to be increased to > leverage all the cores. > > The patch adjusts the limit specifically for native c

Re: [PATCH] gpu: add support for rtx 6000 variant

2023-10-06 Thread David Marchand
On Thu, Oct 5, 2023 at 2:50 PM Elena Agostini wrote: > > This patch makes sense to me and actually we should update the > drivers/gpu/cuda/devices.h with all the new GPU devices ID > > I don’t have an RTX 6000 GPU in my setup so I trust Cliff on the correctness > of the ID Elena, please work wi

Re: [PATCH v5 01/12] bbdev: add FFT window width member in driver info

2023-10-06 Thread Maxime Coquelin
On 10/5/23 21:48, Nicolas Chautru wrote: This exposes the width of each windowing shape being configured on the device. This allows to distinguish different version of the flexible pointwise windowing applied to the FFT and expose this platform configuration to the application. This also add t

Re: [PATCH v5 02/12] baseband/acc: add FFT window width in the VRB PMD

2023-10-06 Thread Maxime Coquelin
On 10/5/23 21:48, Nicolas Chautru wrote: This allows to expose the FFT window width being introduced in previous commit based on what is configured dynamically on the device platform. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc_common.h | 6 + drivers/baseband/acc/rt

Re: [PATCH v9] hash: add XOR32 hash function

2023-10-06 Thread David Marchand
Hello, On Tue, Jul 11, 2023 at 12:00 AM Bili Dong wrote: > > An XOR32 hash is needed in the Software Switch (SWX) Pipeline for its > use case in P4. We implement it in this patch so it could be easily > registered in the pipeline later. > > Signed-off-by: Bili Dong > .mailmap

Re: [PATCH] gpu/cuda: Add missing stdlib include

2023-10-06 Thread David Marchand
Hello, On Thu, Oct 5, 2023 at 2:44 PM Elena Agostini wrote: > > Ack Please, don't top post. > > > > Thanks > > EA > > > > From: David Marchand > Date: Friday, 29 September 2023 at 16:58 > To: Aaron Conole , John Romein > Cc: dev@dpdk.org , Elena Agostini , > levendsa...@gmail.com > Subject

Re: [PATCH v5 3/3] power: amd power monitor support

2023-10-06 Thread David Marchand
On Wed, Aug 16, 2023 at 9:00 PM Sivaprasad Tummala wrote: > > mwaitx allows EPYC processors to enter a implementation dependent > power/performance optimized state (C1 state) for a specific period > or until a store to the monitored address range. > > Signed-off-by: Sivaprasad Tummala > Acked-by:

Re: [PATCH v2 2/2] eal: remove NUMFLAGS enumeration

2023-10-06 Thread David Marchand
On Fri, Aug 11, 2023 at 8:08 AM Sivaprasad Tummala wrote: > > This patch removes RTE_CPUFLAG_NUMFLAGS to allow new CPU > features without breaking ABI each time. > > Signed-off-by: Sivaprasad Tummala I relooked at the API and I see one case (that I had missed in my previous reply) where an ABI i

Re: [PATCH v2] power: support amd-pstate cpufreq driver

2023-10-06 Thread David Marchand
On Tue, Sep 26, 2023 at 10:01 PM Sivaprasad Tummala wrote: > > amd-pstate introduces a new CPU frequency control mechanism for AMD > EPYC processors using the ACPI Collaborative Performance Power Control > feature for a finer grained frequency management. > > Patch to add support for amd-pstate dr

Re: [PATCH v5 1/3] lib: introduce dispatcher library

2023-10-06 Thread David Marchand
Hello Mattias, On Thu, Oct 5, 2023 at 12:09 PM Mattias Rönnblom wrote: > >> + > >> +deps += ['eventdev'] > >> diff --git a/lib/dispatcher/rte_dispatcher.c > >> b/lib/dispatcher/rte_dispatcher.c > >> new file mode 100644 > >> index 00..0e69db2b9b > >> --- /dev/null > >> +++ b/lib/dispatch

Re: [PATCH v5 2/3] test: add dispatcher test suite

2023-10-06 Thread David Marchand
On Thu, Oct 5, 2023 at 1:26 PM Mattias Rönnblom wrote: [snip] > >> +#define RETURN_ON_ERROR(rc) \ > >> + do {\ > >> + if (rc != TEST_SUCCESS) \ > >> + return rc; \ > >> + } while (0) > > > >

Re: [PATCH v2 1/2] power: refactor uncore power management interfaces

2023-10-06 Thread David Marchand
On Wed, Aug 16, 2023 at 12:10 PM Sivaprasad Tummala wrote: > > currently the uncore power management implementation is vendor specific. > Added new vendor agnostic uncore power interface similar to rte_power > and rename specific implementations ("rte_power_intel_uncore") to > "power_intel_uncore"

Re: [PATCH v5 1/3] lib: introduce dispatcher library

2023-10-06 Thread Thomas Monjalon
06/10/2023 10:46, David Marchand: > On Thu, Oct 5, 2023 at 12:09 PM Mattias Rönnblom > wrote: > > >> +static int > > >> +evd_lookup_handler_idx(struct rte_dispatcher_lcore *lcore, > > >> + const struct rte_event *event) > > > > > > Wrt DPDK coding tyle, indent is a single tab

Re: [PATCH 4/4] pcapng: move timestamp calculation into pdump

2023-10-06 Thread David Marchand
On Wed, Oct 4, 2023 at 7:13 PM Stephen Hemminger wrote: > > On Mon, 2 Oct 2023 10:15:25 +0200 > David Marchand wrote: > > > > > > > > Bugzilla ID: 1291 ? > > > > This patch (and patch 3) updates some pcapng API, is it worth a RN update? > > > > > Fixes: c882eb544842 ("pcapng: fix timestamp wrappi

Re: [PATCH] random: clarify PRNG MT safety guarantees

2023-10-06 Thread David Marchand
On Wed, Oct 4, 2023 at 1:00 PM Mattias Rönnblom wrote: > > Clarify MT safety guarantees for unregistered non-EAL threads calling > PRNG functions in rte_random.h. > > Clarify that rte_srand() is not MT safe in regards to calls to > rte_rand_max() and rte_drand(). > > Suggested-by: Stephen Hemminge

Re: [PATCH v5 06/12] baseband/acc: refactor to allow unified driver extension

2023-10-06 Thread Maxime Coquelin
On 10/5/23 21:49, Nicolas Chautru wrote: Adding a few functions and common code prior to extending the VRB driver. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc_common.h | 175 ++--- drivers/baseband/acc/rte_vrb_pmd.c | 58 +- 2 files chang

[PATCH v2] eventdev: ensure 16-byte alignment for events

2023-10-06 Thread Bruce Richardson
The event structure in DPDK is 16-bytes in size, and events are regularly passed as parameters directly rather than being passed as pointers. To help compiler optimize correctly, we can explicitly request 16-byte alignment for events, which means that we should be able to do aligned vector loads/st

[PATCH v3] eventdev: ensure 16-byte alignment for events

2023-10-06 Thread Bruce Richardson
The event structure in DPDK is 16-bytes in size, and events are regularly passed as parameters directly rather than being passed as pointers. To help compiler optimize correctly, we can explicitly request 16-byte alignment for events, which means that we should be able to do aligned vector loads/st

Re: [PATCH] build: deprecate enable_kmods option

2023-10-06 Thread David Marchand
On Thu, Aug 10, 2023 at 3:29 PM Bruce Richardson wrote: > > With the removal of the kni kernel driver, there are no longer any > Linux kernel modules in our repository, leaving only modules for FreeBSD > present. Since: > > * BSD has no issues with out-of-tree modules and > * There are no in-tree

Re: [PATCH v5 08/12] baseband/acc: add FEC capabilities for the VRB2 variant

2023-10-06 Thread Maxime Coquelin
On 10/5/23 21:49, Nicolas Chautru wrote: New implementation for some of the FEC features specific to the VRB2 variant. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/rte_vrb_pmd.c | 370 + 1 file changed, 328 insertions(+), 42 deletions(-) diff --git

How to rte_epoll_wait for IPC?

2023-10-06 Thread Morten Brørup
Dear Harman, Anatoly and David, I have been looking somewhat into power management, and have a question about rte_epoll: Can I use rte_epoll to wait for an event (or interrupt/signal) in one EAL thread, generated by another EAL thread? Here's a simple use case with two EAL threads: 1. The "in

Re: [PATCH] gpu/cuda: fix getenv related build error

2023-10-06 Thread David Marchand
On Thu, Aug 3, 2023 at 6:25 PM Levend Sayar wrote: > > If gdrapi.h is available, meson sets DRIVERS_GPU_CUDA_GDRCOPY_H as 1. > This causes gdrcopy.c build to give an error; > because compiler can not find signature of getenv. > stdlib.h is included for the definition of getenv function. > > Fixes:

Re: [PATCH v4 2/2] eal: annotate rte_memseg_list_walk()

2023-10-06 Thread David Marchand
On Fri, Sep 8, 2023 at 3:18 PM Artemy Kovalyov wrote: > > Implementing a lock annotation for rte_memseg_list_walk() to > proactively identify bugs similar to memory_hotplug_lock deadlock during > initialization during compile time. > > Signed-off-by: Artemy Kovalyov Series applied, thanks Artemy

RE: [PATCH v3] eventdev: ensure 16-byte alignment for events

2023-10-06 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Friday, 6 October 2023 11.45 > > The event structure in DPDK is 16-bytes in size, and events are > regularly passed as parameters directly rather than being passed as > pointers. To help compiler optimize correctly, we can explic

Re: [PATCH v3] eventdev: ensure 16-byte alignment for events

2023-10-06 Thread Jerin Jacob
On Fri, Oct 6, 2023 at 3:44 PM Morten Brørup wrote: > > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Friday, 6 October 2023 11.45 > > > > The event structure in DPDK is 16-bytes in size, and events are > > regularly passed as parameters directly rather than being passed a

Re: [PATCH v3] eventdev: ensure 16-byte alignment for events

2023-10-06 Thread Bruce Richardson
On Fri, Oct 06, 2023 at 12:13:54PM +0200, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Friday, 6 October 2023 11.45 > > > > The event structure in DPDK is 16-bytes in size, and events are > > regularly passed as parameters directly rather than being

[Bug 1133] missing #include in drivers/gpu/cuda/gdrcopy.c

2023-10-06 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1133 David Marchand (david.march...@redhat.com) changed: What|Removed |Added Resolution|--- |FIXED

Re: [PATCH v3] eventdev: ensure 16-byte alignment for events

2023-10-06 Thread Bruce Richardson
On Fri, Oct 06, 2023 at 03:46:21PM +0530, Jerin Jacob wrote: > On Fri, Oct 6, 2023 at 3:44 PM Morten Brørup > wrote: > > > > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > > Sent: Friday, 6 October 2023 11.45 > > > > > > The event structure in DPDK is 16-bytes in size, and event

Re: [PATCH v3] eventdev: ensure 16-byte alignment for events

2023-10-06 Thread Jerin Jacob
On Fri, Oct 6, 2023 at 3:49 PM Bruce Richardson wrote: > > On Fri, Oct 06, 2023 at 03:46:21PM +0530, Jerin Jacob wrote: > > On Fri, Oct 6, 2023 at 3:44 PM Morten Brørup > > wrote: > > > > > > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > > > Sent: Friday, 6 October 2023 11.45

Re: [PATCH v3] eventdev: ensure 16-byte alignment for events

2023-10-06 Thread Bruce Richardson
On Fri, Oct 06, 2023 at 03:54:26PM +0530, Jerin Jacob wrote: > On Fri, Oct 6, 2023 at 3:49 PM Bruce Richardson > wrote: > > > > On Fri, Oct 06, 2023 at 03:46:21PM +0530, Jerin Jacob wrote: > > > On Fri, Oct 6, 2023 at 3:44 PM Morten Brørup > > > wrote: > > > > > > > > > From: Bruce Richardson [m

[PATCH v4] eventdev: ensure 16-byte alignment for events

2023-10-06 Thread Bruce Richardson
The event structure in DPDK is 16-bytes in size, and events are regularly passed as parameters directly rather than being passed as pointers. To help compiler optimize correctly, we can explicitly request 16-byte alignment for events, which means that we should be able to do aligned vector loads/st

RE: [PATCH v3] eventdev: ensure 16-byte alignment for events

2023-10-06 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Friday, 6 October 2023 12.17 ev: ensure 16-byte alignment for events > > On Fri, Oct 06, 2023 at 12:13:54PM +0200, Morten Brørup wrote: > > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > > Sent: Friday, 6 Octobe

Re: [PATCH v3] eventdev: ensure 16-byte alignment for events

2023-10-06 Thread Bruce Richardson
On Fri, Oct 06, 2023 at 12:35:26PM +0200, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Friday, 6 October 2023 12.17 > ev: ensure 16-byte alignment for events > > > > On Fri, Oct 06, 2023 at 12:13:54PM +0200, Morten Brørup wrote: > > > > From: Bruce

Re: [dpdk-dev] [PATCH v6] crypto/ccp: move device from vdev to PCI

2023-10-06 Thread David Marchand
Hello Sunil, On Mon, Jul 26, 2021 at 11:09 AM wrote: > > From: Amaranath Somalapuram > > drop all the code duplicating the PCI bus driver > developed for enable IOMMU in vdev. > > Signed-off-by: Amaranath Somalapuram Looking back in history, this patch converted crypto/ccp to a PCI driver, but

Re: [PATCH v2 2/2] eal: remove NUMFLAGS enumeration

2023-10-06 Thread Ferruh Yigit
On 10/6/2023 9:27 AM, David Marchand wrote: > On Fri, Aug 11, 2023 at 8:08 AM Sivaprasad Tummala > wrote: >> >> This patch removes RTE_CPUFLAG_NUMFLAGS to allow new CPU >> features without breaking ABI each time. >> >> Signed-off-by: Sivaprasad Tummala > > I relooked at the API and I see one cas

Re: [PATCH v3 09/12] baseband/acc: add FFT support to VRB2 variant

2023-10-06 Thread Maxime Coquelin
On 10/5/23 19:59, Chautru, Nicolas wrote: Hi Maxime, -Original Message- From: Maxime Coquelin Sent: Thursday, October 5, 2023 7:35 AM To: Chautru, Nicolas ; dev@dpdk.org Cc: hemant.agra...@nxp.com; david.march...@redhat.com; Vargas, Hernan Subject: Re: [PATCH v3 09/12] baseband/acc

Re: [RFC PATCH] eventdev: ensure 16-byte alignment for events

2023-10-06 Thread Mattias Rönnblom
On 2023-10-05 13:51, Bruce Richardson wrote: The event structure in DPDK is 16-bytes in size, and events are regularly passed as parameters directly rather than being passed as pointers. When are events passed by-value, rather than by-reference? There are no such examples in the public eventde

Re: [PATCH] random: clarify PRNG MT safety guarantees

2023-10-06 Thread Mattias Rönnblom
On 2023-10-06 11:13, David Marchand wrote: On Wed, Oct 4, 2023 at 1:00 PM Mattias Rönnblom wrote: Clarify MT safety guarantees for unregistered non-EAL threads calling PRNG functions in rte_random.h. Clarify that rte_srand() is not MT safe in regards to calls to rte_rand_max() and rte_drand()

Re: [RFC PATCH] eventdev: ensure 16-byte alignment for events

2023-10-06 Thread Bruce Richardson
On Fri, Oct 06, 2023 at 02:15:00PM +0200, Mattias Rönnblom wrote: > On 2023-10-05 13:51, Bruce Richardson wrote: > > The event structure in DPDK is 16-bytes in size, and events are > > regularly passed as parameters directly rather than being passed as > > pointers. > > When are events passed by-v

Re: [PATCH v5 10/12] baseband/acc: add MLD support in VRB2 variant

2023-10-06 Thread Maxime Coquelin
On 10/5/23 21:49, Nicolas Chautru wrote: Adding the capability for the MLD-TS processing specific to the VRB2 variant. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/rte_vrb_pmd.c | 374 + 1 file changed, 374 insertions(+) diff --git a/drivers/baseban

Re: [RFC PATCH] eventdev: ensure 16-byte alignment for events

2023-10-06 Thread Mattias Rönnblom
On 2023-10-06 14:19, Bruce Richardson wrote: On Fri, Oct 06, 2023 at 02:15:00PM +0200, Mattias Rönnblom wrote: On 2023-10-05 13:51, Bruce Richardson wrote: The event structure in DPDK is 16-bytes in size, and events are regularly passed as parameters directly rather than being passed as pointer

RE: [PATCH v3] app/testpmd: enable cli for programmable action

2023-10-06 Thread Dumitrescu, Cristian
Hi Qi, > > +#define ACTION_PROG_NAME_SIZE_MAX 32 > +#define ACTION_PROG_ARG_NUM_MAX 16 > +#define ACTION_PROG_ARG_VALUE_SIZE_MAX 32 Let's be a bit more generous with some of these sizes, please. The action name might be hierarchical, i.e. include the control block and table path separated

RE: [PATCH 3/3] common/qat: decouple pmds from the common code

2023-10-06 Thread Power, Ciara
Hi Arek, > -Original Message- > From: Kusztal, ArkadiuszX > Sent: Sunday, September 17, 2023 4:43 PM > To: dev@dpdk.org > Cc: gak...@marvell.com; Ji, Kai ; Power, Ciara > ; Kusztal, ArkadiuszX > > Subject: [PATCH 3/3] common/qat: decouple pmds from the common code > > Service specific f

[PATCH] doc/guides: refer to generic binding devices section

2023-10-06 Thread David Marchand
Rather than copy/paste everywhere how to bind a device and create VF devices, refer to the Linux GSG section about it. Signed-off-by: David Marchand --- doc/guides/bbdevs/acc100.rst| 73 ++--- doc/guides/bbdevs/fpga_5gnr_fec.rst | 71 ++--

RE: [PATCH 3/3] common/qat: decouple pmds from the common code

2023-10-06 Thread Power, Ciara
Hi Arek, > -Original Message- > From: Kusztal, ArkadiuszX > Sent: Sunday, September 17, 2023 4:43 PM > To: dev@dpdk.org > Cc: gak...@marvell.com; Ji, Kai ; Power, Ciara > ; Kusztal, ArkadiuszX > > Subject: [PATCH 3/3] common/qat: decouple pmds from the common code > > Service specific f

[PATCH v1] cryptodev: clarify usage of the block ciphers

2023-10-06 Thread Ciara Power
From: Arkadiusz Kusztal Some of the API comments incorrectly limited the usage of symmetric crypto fields to block ciphers. Signed-off-by: Arkadiusz Kusztal Signed-off-by: Ciara Power --- lib/cryptodev/rte_crypto_sym.h | 19 +-- 1 file changed, 5 insertions(+), 14 deletions(-)

Re: [PATCH v1] cryptodev: clarify usage of the block ciphers

2023-10-06 Thread Ji, Kai
Acked-by: Kai Ji mailto:kai...@intel.com>> From: Power, Ciara Sent: 06 October 2023 14:06 To: dev@dpdk.org Cc: Ji, Kai ; Kusztal, ArkadiuszX ; Power, Ciara ; Akhil Goyal ; Fan Zhang Subject: [PATCH v1] cryptodev: clarify usage of the block ciphers From: Arkad

Re: [PATCH 4/4] pcapng: move timestamp calculation into pdump

2023-10-06 Thread Kevin Traynor
On 06/10/2023 10:10, David Marchand wrote: On Wed, Oct 4, 2023 at 7:13 PM Stephen Hemminger wrote: On Mon, 2 Oct 2023 10:15:25 +0200 David Marchand wrote: Bugzilla ID: 1291 ? This patch (and patch 3) updates some pcapng API, is it worth a RN update? Fixes: c882eb544842 ("pcapng: fix t

RE: How to rte_epoll_wait for IPC?

2023-10-06 Thread Honnappa Nagarahalli
> -Original Message- > From: Morten Brørup > Sent: Friday, October 6, 2023 5:04 AM > To: Harman Kalra ; Anatoly Burakov > ; David Hunt > Cc: dev@dpdk.org > Subject: How to rte_epoll_wait for IPC? > > Dear Harman, Anatoly and David, > > I have been looking somewhat into power manageme

RE: How to rte_epoll_wait for IPC?

2023-10-06 Thread Morten Brørup
> From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] > Sent: Friday, 6 October 2023 17.27 > > > From: Morten Brørup > > Sent: Friday, October 6, 2023 5:04 AM > > > > Dear Harman, Anatoly and David, > > > > I have been looking somewhat into power management, and have a > question > >

Re: How to rte_epoll_wait for IPC?

2023-10-06 Thread Stephen Hemminger
On Fri, 6 Oct 2023 12:03:46 +0200 Morten Brørup wrote: > 2. The "processing" thread receives its packets from the rte_ring. This > thread should sleep until packets are ready for it in the rte_ring. > > The "ingress" thread knows when it puts packets into the rte_ring, so it can > signal that

RE: How to rte_epoll_wait for IPC?

2023-10-06 Thread Morten Brørup
> From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Friday, 6 October 2023 18.03 > > On Fri, 6 Oct 2023 12:03:46 +0200 > Morten Brørup wrote: > > > 2. The "processing" thread receives its packets from the rte_ring. > This thread should sleep until packets are ready for it in th

Re: How to rte_epoll_wait for IPC?

2023-10-06 Thread Stephen Hemminger
On Fri, 6 Oct 2023 18:28:10 +0200 Morten Brørup wrote: > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > Sent: Friday, 6 October 2023 18.03 > > > > On Fri, 6 Oct 2023 12:03:46 +0200 > > Morten Brørup wrote: > > > > > 2. The "processing" thread receives its packets from the

Re: [PATCH v2] net/tap: resolve stringop-overflow with gcc 12 on ppc64le

2023-10-06 Thread David Christensen
On 9/29/23 6:48 AM, Ferruh Yigit wrote: On 6/7/2023 7:47 PM, Ferruh Yigit wrote: On 5/16/2023 10:55 AM, Ferruh Yigit wrote: On 5/16/2023 2:28 AM, Stephen Hemminger wrote: On Tue, 16 May 2023 00:35:56 +0100 Ferruh Yigit wrote: Yes only some scripts and possible applications that hotplug t

Re: [PATCH] gpu/cuda: fix getenv related build error

2023-10-06 Thread Levend Sayar
My pleasure. Thanks for ACKing Elena. Thanks for applying David. Best, Levend > On 6 Oct 2023, at 13:07, David Marchand wrote: > > On Thu, Aug 3, 2023 at 6:25 PM Levend Sayar wrote: >> >> If gdrapi.h is available, meson sets DRIVERS_GPU_CUDA_GDRCOPY_H as 1. >> This causes gdrcopy.c build to g

RE: [PATCH v5 08/12] baseband/acc: add FEC capabilities for the VRB2 variant

2023-10-06 Thread Chautru, Nicolas
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Friday, October 6, 2023 2:51 AM > To: Chautru, Nicolas ; dev@dpdk.org > Cc: hemant.agra...@nxp.com; david.march...@redhat.com; Vargas, Hernan > > Subject: Re: [PATCH v5 08/12] baseband/acc: add FEC capabilities for the VRB2

RE: [PATCH v5 01/12] bbdev: add FFT window width member in driver info

2023-10-06 Thread Chautru, Nicolas
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Friday, October 6, 2023 12:54 AM > To: Chautru, Nicolas ; dev@dpdk.org > Cc: hemant.agra...@nxp.com; david.march...@redhat.com; Vargas, Hernan > > Subject: Re: [PATCH v5 01/12] bbdev: add FFT window width member in driver >

[PATCH v2] net/netvsc: add support for mtu_set

2023-10-06 Thread Sam Andrew
Add support for changing the netvsc MTU. The MTU can only be set at nvs initialization, therefore to change the MTU the underlying vmbus channel(s) are torn down and the vmbus device unmapped and remapped. The existing rx and tx queue(s) are reconnected to the new vmbus channel(s). Signed-off-by:

Re: [PATCH v2] net/netvsc: add support for mtu_set

2023-10-06 Thread Stephen Hemminger
On Fri, 6 Oct 2023 20:09:09 + Sam Andrew wrote: > + > + if (dev->data->dev_started) { > + PMD_DRV_LOG(ERR, "Device must be stopped before changing MTU"); > + return -EIO; > + } > + According to rte_ethdev.h this should -EBUSY

RE: [PATCH v3 09/12] baseband/acc: add FFT support to VRB2 variant

2023-10-06 Thread Chautru, Nicolas
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Friday, October 6, 2023 5:06 AM > To: Chautru, Nicolas ; dev@dpdk.org > Cc: hemant.agra...@nxp.com; david.march...@redhat.com; Vargas, Hernan > > Subject: Re: [PATCH v3 09/12] baseband/acc: add FFT support to VRB2 variant >

[PATCH v2 0/8] Enhance the bond framework to support offload

2023-10-06 Thread Chaoyong He
This patch series try to enhance the bond framework to support the offload feature better: * Add new API to make the member port can access some information of the bond port which belongs. * Add new API to get the result of whether bond port is created by the member port. * Add two command line

[PATCH v2 1/8] ethdev: add member notification for bonding port

2023-10-06 Thread Chaoyong He
From: Long Wu Bonding PMD does not let member ports know the bonding port's information, like how many member ports the bonding port has, what mode the bonding port is in and so on. Add the notification interface for bonding port to let member port know it is added to a bonding port and what the

[PATCH v2 2/8] ethdev: add API to get hardware creation of bonding port

2023-10-06 Thread Chaoyong He
From: Long Wu After bonding port notification, member port hardware may create the bonding port. We want to get the result of creatition, so we add this API to do the getting action. Signed-off-by: Long Wu Reviewed-by: James Hershaw Reviewed-by: Chaoyong He --- drivers/net/bonding/rte_eth_bo

[PATCH v2 3/8] net/bonding: modify interface comment format

2023-10-06 Thread Chaoyong He
From: Long Wu Most of the previous interface comment format does not meet the current standards and were not uniform. Modify them to meet current standards. Signed-off-by: Long Wu Reviewed-by: James Hershaw Reviewed-by: Chaoyong He --- drivers/net/bonding/eth_bond_8023ad_private.h | 52 +++

[PATCH v2 4/8] net/bonding: add bonding port arguments

2023-10-06 Thread Chaoyong He
From: Long Wu Include the following new arguments for bonding ports: - "notify_member" to enable/disable member notification. - "dedicated_queue" to enable/disable dedicated queue. Add these two arguments in initial argument. Signed-off-by: Long Wu Reviewed-by: James Hershaw Reviewed-by: Chao

[PATCH v2 5/8] net/bonding: support add port by data name

2023-10-06 Thread Chaoyong He
From: Long Wu Several ports may share the same PCI address, like nfp representor. So we cannot add this type of ports to bonding port by "--vdev" argument in dpdk-testpmd. But the port's data name is unique between them, we include an option to add such ports to the bonding port. After adding th

[PATCH v2 6/8] net/bonding: create new rte flow header file

2023-10-06 Thread Chaoyong He
From: Long Wu Move the flow code to a new head file to make flow related code more clean and make the code architecture more reasonable in the future. There is no functional change, just moving verbatim code around. Signed-off-by: Long Wu Reviewed-by: James Hershaw Reviewed-by: Chaoyong He --

[PATCH v2 7/8] net/bonding: support checking valid bonding port ID

2023-10-06 Thread Chaoyong He
From: Long Wu Add API to support checking if the port id is a bonding port id. Signed-off-by: Long Wu Reviewed-by: James Hershaw Reviewed-by: Chaoyong He --- drivers/net/bonding/rte_eth_bond.h | 13 + drivers/net/bonding/rte_eth_bond_api.c | 7 +++ drivers/net/bonding/ve

[PATCH v2 8/8] net/bonding: add commands for bonding port notification

2023-10-06 Thread Chaoyong He
From: Long Wu Add some commands to support bonding port notification in dpdk-testpmd. 1. We can enable the notification by command: "set bonding notify_member (port_id) (enable|disable)" 2. If member port hardware try to create the bonding port after notification we can get the status by comman

RE: [PATCH v3] app/testpmd: enable cli for programmable action

2023-10-06 Thread Zhang, Qi Z
> -Original Message- > From: Dumitrescu, Cristian > Sent: Friday, October 6, 2023 8:36 PM > To: Zhang, Qi Z ; Singh, Aman Deep > ; Zhang, Yuying > Cc: dev@dpdk.org; or...@nvidia.com; ferruh.yi...@amd.com > Subject: RE: [PATCH v3] app/testpmd: enable cli for programmable action > > > H

[PATCH v4] app/testpmd: enable cli for programmable action

2023-10-06 Thread Qi Zhang
Parsing command line for rte_flow_action_prog. Syntax: "prog name [arguments \ ... end]" Use parse_string0 to parse name string. Use parse_hex to parse hex string. Use struct action_prog_data to store parsed result. Example: Action with 2 arguments: "prog name action0 arguments field0 0

Re: [PATCH 0/5] fix race-condition of proactive error handling mode

2023-10-06 Thread fengchengwen
Hi Ferruh, Thanks for the reminder. I will send a new version as soon as possible. Thanks. On 2023/9/21 19:12, Ferruh Yigit wrote: > On 3/1/2023 3:06 AM, Chengwen Feng wrote: >> This patch fixes race-condition of proactive error handling mode, the >> discussion thread [1]. >> >> [1] >> http://

[PATCH 00/11] Unify the PMD coding style

2023-10-06 Thread Chaoyong He
This patch series aims to unify the coding style of NFP PMD, make the logics following the same rules, to make it easier to understand and extend. Chaoyong He (11): net/nfp: explicitly compare to null and 0 net/nfp: unify the indent coding style net/nfp: unify the type of integer variable

[PATCH 01/11] net/nfp: explicitly compare to null and 0

2023-10-06 Thread Chaoyong He
To compliance with the coding standard, make the pointer variable explicitly comparing to 'NULL' and the integer variable explicitly comparing to '0'. Signed-off-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang --- drivers/net/nfp/flower/nfp_flower.c | 6 +- drivers/net/nfp/

[PATCH 02/11] net/nfp: unify the indent coding style

2023-10-06 Thread Chaoyong He
Each parameter of function should occupy one line, and indent two TAB character. All the statement which span multi line should indent two TAB character. Signed-off-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang --- drivers/net/nfp/flower/nfp_flower.c | 3 +- drivers/

[PATCH 03/11] net/nfp: unify the type of integer variable

2023-10-06 Thread Chaoyong He
Unify the type of integer variable to the DPDK prefer style. Signed-off-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang --- drivers/net/nfp/flower/nfp_flower.c | 2 +- drivers/net/nfp/flower/nfp_flower_cmsg.c | 16 +- drivers/net/nfp/nfd3/nfp_nfd3_dp.c | 6 ++-

[PATCH 04/11] net/nfp: standard the local variable coding style

2023-10-06 Thread Chaoyong He
There should only declare one local variable in each line, and the local variable should obey the unify sequence. Signed-off-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang --- drivers/net/nfp/flower/nfp_flower.c | 6 +- drivers/net/nfp/nfd3/nfp_nfd3_dp.c | 4 +- drivers/net/nf

[PATCH 05/11] net/nfp: adjust the log statement

2023-10-06 Thread Chaoyong He
Add log statement to the important control logic, and remove verbose info log statement. Signed-off-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang --- drivers/net/nfp/flower/nfp_flower_ctrl.c | 17 +++--- .../net/nfp/flower/nfp_flower_representor.c | 4 +- drivers/net/nfp

[PATCH 06/11] net/nfp: standard the comment style

2023-10-06 Thread Chaoyong He
Follow the DPDK coding style, use the kdoc comment style. Also delete some comment which are not valid anymore and add some comment to help understand logic. Signed-off-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang --- drivers/net/nfp/flower/nfp_flower.h | 28 ++-- dr

[PATCH 07/11] net/nfp: standard the blank character

2023-10-06 Thread Chaoyong He
Use space character to align instead of TAB character. There should one blank line to split the block of logic, no more no less. Signed-off-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang --- drivers/net/nfp/nfp_common.c | 39 +++-- drivers/net/nfp/nfp_common.h

[PATCH 08/11] net/nfp: unify the guide line of header file

2023-10-06 Thread Chaoyong He
Unify the guide line of header file, we choose '__FOO_BAR_H__' style. Signed-off-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang --- drivers/net/nfp/flower/nfp_flower.h | 6 +++--- drivers/net/nfp/flower/nfp_flower_cmsg.h| 6 +++--- drivers/net/nfp/flower/nfp_f

[PATCH 09/11] net/nfp: rename some parameter and variable

2023-10-06 Thread Chaoyong He
Rename some parameter and variable to make the logic easier to understand. Also avoid the mix use of lowercase and uppercase in macro name. Signed-off-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang --- drivers/net/nfp/nfp_common.h| 20 ++-- drivers/net/nfp/nfp

[PATCH 10/11] net/nfp: adjust logic to make it more readable

2023-10-06 Thread Chaoyong He
Adjust some logic to make it easier to understand. Signed-off-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang --- drivers/net/nfp/nfp_common.c | 83 +--- drivers/net/nfp/nfp_cpp_bridge.c | 5 +- drivers/net/nfp/nfp_ctrl.h | 2 - drivers/net/

[PATCH 11/11] net/nfp: refact the meson build file

2023-10-06 Thread Chaoyong He
Make the source files follow the alphabeta sequence. Also update the copyright header line. Signed-off-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang --- drivers/net/nfp/meson.build | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/driv

Re: [PATCH 14/20] dmadev: mark API's as not experimental

2023-10-06 Thread fengchengwen
Acked-by: Chengwen Feng On 2023/8/9 1:35, Stephen Hemminger wrote: > These were added in 20.11 time now to remove experimental flag. > > Signed-off-by: Stephen Hemminger > --- > lib/dmadev/rte_dmadev.h | 85 - > lib/dmadev/version.map | 2 +- > 2 files

Re: [PATCH 01/14] drivers: remove duplicated PCI master control

2023-10-06 Thread fengchengwen
Acked-by: Chengwen Feng On 2023/8/3 15:50, David Marchand wrote: > Use existing API to cleanup duplicated code. > > Signed-off-by: David Marchand > --- > drivers/bus/pci/linux/pci_uio.c| 32 +-- > drivers/bus/pci/linux/pci_vfio.c | 41 ++ >

[Bug 1295] Virtio driver, packed mode, the first desc misses the next flag, causing the message to be sent abnormally

2023-10-06 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1295 Bug ID: 1295 Summary: Virtio driver, packed mode, the first desc misses the next flag, causing the message to be sent abnormally Product: DPDK Version: 23.07 Hardware: All

[Bug 1281] Build failure with Meson 1.2.1 on Windows

2023-10-06 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1281 Tyler Retzlaff (roret...@microsoft.com) changed: What|Removed |Added Resolution|--- |WONTFIX

回复: [PATCH] hash: fix SSE comparison

2023-10-06 Thread Jieqiang Wang
Thanks for your comments, Bruce! A few comments inline. BR, Jieqiang Wang -邮件原件- 发件人: Bruce Richardson 发送时间: Monday, October 2, 2023 6:40 PM 收件人: Jieqiang Wang 抄送: Yipeng Wang ; Sameh Gobriel ; Vladimir Medvedkin ; Honnappa Nagarahalli ; Dharmik Jayesh Thakkar ; dev@dpdk.org; nd ; st