Re: [dpdk-dev] [PATCH] common/cnxk: fix direct rte symbol usage

2023-10-03 Thread Jerin Jacob
On Wed, Oct 4, 2023 at 11:41 AM David Marchand wrote: > > Hello Jerin, > > On Tue, Oct 3, 2023 at 8:40 PM wrote: > > > > From: Jerin Jacob > > > > The common code is shared between different driver environments, > > introduce missing plt_ abstractions of missing rte_ symbols and > > use plt symb

Re: [dpdk-dev] [PATCH] common/cnxk: fix direct rte symbol usage

2023-10-03 Thread David Marchand
Hello Jerin, On Tue, Oct 3, 2023 at 8:40 PM wrote: > > From: Jerin Jacob > > The common code is shared between different driver environments, > introduce missing plt_ abstractions of missing rte_ symbols and > use plt symbols to avoid changing roc_* files. > > Also update the thread name for out

Re: [dpdk-dev] [PATCH] common/cnxk: fix direct rte symbol usage

2023-10-03 Thread Nithin Dabilpuram
Acked-by: Nithin Dabilpuram On Wed, Oct 4, 2023 at 2:36 AM wrote: > > From: Jerin Jacob > > The common code is shared between different driver environments, > introduce missing plt_ abstractions of missing rte_ symbols and > use plt symbols to avoid changing roc_* files. > > Also update the thr

RE: [PATCH v2 1/1] app/mldev: fix check for filelist and models count

2023-10-03 Thread Anup Prabhu
> -Original Message- > From: Srikanth Yalavarthi > Sent: Wednesday, September 20, 2023 12:39 PM > To: Srikanth Yalavarthi ; Anup Prabhu > > Cc: dev@dpdk.org; Shivah Shankar Shankar Narayan Rao > ; Prince Takkar ; > sta...@dpdk.org > Subject: [PATCH v2 1/1] app/mldev: fix check for filel

Reminder - DPDK Tech Board Meeting - Tomorrow, Wed., Oct 4, 2023 - 8am Pacific/11am Eastern/1500h UTC

2023-10-03 Thread Nathan Southern
Good evening, Tomorrow the DPDK Tech Board will hold its biweekly meeting - 8am Pacific/11am Eastern/1500h UTC. Here is a read-only copy of the agenda: https://annuel.framapad.org/p/r.0c3cc4d1e011214183872a98f6b5c7db Minutes will be kept here: *http://core.dpdk.org/techboard/minutes

Re: [PATCH 1/2] raw/cnxk_gpio: support multi-process mode

2023-10-03 Thread Stephen Hemminger
On Tue, 3 Oct 2023 22:46:02 +0200 Tomasz Duszynski wrote: > + > +struct cnxk_gpio_params { > + char allowlist[CNXK_GPIO_BUFSZ]; > + int num; > +}; Should be using unsigned for number of params since can't be negative. You could also use a flex array to avoid any buf size issues.

Re: [PATCH 2/2] raw/cnxk_gpio: add bunch of newlines

2023-10-03 Thread Stephen Hemminger
On Tue, 3 Oct 2023 22:46:03 +0200 Tomasz Duszynski wrote: > Improve log output by adding some newlines. > > Signed-off-by: Tomasz Duszynski > Reviewed-by: Jerin Jacob Kollanukkaran > Tested-by: Jerin Jacob Kollanukkaran > --- > drivers/raw/cnxk_gpio/cnxk_gpio.c | 8 > 1 file changed

[PATCH 2/2] raw/cnxk_gpio: add bunch of newlines

2023-10-03 Thread Tomasz Duszynski
Improve log output by adding some newlines. Signed-off-by: Tomasz Duszynski Reviewed-by: Jerin Jacob Kollanukkaran Tested-by: Jerin Jacob Kollanukkaran --- drivers/raw/cnxk_gpio/cnxk_gpio.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/raw/cnxk_gpio/cnxk_g

[PATCH 1/2] raw/cnxk_gpio: support multi-process mode

2023-10-03 Thread Tomasz Duszynski
GPIO PMD uses a mixture of standard sysfs attributes and custom ioctl()s to control behaviour of respective GPIOs available in the system. This means that each userspace application, either running as a primary or a secondary, should be able to control a set of distinct GPIOs. In rare cases where

[PATCH] raw/cnxk_bphy: support multi-process mode

2023-10-03 Thread Tomasz Duszynski
Add support for sharing BPHY PMD across multiple running processes. In scenarios where resources need to be shared across processes user-space need to ensure serialization. Signed-off-by: Tomasz Duszynski Reviewed-by: Jerin Jacob Kollanukkaran Tested-by: Jerin Jacob Kollanukkaran --- doc/guide

[PATCH v3 4/4] net/tap: use rte_ether_unformat_address

2023-10-03 Thread Stephen Hemminger
From: David Christensen Building DPDK with gcc 12 on a ppc64le system generates a stringop-overflow warning. Replace the local MAC address validation function parse_user_mac() with a call to rte_ether_unformat_addr() instead. Bugzilla ID: 1197 Cc: sta...@dpdk.org Signed-off-by: David Christense

[PATCH v3 2/4] rte_ether_unformat: accept more inputs

2023-10-03 Thread Stephen Hemminger
This updates rte_ether_addr_unformat() to accept more types formats for MAC address. It allows IEEE, IETF and Cisco formats. Leading zeros are allowed for byte formats. Acked-by: Morten Brørup Signed-off-by: Stephen Hemminger --- lib/net/rte_ether.c | 85 ++--

[PATCH v3 3/4] test: add tests for rte_ether routines

2023-10-03 Thread Stephen Hemminger
This add some basic tests for rte_unformat_ether_addr and other functions in rte_ether. Acked-by: Morten Brørup Signed-off-by: Stephen Hemminger --- app/test/meson.build | 1 + app/test/test_net_ether.c | 165 ++ 2 files changed, 166 insertions(+) cre

[PATCH v3 1/4] test: remove some strings from cmdline_etheraddr tests

2023-10-03 Thread Stephen Hemminger
Some of the ethernet address formats which were invalid will now become valid inputs when rte_ether_unformat_addr is modified to allow leading zeros. Also, make local variables static. Acked-by: Morten Brørup Signed-off-by: Stephen Hemminger --- app/test/test_cmdline_etheraddr.c | 8 +++-

[PATCH v3 0/4] rte_ether_unformat_addr related changes

2023-10-03 Thread Stephen Hemminger
This patchset makes rte_ether_unformat_addr allow other formats for MAC address. Need to remove some inputs from existing cmdline_etheraddr test, and add a new test in test suite to cover this. There is some overlap between the two tests but that is fine. v4 - fix spelling errors don't allow

Re: [PATCH v4] app/test: add support for skipping tests

2023-10-03 Thread Patrick Robb
Thanks, this should help greatly going forward in the community lab. As it relates to our arm64 unit testing, I will give it a few days (or longer if needed) for next branches to rebase off of main and then re-enable arm64 unit testing with the eal_flags_file_prefix_autotest added to the skipped l

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

2023-10-03 Thread Chautru, Nicolas
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, October 3, 2023 4:52 AM > To: Chautru, Nicolas ; dev@dpdk.org > Cc: hemant.agra...@nxp.com; david.march...@redhat.com; Vargas, Hernan > > Subject: Re: [PATCH v3 02/12] baseband/acc: add FFT window width in the > VR

RE: [PATCH v3 06/12] baseband/acc: refactor to allow unified driver extension

2023-10-03 Thread Chautru, Nicolas
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, October 3, 2023 6:15 AM > To: Chautru, Nicolas ; dev@dpdk.org > Cc: hemant.agra...@nxp.com; david.march...@redhat.com; Vargas, Hernan > > Subject: Re: [PATCH v3 06/12] baseband/acc: refactor to allow unified driver

[dpdk-dev] [PATCH] common/cnxk: fix direct rte symbol usage

2023-10-03 Thread jerinj
From: Jerin Jacob The common code is shared between different driver environments, introduce missing plt_ abstractions of missing rte_ symbols and use plt symbols to avoid changing roc_* files. Also update the thread name for outbound soft expiry thread in a7ba40b2b1bf7. Fixes: 3d4e27fd7ff0 ("u

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

2023-10-03 Thread Chautru, Nicolas
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, October 3, 2023 7:37 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

RE: [PATCH v3 10/12] baseband/acc: add MLD support in VRB2 variant

2023-10-03 Thread Chautru, Nicolas
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, October 3, 2023 8:13 AM > To: Chautru, Nicolas ; dev@dpdk.org > Cc: hemant.agra...@nxp.com; david.march...@redhat.com; Vargas, Hernan > > Subject: Re: [PATCH v3 10/12] baseband/acc: add MLD support in VRB2 > varian

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

2023-10-03 Thread Jerin Jacob
On Wed, Sep 27, 2023 at 1:43 PM Bruce Richardson wrote: > > On Tue, Sep 26, 2023 at 11:58:37PM +0530, Jerin Jacob wrote: > > On Mon, Sep 25, 2023 at 12:41 PM Mattias Rönnblom > > wrote: > > > > > > On 2023-09-22 09:38, Mattias Rönnblom wrote: > > > > > > > > > > > > > +int > > > > +rte_dispatch

Re: [PATCH v3 11/12] baseband/acc: add support for VRB2 engine error detection

2023-10-03 Thread Maxime Coquelin
On 10/3/23 19:22, Chautru, Nicolas wrote: Hi Maxime, -Original Message- From: Maxime Coquelin Sent: Tuesday, October 3, 2023 8:16 AM To: Chautru, Nicolas ; dev@dpdk.org Cc: hemant.agra...@nxp.com; david.march...@redhat.com; Vargas, Hernan Subject: Re: [PATCH v3 11/12] baseband/acc:

RE: [PATCH v3 11/12] baseband/acc: add support for VRB2 engine error detection

2023-10-03 Thread Chautru, Nicolas
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, October 3, 2023 8:16 AM > To: Chautru, Nicolas ; dev@dpdk.org > Cc: hemant.agra...@nxp.com; david.march...@redhat.com; Vargas, Hernan > > Subject: Re: [PATCH v3 11/12] baseband/acc: add support for VRB2 engine > er

Re: [PATCH v2 1/3] test: remove some strings from cmdline_etheraddr tests

2023-10-03 Thread Stephen Hemminger
On Tue, 3 Oct 2023 17:50:13 +0100 Ferruh Yigit wrote: > On 10/3/2023 5:36 PM, Stephen Hemminger wrote: > > On Tue, 3 Oct 2023 11:47:51 +0100 > > Ferruh Yigit wrote: > > > >> On 10/2/2023 7:37 PM, Stephen Hemminger wrote: > >>> Some of the ethernet address formats which were invalid will > >

Re: [PATCH] eventdev: fix max link profiles info

2023-10-03 Thread Bruce Richardson
On Tue, Oct 03, 2023 at 08:55:35PM +0530, pbhagavat...@marvell.com wrote: > From: Pavan Nikhilesh > > Since most of the drivers overwrite the info structure passed > from the common layer it is not possible to set defaults in > ``rte_event_dev_info_get`` API. > Initialize default max_profiles_per

Re: [EXT] Re: [PATCH] eventdev: fix max link profiles info

2023-10-03 Thread Bruce Richardson
On Tue, Oct 03, 2023 at 05:03:28PM +, Jerin Jacob Kollanukkaran wrote: > > > > -Original Message- > > From: Bruce Richardson > > Sent: Tuesday, October 3, 2023 10:19 PM > > To: Pavan Nikhilesh Bhagavatula > > Cc: Jerin Jacob Kollanukkaran ; Abdullah Sevincer > > ; Hemant Agrawal > >

RE: [EXT] Re: [PATCH] eventdev: fix max link profiles info

2023-10-03 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: Bruce Richardson > Sent: Tuesday, October 3, 2023 10:19 PM > To: Pavan Nikhilesh Bhagavatula > Cc: Jerin Jacob Kollanukkaran ; Abdullah Sevincer > ; Hemant Agrawal > ; Sachin Saxena ; > Mattias Rönnblom ; Liang Ma > ; Peter Mccarthy ; Harry > van Haaren ; d

[PATCH] eventdev: drop custom OS defines

2023-10-03 Thread Bruce Richardson
The eventdev library doesn't need to put in place its own defines for Linux and BSD. There are already defines for the OS environment in rte_config.h that can be re-used, but since these are just for identifying Linux/non-Linux, we can just check for the standard define '__linux__' instead. Signed

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

2023-10-03 Thread Medvedkin, Vladimir
Acked-by: Vladimir Medvedkin On 10/07/2023 22:59, 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 -- Regards, Vladimir

Re: [PATCH v2 1/3] test: remove some strings from cmdline_etheraddr tests

2023-10-03 Thread Ferruh Yigit
On 10/3/2023 5:36 PM, Stephen Hemminger wrote: > On Tue, 3 Oct 2023 11:47:51 +0100 > Ferruh Yigit wrote: > >> On 10/2/2023 7:37 PM, Stephen Hemminger wrote: >>> Some of the ethernet address formats which were invalid will >>> now become valid inputs when rte_ether_unformat_addr is modified >>> to

Re: [PATCH] eventdev: fix max link profiles info

2023-10-03 Thread Bruce Richardson
On Tue, Oct 03, 2023 at 08:55:35PM +0530, pbhagavat...@marvell.com wrote: > From: Pavan Nikhilesh > > Since most of the drivers overwrite the info structure passed > from the common layer it is not possible to set defaults in > ``rte_event_dev_info_get`` API. > Initialize default max_profiles_per

Re: [PATCH v2 1/3] test: remove some strings from cmdline_etheraddr tests

2023-10-03 Thread Stephen Hemminger
On Tue, 3 Oct 2023 11:59:04 +0100 Ferruh Yigit wrote: > Ah, I guess it is taken as "::" format, but number of digit > is not enforced, so "1:2:3" is a valid format, should we add this to API > documentation as example format? Or is this unintended side effect? By allowing leading zer

Re: [PATCH v2 1/3] test: remove some strings from cmdline_etheraddr tests

2023-10-03 Thread Stephen Hemminger
On Tue, 3 Oct 2023 11:47:51 +0100 Ferruh Yigit wrote: > On 10/2/2023 7:37 PM, Stephen Hemminger wrote: > > Some of the ethernet address formats which were invalid will > > now become valid inputs when rte_ether_unformat_addr is modified > > to allow leading zeros. > > > > Also, make local variab

Re: [PATCH v2 0/3] rte_ether_unformat_addr changes

2023-10-03 Thread Stephen Hemminger
On Tue, 3 Oct 2023 11:44:16 +0100 Ferruh Yigit wrote: > On 10/2/2023 7:37 PM, Stephen Hemminger wrote: > > This patchset makes rte_ether_unformat_addr allow other formats > > for MAC address. Need to remove some inputs from existing > > cmdline_etheraddr test, and add a new test in test suite > >

Re: [PATCH v2 0/3] rte_ether_unformat_addr changes

2023-10-03 Thread Stephen Hemminger
On Tue, 3 Oct 2023 11:44:16 +0100 Ferruh Yigit wrote: > On 10/2/2023 7:37 PM, Stephen Hemminger wrote: > > This patchset makes rte_ether_unformat_addr allow other formats > > for MAC address. Need to remove some inputs from existing > > cmdline_etheraddr test, and add a new test in test suite > >

Re: [PATCH v1 1/1] baseband/acc: fix ACC100 HARQ input is alignment

2023-10-03 Thread Maxime Coquelin
On 9/19/23 20:24, Hernan Vargas wrote: Some constraints are imposed onto the ACC100 HARQ input size, but that value is incorrectly aligned down when getting close to max (Ncb-F) which is not required. The wireless performance impact is negligeable but still causes a few LLRs no to be combined

RE: [PATCH v1 1/1] app/mldev: updates to device ops test

2023-10-03 Thread Anup Prabhu
> -Original Message- > From: Srikanth Yalavarthi > Sent: Wednesday, August 30, 2023 9:23 PM > To: Srikanth Yalavarthi ; Anup Prabhu > > Cc: dev@dpdk.org; Shivah Shankar Shankar Narayan Rao > ; Prince Takkar ; > sta...@dpdk.org > Subject: [PATCH v1 1/1] app/mldev: updates to device ops t

RE: [EXT] Re: [PATCH v6 0/3] Introduce event link profiles

2023-10-03 Thread Pavan Nikhilesh Bhagavatula
> On Tue, Oct 3, 2023 at 7:43 PM Bruce Richardson > wrote: > > > > On Tue, Oct 03, 2023 at 04:06:10PM +0530, Jerin Jacob wrote: > > > On Tue, Oct 3, 2023 at 3:17 PM wrote: > > > > > > > > From: Pavan Nikhilesh > > > > > > > > A collection of event queues linked to an event port can be associated

Re: [PATCH v3 12/12] baseband/acc: add configure helper for VRB2

2023-10-03 Thread Maxime Coquelin
On 9/29/23 18:35, Nicolas Chautru wrote: This allows to configure the VRB2 device using a companion configuration function within the DPDK bbdev-test environment. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc100_pmd.h | 2 + drivers/baseband/acc/rte_acc100_pmd.c | 6

[PATCH] eventdev: fix max link profiles info

2023-10-03 Thread pbhagavatula
From: Pavan Nikhilesh Since most of the drivers overwrite the info structure passed from the common layer it is not possible to set defaults in ``rte_event_dev_info_get`` API. Initialize default max_profiles_per_port in the driver layer. Fixes: 162aa4e1b479 ("eventdev: introduce link profiles")

Re: [PATCH v6 0/3] Introduce event link profiles

2023-10-03 Thread Jerin Jacob
On Tue, Oct 3, 2023 at 7:43 PM Bruce Richardson wrote: > > On Tue, Oct 03, 2023 at 04:06:10PM +0530, Jerin Jacob wrote: > > On Tue, Oct 3, 2023 at 3:17 PM wrote: > > > > > > From: Pavan Nikhilesh > > > > > > A collection of event queues linked to an event port can be associated > > > with unique

Re: [PATCH v3 11/12] baseband/acc: add support for VRB2 engine error detection

2023-10-03 Thread Maxime Coquelin
On 9/29/23 18:35, Nicolas Chautru wrote: Adding missing incremental functionality for the VRB2 variant. Notably detection of engine error during the dequeue. Minor cosmetic edits. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/rte_vrb_pmd.c | 20 drivers/bas

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

2023-10-03 Thread Maxime Coquelin
On 9/29/23 18:35, 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 | 378 + 1 file changed, 378 insertions(+) diff --git a/drivers/baseban

[PATCH v2] eventdev: fix port link and unlink

2023-10-03 Thread pbhagavatula
From: Pavan Nikhilesh Port link and unlink rely on info get API to validate max supported profiles, the default max profiles is initialized in ``rte_dev_info_get`` API, use it instead of invoking driver callback. Fixes: 162aa4e1b479 ("eventdev: introduce link profiles") Signed-off-by: Pavan Nik

[PATCH] eventdev: fix port link and unlink

2023-10-03 Thread pbhagavatula
From: Pavan Nikhilesh Port link and unlink rely on info get API to validate max supported profiles, the default max profiles is initialized in ``rte_dev_info_get`` API, use it instead of invoking driver callback. Fixes: 162aa4e1b479 ("eventdev: introduce link profiles") Signed-off-by: Pavan Nik

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

2023-10-03 Thread Maxime Coquelin
On 9/29/23 18:35, Nicolas Chautru wrote: Support for the FFT the processing specific to the VRB2 variant. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/rte_vrb_pmd.c | 132 - 1 file changed, 128 insertions(+), 4 deletions(-) diff --git a/drivers/base

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

2023-10-03 Thread Maxime Coquelin
On 9/29/23 18:35, 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 | 567 - 1 file changed, 548 insertions(+), 19 deletions(-) diff --git

Re: [PATCH v6 0/3] Introduce event link profiles

2023-10-03 Thread Bruce Richardson
On Tue, Oct 03, 2023 at 04:06:10PM +0530, Jerin Jacob wrote: > On Tue, Oct 3, 2023 at 3:17 PM wrote: > > > > From: Pavan Nikhilesh > > > > A collection of event queues linked to an event port can be associated > > with unique identifier called as a link profile, multiple such profiles > > can be

Re: [PATCH v3 07/12] baseband/acc: adding VRB2 device variant

2023-10-03 Thread Maxime Coquelin
On 9/29/23 18:35, Nicolas Chautru wrote: No functionality exposed only device enumeration and configuration. Signed-off-by: Nicolas Chautru --- doc/guides/bbdevs/features/vrb2.ini| 14 ++ doc/guides/bbdevs/index.rst| 1 + doc/guides/bbdevs/vrb2.rst | 206 ++

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

2023-10-03 Thread Maxime Coquelin
Thanks for doing the split, that will ease review. On 9/29/23 18:35, 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 | 164 +++--- drivers/baseband/a

Re: [PATCH v3 04/12] baseband/acc: allocate FCW memory separately

2023-10-03 Thread Maxime Coquelin
On 9/29/23 18:35, Nicolas Chautru wrote: This allows more flexibility to the FCW size for the unified driver. No actual functional change. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc_common.h | 4 +++- drivers/baseband/acc/rte_vrb_pmd.c | 25 - 2

Re: [PATCH v3] vhost: add IRQ suppression

2023-10-03 Thread Maxime Coquelin
Hi Eelco, On 10/3/23 14:36, Eelco Chaudron wrote: On 29 Sep 2023, at 12:38, Maxime Coquelin wrote: Guest notifications offloading, which has been introduced in v23.07, aims at offloading syscalls out of the datapath. This patch optimizes the offloading by not offloading the guest notificati

Re: [PATCH 0/4] support offload of simple conntrack flow rules

2023-10-03 Thread Ferruh Yigit
On 9/30/2023 11:00 AM, Chaoyong He wrote: > This patch series add the support of simple conntrack flow rules offload > through flower firmware by import the needed data structure and logic of > flow merge. > > Chaoyong He (4): > net/nfp: prepare for the flow merge > net/nfp: add infrastructure

Re: [PATCH v3] vhost: add IRQ suppression

2023-10-03 Thread Eelco Chaudron
On 29 Sep 2023, at 12:38, Maxime Coquelin wrote: > Guest notifications offloading, which has been introduced > in v23.07, aims at offloading syscalls out of the datapath. > > This patch optimizes the offloading by not offloading the > guest notification for a given virtqueue if one is already >

Re: [PATCH v3 03/12] baseband/acc: remove the 4G SO capability for VRB1

2023-10-03 Thread Maxime Coquelin
On 9/29/23 18:35, Nicolas Chautru wrote: This removes the specific capability and support of LTE Decoder Soft Output option on the VRB1 PMD. This is triggered as a vendor decision to defeature the related optional capability so that to avoid theoretical risk of race conditions impacting the d

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

2023-10-03 Thread Maxime Coquelin
On 9/29/23 18:35, 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 | 3 +++ drivers/baseband/acc/rte_

Re: [PATCH v1 1/7] bbdev: add FFT version member in driver info

2023-10-03 Thread Maxime Coquelin
On 9/28/23 18:33, Chautru, Nicolas wrote: HI Maxime, -Original Message- From: Maxime Coquelin Sent: Thursday, September 28, 2023 1:27 AM To: Chautru, Nicolas ; hemant.agra...@nxp.com; dev@dpdk.org Cc: david.march...@redhat.com; Vargas, Hernan Subject: Re: [PATCH v1 1/7] bbdev: add

[PATCH v2] net/axgbe: use CPUID to identify cpu

2023-10-03 Thread Selwin Sebastian
Using root complex to identify cpu will not work for vm passthrough. CPUID is used to get family and modelid to identify cpu Fixes: b0db927b5eba ("net/axgbe: use PCI root complex device to distinguish device") Cc: sta...@dpdk.org Signed-off-by: Selwin Sebastian --- drivers/net/axgbe/axgbe_ethd

Re: [PATCH v2 1/3] test: remove some strings from cmdline_etheraddr tests

2023-10-03 Thread Ferruh Yigit
On 10/3/2023 11:47 AM, Ferruh Yigit wrote: > On 10/2/2023 7:37 PM, Stephen Hemminger wrote: >> Some of the ethernet address formats which were invalid will >> now become valid inputs when rte_ether_unformat_addr is modified >> to allow leading zeros. >> >> Also, make local variables static. >> >> S

[PATCH v2 5/5] cryptodev: add details of datapath handling of TLS records

2023-10-03 Thread Anoob Joseph
From: Vidya Sagar Velumuri TLS/DTLS record processing requires content type to be provided per packet (for record write operation). Extend usage of reserved fields in rte_crypto_op for the same purpose. Signed-off-by: Anoob Joseph Signed-off-by: Vidya Sagar Velumuri --- doc/guides/prog_guide/

[PATCH v2 4/5] security: support TLS record lifetime notification

2023-10-03 Thread Anoob Joseph
From: Vidya Sagar Velumuri Support TLS record lifetime notification. TLS record sessions may need to be renegotiated after a specific number of records are processed. For devices that are capable of tracking lifetime, application may request to do so by configuring the lifetime parameters in sess

[PATCH v2 3/5] security: support extra padding with TLS

2023-10-03 Thread Anoob Joseph
In TLS record write protocol (encrypt), application may request for extra padding in addition to the default padding which ensures that crypto payload is aligned to block size. This is required to hide the size of the traffic from an observer. Extend the usage of ``rte_crypto_op.aux_flags`` to all

[PATCH v2 2/5] security: add TLS record processing

2023-10-03 Thread Anoob Joseph
Add Transport Layer Security (TLS) and Datagram Transport Layer Security (DTLS). The protocols provide communications privacy for L4 protocols such as TCP & UDP. TLS (and DTLS) protocol is composed of two layers, 1. TLS Record Protocol 2. TLS Handshake Protocol While TLS Handshake Protocol helps

[PATCH v2 0/5] add TLS record processing security offload

2023-10-03 Thread Anoob Joseph
Add Transport Layer Security (TLS) and Datagram Transport Layer Security (DTLS). The protocols provide communications privacy for L4 protocols such as TCP & UDP. TLS (and DTLS) protocol is composed of two layers, 1. TLS Record Protocol 2. TLS Handshake Protocol While TLS Handshake Protocol helps

[PATCH v2 1/5] net: add headers for TLS/DTLS packets

2023-10-03 Thread Anoob Joseph
From: Akhil Goyal Added TLS and DTLS packet headers for L4 security applications. Signed-off-by: Akhil Goyal Signed-off-by: Anoob Joseph Signed-off-by: Vidya Sagar Velumuri --- doc/api/doxy-api-index.md | 2 ++ lib/net/meson.build | 2 ++ lib/net/rte_dtls.h| 61 ++

Re: [PATCH v2 1/3] test: remove some strings from cmdline_etheraddr tests

2023-10-03 Thread Ferruh Yigit
On 10/2/2023 7:37 PM, Stephen Hemminger wrote: > Some of the ethernet address formats which were invalid will > now become valid inputs when rte_ether_unformat_addr is modified > to allow leading zeros. > > Also, make local variables static. > > Signed-off-by: Stephen Hemminger > <...> > @@ -

Re: [PATCH v2 0/3] rte_ether_unformat_addr changes

2023-10-03 Thread Ferruh Yigit
On 10/2/2023 7:37 PM, Stephen Hemminger wrote: > This patchset makes rte_ether_unformat_addr allow other formats > for MAC address. Need to remove some inputs from existing > cmdline_etheraddr test, and add a new test in test suite > to cover this. There is some overlap between the two tests > but

Re: [PATCH v6 0/3] Introduce event link profiles

2023-10-03 Thread Jerin Jacob
On Tue, Oct 3, 2023 at 3:17 PM wrote: > > From: Pavan Nikhilesh > > A collection of event queues linked to an event port can be associated > with unique identifier called as a link profile, multiple such profiles > can be configured based on the event device capability using the function > `rte_e

Re: [PATCH v4] bus/pci: fix legacy device IO port map in secondary process

2023-10-03 Thread David Marchand
On Wed, Aug 30, 2023 at 7:07 AM Wenwu Ma wrote: > > When doing IO port mapping for legacy device in secondary process, the > region information is missing, so, we need to refill it. > > Fixes: 4b741542ecde ("bus/pci: avoid depending on private kernel value") > Cc: sta...@dpdk.org > > Signed-off-by

Re: [PATCH 0/2] Add eventdev tests to test suites

2023-10-03 Thread Jerin Jacob
On Sat, Sep 30, 2023 at 6:31 AM David Marchand wrote: > > On Thu, Sep 28, 2023 at 5:14 PM Bruce Richardson > wrote: > > > > The eventdev library includes a selftest API which can be used by > > drivers for testing. Add the relevant automated self-test commands > > into meson test suites as approp

[PATCH v6 3/3] test/event: add event link profile test

2023-10-03 Thread pbhagavatula
From: Pavan Nikhilesh Add test case to verify event link profiles. Signed-off-by: Pavan Nikhilesh --- app/test/test_eventdev.c | 117 +++ 1 file changed, 117 insertions(+) diff --git a/app/test/test_eventdev.c b/app/test/test_eventdev.c index c51c93bdbd..0e

[PATCH v6 2/3] event/cnxk: implement event link profiles

2023-10-03 Thread pbhagavatula
From: Pavan Nikhilesh Implement event link profiles support on CN10K and CN9K. Both the platforms support up to 2 link profiles. Signed-off-by: Pavan Nikhilesh --- doc/guides/eventdevs/cnxk.rst | 1 + doc/guides/eventdevs/features/cnxk.ini | 3 +- doc/guides/rel_notes/release_23_11.

[PATCH v6 1/3] eventdev: introduce link profiles

2023-10-03 Thread pbhagavatula
From: Pavan Nikhilesh A collection of event queues linked to an event port can be associated with a unique identifier called as a link profile, multiple such profiles can be created based on the event device capability using the function `rte_event_port_profile_links_set` which takes arguments si

[PATCH v6 0/3] Introduce event link profiles

2023-10-03 Thread pbhagavatula
From: Pavan Nikhilesh A collection of event queues linked to an event port can be associated with unique identifier called as a link profile, multiple such profiles can be configured based on the event device capability using the function `rte_event_port_profile_links_set` which takes arguments s

Re: [PATCH v4] net/af_xdp: fix missing UMEM feature

2023-10-03 Thread Ferruh Yigit
On 10/2/2023 2:23 PM, Bruce Richardson wrote: > On Mon, Oct 02, 2023 at 02:15:51PM +0100, Ferruh Yigit wrote: >> On 10/2/2023 2:01 PM, Bruce Richardson wrote: >>> On Mon, Oct 02, 2023 at 12:48:52PM +, Shibin Koikkara Reeny wrote: Shared UMEM feature is missing in the af_xdp driver build >>

RE: [PATCH 1/2] event/sw: add self tests to fast tests

2023-10-03 Thread Van Haaren, Harry
> -Original Message- > From: Jerin Jacob > Sent: Tuesday, October 3, 2023 7:23 AM > To: Richardson, Bruce ; Van Haaren, Harry > > Cc: dev@dpdk.org > Subject: Re: [PATCH 1/2] event/sw: add self tests to fast tests > > On Thu, Sep 28, 2023 at 9:01 PM Bruce Richardson > wrote: > > > > By r

[PATCH v5 3/3] test/event: add event link profile test

2023-10-03 Thread pbhagavatula
From: Pavan Nikhilesh Add test case to verify event link profiles. Signed-off-by: Pavan Nikhilesh --- app/test/test_eventdev.c | 117 +++ 1 file changed, 117 insertions(+) diff --git a/app/test/test_eventdev.c b/app/test/test_eventdev.c index c51c93bdbd..0e

[PATCH v5 2/3] event/cnxk: implement event link profiles

2023-10-03 Thread pbhagavatula
From: Pavan Nikhilesh Implement event link profiles support on CN10K and CN9K. Both the platforms support up to 2 link profiles. Signed-off-by: Pavan Nikhilesh --- doc/guides/eventdevs/cnxk.rst | 1 + doc/guides/eventdevs/features/cnxk.ini | 3 +- doc/guides/rel_notes/release_23_11.

[PATCH v5 1/3] eventdev: introduce link profiles

2023-10-03 Thread pbhagavatula
From: Pavan Nikhilesh A collection of event queues linked to an event port can be associated with a unique identifier called as a link profile, multiple such profiles can be created based on the event device capability using the function `rte_event_port_profile_links_set` which takes arguments si

[PATCH v5 0/3] Introduce event link profiles

2023-10-03 Thread pbhagavatula
From: Pavan Nikhilesh A collection of event queues linked to an event port can be associated with unique identifier called as a link profile, multiple such profiles can be configured based on the event device capability using the function `rte_event_port_profile_links_set` which takes arguments s

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

2023-10-03 Thread Jonathan Erb
David, Thanks for the follow-up. The proposed patch below from Artemy will work for me. Jonathan On 9/29/23 10:32, David Marchand wrote: Hello Jonathan, On Thu, Jul 20, 2023 at 7:19 AM Jonathan Erb wrote: Resolves a deadlock that can occur when multiple secondary processes are starting