RE: [PATCH 11/13] crypto/cnxk: switch to SG when metabuf is allocated

2022-10-25 Thread Akhil Goyal
> Subject: [PATCH 11/13] crypto/cnxk: switch to SG when metabuf is allocated > > From: Anoob Joseph > > Metabuf would be allocated only when SG is required. Check the pointer > instead of flags. > > Coverity issue: 381018 > Fixes: d3bff77cc371 ("crypto/cnxk: separate out PDCP chain datapath")

RE: [EXT] Re: [PATCH v5 1/2] mem: telemetry support for memseg and element information

2022-10-25 Thread Amit Prakash Shukla
Hi Dmitry, Sure, will implement 2 new request (1. Msl properties, 2. Address lookup) in a separate patch. I will work on other review suggestions as part of v6. Thanks, Amit Shukla > -Original Message- > From: Dmitry Kozlyuk > Sent: Saturday, October 22, 2022 1:38 AM > To: Amit Prakas

RE: [PATCH v2] net/iavf: fix handling of IPsec events

2022-10-25 Thread Zhang, Qi Z
> -Original Message- > From: Nicolau, Radu > Sent: Monday, October 24, 2022 7:35 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Zhang, Qi Z ; Nicolau, Radu > ; sta...@dpdk.org > Subject: [PATCH v2] net/iavf: fix handling of IPsec events > > Verify that the message length is

[PATCH] vdpa/ifc/base: wait for queue disable before saving q-state

2022-10-25 Thread Abhishek Maheshwari
Some ifc hardware require synchronization between disabling a queue and saving queue-state from LM registers. When queue is disabled from vDPA driver, ifc device stops executing new virtio-cmds and then updates LM registers with used/avail index. Before saving the queue-state, vDPA driver should wa

Re: [PATCH v5] net/vhost: support asynchronous data path

2022-10-25 Thread Maxime Coquelin
Hi Jiayu, On 10/25/22 04:14, Hu, Jiayu wrote: Hi Maxime, Thanks for your comments. Please see replies inline. -Original Message- From: Maxime Coquelin Sent: Monday, October 24, 2022 5:08 PM To: Wang, YuanX ; Xia, Chenbo Cc: dev@dpdk.org; Hu, Jiayu ; Jiang, Cheng1 ; Ma, WenwuX ; He,

Re: [PATCH v9 02/14] net/idpf: add support for device initialization

2022-10-25 Thread Andrew Rybchenko
On 10/21/22 15:41, Zhang, Qi Z wrote: Hi Andrew: -Original Message- From: Andrew Rybchenko Sent: Friday, October 21, 2022 3:48 PM To: Guo, Junfeng ; Zhang, Qi Z ; Wu, Jingjing ; Xing, Beilei Cc: dev@dpdk.org; Li, Xiaoyun ; Wang, Xiao W Subject: Re: [PATCH v9 02/14] net/idpf: add supp

Re: [PATCH v5] pci: read amd iommu virtual address width

2022-10-25 Thread Ferruh Yigit
On 10/24/2022 7:09 PM, Stephen Hemminger wrote: On Thu, 13 Oct 2022 20:16:02 +0200 Michael Piszczek wrote: Add code to read the virtual address width for AMD processors. Updated pci_device_iommu_support_va() to use glob to find iommu capability files. Signed-off-by: Michael Piszczek --- dr

[PATCH v3 00/26] add the extend rte_flow offload support of nfp PMD

2022-10-25 Thread Chaoyong He
This is the third patch series to add the support of rte_flow offload for nfp PMD, includes: Add the offload support of decap/encap of VXLAN Add the offload support of decap/encap of GENEVE Add the offload support of decap/encap of NVGRE Changes since v2 - Fix the inconsistency in 'nfp.ini' file.

[PATCH v3 01/26] net/nfp: fix the app stuck by CPP bridge service

2022-10-25 Thread Chaoyong He
The CPP (Command Pull Push) bridge service is needed for some debug tools, but if no debug tools has ever been run, the initial logic of CPP bridge service will block in accept() function call, and the DPDK app can't exit normally. Fixes: 678648abc64c ("net/nfp: fix service stuck on application ex

[PATCH v3 02/26] net/nfp: support IPv4 VXLAN flow item

2022-10-25 Thread Chaoyong He
Add the corresponding data structure and logics, to support the offload of IPv4 VXLAN item. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/flower/nfp_flower_cmsg.h | 35 drivers/net/nfp/nfp_flow.c

[PATCH v3 03/26] net/nfp: support IPv6 VXLAN flow item

2022-10-25 Thread Chaoyong He
Add the corresponding data structure and logics, to support the offload of IPv6 VXLAN item. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/flower/nfp_flower_cmsg.h | 42 + drivers/net/nfp/nfp_flow.c | 113 +-- 2 files chan

[PATCH v3 04/26] net/nfp: prepare for IPv4 tunnel encap flow action

2022-10-25 Thread Chaoyong He
Add the related data structure and functions, prepare for the encap action of IPv4 tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/flower/nfp_flower_cmsg.c | 29 drivers/net/nfp/flower/nfp_flower_cmsg.h | 93 drivers/net/nfp

[PATCH v3 05/26] net/nfp: prepare for IPv6 tunnel encap flow action

2022-10-25 Thread Chaoyong He
Add the related data structure and functions, prepare for the encap action of IPv6 tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/flower/nfp_flower_cmsg.c | 29 +++ drivers/net/nfp/flower/nfp_flower_cmsg.h | 40 + drivers/net/nfp/nfp_flow.c

[PATCH v3 06/26] net/nfp: support IPv4 VXLAN encap flow action

2022-10-25 Thread Chaoyong He
Add the offload support of encap action for IPv4 VXLAN tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/nfp_flow.c | 132 +-- 2 files changed, 128 insertions(+), 5 deletions(-) diff

[PATCH v3 07/26] net/nfp: support IPv6 VXLAN encap flow action

2022-10-25 Thread Chaoyong He
Add the offload support of encap action for IPv6 VXLAN tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/nfp_flow.c | 48 ++ 1 file changed, 43 insertions(+), 5 deletions(-) diff --git a/drivers/net/nfp/nfp_flow.c b/drivers

[PATCH v3 08/26] net/nfp: prepare for IPv4 UDP tunnel decap flow action

2022-10-25 Thread Chaoyong He
Add the related data structure and functions, prepare for the decap action of IPv4 UDP tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/flower/nfp_flower_cmsg.c | 118 ++ drivers/net/nfp/flower/nfp_flower_

[PATCH v3 09/26] net/nfp: prepare for IPv6 UDP tunnel decap flow action

2022-10-25 Thread Chaoyong He
Add the related data structure and functions, prepare for the decap action of IPv6 UDP tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/flower/nfp_flower_cmsg.c | 42 +++ drivers/net/nfp/flower/nfp_flower_cmsg.h | 24 drivers/net/nfp/nfp_flow.c

[PATCH v3 10/26] net/nfp: support IPv4 VXLAN decap flow action

2022-10-25 Thread Chaoyong He
Add the offload support of decap action for IPv4 VXLAN tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/nfp_flow.c | 75 +--- 2 files changed, 71 insertions(+), 5 deletions(-) diff --

[PATCH v3 11/26] net/nfp: support IPv6 VXLAN decap flow action

2022-10-25 Thread Chaoyong He
Add the offload support of decap action for IPv6 VXLAN tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/nfp_flow.c | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/drivers/net/nfp/nfp_flow.c b/drivers/net/nfp/nfp_flow.c

[PATCH v3 12/26] net/nfp: support IPv4 GENEVE encap flow action

2022-10-25 Thread Chaoyong He
Add the offload support of encap action for IPv4 GENEVE tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/nfp_flow.c | 107 +++ 2 files changed, 108 insertions(+) diff --git a/doc/gui

[PATCH v3 13/26] net/nfp: support IPv6 GENEVE encap flow action

2022-10-25 Thread Chaoyong He
Add the offload support of encap action for IPv6 GENEVE tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/nfp_flow.c | 49 ++ 1 file changed, 49 insertions(+) diff --git a/drivers/net/nfp/nfp_flow.c b/drivers/net/nfp/nfp_fl

[PATCH v3 14/26] net/nfp: support IPv4 GENEVE flow item

2022-10-25 Thread Chaoyong He
Add the corresponding logics to support the offload of IPv4 GENEVE item. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/nfp_flow.c | 75 +++- 2 files changed, 74 insertions(+), 2 deletions(-

[PATCH v3 15/26] net/nfp: support IPv6 GENEVE flow item

2022-10-25 Thread Chaoyong He
Add the corresponding logics to support the offload of IPv6 GENEVE item. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/nfp_flow.c | 43 -- 1 file changed, 37 insertions(+), 6 deletions(-) diff --git a/drivers/net/nfp/nfp_flow.c

[PATCH v3 16/26] net/nfp: support IPv4 GENEVE decap flow action

2022-10-25 Thread Chaoyong He
Add the offload support of decap action for IPv4 GENEVE tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/nfp_flow.c | 16 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/doc/guide

[PATCH v3 17/26] net/nfp: support IPv6 GENEVE decap flow action

2022-10-25 Thread Chaoyong He
Add the offload support of decap action for IPv6 GENEVE tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/nfp_flow.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/nfp/nfp_flow.c b/drivers/net/nfp/nfp_flow.c index 46a047cd7b..ee9c2a36e0 1006

[PATCH v3 18/26] net/nfp: support IPv4 NVGRE encap flow action

2022-10-25 Thread Chaoyong He
Add the offload support of encap action of IPv4 NVGRE tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/nfp_flow.c | 43 ++ 1 file changed, 43 insertions(+) diff --git a/drivers/net/nfp/nfp_flow.c b/drivers/net/nfp/nfp_flow

[PATCH v3 19/26] net/nfp: support IPv6 NVGRE encap flow action

2022-10-25 Thread Chaoyong He
Add the offload support of encap action of IPv6 NVGRE tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/nfp_flow.c | 45 ++ 1 file changed, 45 insertions(+) diff --git a/drivers/net/nfp/nfp_flow.c b/drivers/net/nfp/nfp_flow

[PATCH v3 20/26] net/nfp: prepare for IPv4 GRE tunnel decap flow action

2022-10-25 Thread Chaoyong He
Add the related data structure and logics, prepare for the decap action of IPv4 GRE tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/flower/nfp_flower_cmsg.h | 29 + drivers/net/nfp/nfp_flow.c | 40 ++-- drive

[PATCH v3 21/26] net/nfp: prepare for IPv6 GRE tunnel decap flow action

2022-10-25 Thread Chaoyong He
Add the related data structure and logics, prepare for the decap action of IPv6 GRE tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/flower/nfp_flower_cmsg.h | 41 drivers/net/nfp/nfp_flow.c | 49 ++-- 2

[PATCH v3 22/26] net/nfp: support IPv4 NVGRE flow item

2022-10-25 Thread Chaoyong He
Add the corresponding logics to support the offload of IPv4 NVGRE item. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 2 + drivers/net/nfp/nfp_flow.c | 99 +++- 2 files changed, 99 insertions(+), 2 deletions(-)

[PATCH v3 23/26] net/nfp: support IPv6 NVGRE flow item

2022-10-25 Thread Chaoyong He
Add the corresponding logics to support the offload of IPv6 NVGRE item. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/nfp_flow.c | 73 ++ 1 file changed, 59 insertions(+), 14 deletions(-) diff --git a/drivers/net/nfp/nfp_flow.c

[PATCH v3 24/26] net/nfp: support IPv4 NVGRE decap flow action

2022-10-25 Thread Chaoyong He
Add the offload support of decap action of IPv4 NVGRE tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/nfp_flow.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/net/nfp/nfp_flow.c b/drivers/net/nfp/nfp_flow.c index 78af7bc

[PATCH v3 25/26] net/nfp: support IPv6 NVGRE decap flow action

2022-10-25 Thread Chaoyong He
Add the offload support of decap action of IPv6 NVGRE tunnel. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/nfp_flow.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/nfp/nfp_flow.c b/drivers/net/nfp/nfp_flow.c index d666446edf..93a9233b8b 100644

[PATCH v3 26/26] net/nfp: support new solution for tunnel decap action

2022-10-25 Thread Chaoyong He
The new version of flower firmware application add the support of a new tunnel decap action solution. It changes the structure of tunnel neighbor, and use a feature flag to indicate which tunnel decap action solution is used. Add the logic of read extra features from firmware, and store it in the

Re: [PATCH v2 25/25] net/nfp: support new tunnel solution

2022-10-25 Thread Ferruh Yigit
On 10/25/2022 2:44 AM, Chaoyong He wrote: On 10/22/2022 9:24 AM, Chaoyong He wrote: The new version of flower firmware application add the support of a new tunnel solution. It changes the structure of tunnel neighbor, and use a feature flag to indicate which tunnel solution is used. Add the lo

[PATCH] vdpa/ifc/base: wait for queue disable before saving q-state

2022-10-25 Thread Abhishek Maheshwari
Some ifc hardware require synchronization between disabling a queue and saving queue-state from LM registers. When queue is disabled from vDPA driver, ifc device stops executing new virtio-cmds and then updates LM registers with used/avail index. Before saving the queue-state, vDPA driver should wa

Re: [PATCH V2] doc: add ice in-tree driver version for Intel NICs

2022-10-25 Thread David Marchand
On Tue, Oct 25, 2022 at 4:52 AM Peng, Yuan wrote: > > Hi Marchand, > > Tested platform in this document lists all the platforms including CPU, OS > and NIC type with SW package version. > We submitted the patch to add our actual tested ice in-tree driver version of > E810 NIC in this DPDK releas

Re: [PATCH v6 1/1] baseband/acc100: add workaround for deRM corner cases

2022-10-25 Thread Maxime Coquelin
Hi Hernan, On 10/25/22 04:38, Hernan Vargas wrote: Add function to support de-ratematch pre-processing for SW corner cases. Some specific 5GUL FEC corner cases may cause unintended back pressure and in some cases a potential stability issue on the ACC100. To be able to avoid completely such pote

[PATCH v8 1/2] vhost: introduce DMA vchannel unconfiguration

2022-10-25 Thread xuan . ding
From: Xuan Ding Add a new API rte_vhost_async_dma_unconfigure() to unconfigure DMA vChannels in vhost async data path. Lock protection are also added to protect DMA vChannel configuration and unconfiguration from concurrent calls. Signed-off-by: Xuan Ding --- doc/guides/prog_guide/vhost_lib.rs

[PATCH v8 0/2] vhost: introduce DMA vchannel unconfiguration

2022-10-25 Thread xuan . ding
From: Xuan Ding This patchset introduces a new API rte_vhost_async_dma_unconfigure() to help user to manually free DMA vChannels finished to use. v8: * Check inflight packets release virtual channel. v7: * Add inflight packets processing. * Fix CI error. v6: * Move DMA unconfiguration to the e

[PATCH v8 2/2] examples/vhost: unconfigure DMA vchannel

2022-10-25 Thread xuan . ding
From: Xuan Ding This patch applies rte_vhost_async_dma_unconfigure() to manually free DMA vChannels. Before unconfiguration, make sure the specified DMA vChannel is no longer used by any vhost ports. Signed-off-by: Xuan Ding --- examples/vhost/main.c | 8 1 file changed, 8 insertions(

Re: [PATCH] devtools: check for supported git version

2022-10-25 Thread David Marchand
On Mon, Oct 24, 2022 at 5:38 PM Ali Alnubani wrote: > > The script devtools/parse-flow-support.sh uses the git-grep > option (-o, --only-matching), which is only supported from > git version 2.19 and onwards.[1] > > The script now exits early providing a clear message to the user > about the requi

Re: [PATCH v11 02/18] net/idpf: add support for device initialization

2022-10-25 Thread Andrew Rybchenko
On 10/24/22 16:12, Junfeng Guo wrote: Support device init and add the following dev ops: - dev_configure - dev_close - dev_infos_get Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Xiao Wang Signed-off-by: Junfeng Guo [snip] diff --git a/doc/guides/nics/features

[PATCH v2] test/member: fix incorrect expression

2022-10-25 Thread Leyi Rong
Fix incorrect expression by cast division operand to type double to match ceil() and fabs() definitions. Coverity issue: 381398, 381401, 381402 Fixes: db354bd2e1f8 ("member: add NitroSketch mode") Signed-off-by: Leyi Rong --- v2: - resubmit as v1 performance CI fail maybe false-positive. ---

[PATCH v3 0/4] Telemetry support for traces

2022-10-25 Thread David Marchand
This series is a continuation of the traces fixes series that is now merged. -- David Marchand Changes since v1/v2: - after some back and forth, the original patch has been split so that telemetry changes are separate and to introduce the new rte_trace_save() behavior, David Marchand (4):

[PATCH v3 2/4] telemetry: extend valid command characters

2022-10-25 Thread David Marchand
The trace framework wants to reference trace point names as keys in dicts. Those names can contain '.', so add it to the list of valid characters in the telemetry library. Signed-off-by: David Marchand Acked-by: Bruce Richardson --- lib/telemetry/rte_telemetry.h | 10 +- lib/telemetry/

[PATCH v3 1/4] telemetry: support boolean type

2022-10-25 Thread David Marchand
Add the boolean type RTE_TEL_BOOL_VAL for values in arrays and dicts. Signed-off-by: David Marchand Acked-by: Morten Brørup Acked-by: Bruce Richardson Acked-by: Ciara Power --- Changes since v1: - fixed doxygen description, --- app/test/test_telemetry_data.c | 88

[PATCH v3 3/4] trace: enable trace operations via telemetry

2022-10-25 Thread David Marchand
Register telemetry commands to list and configure trace points and later save traces for a running DPDK application. Example with testpmd running with two net/null ports (startup command from devtools/test-null.sh): --> /trace/list,lib.ethdev.* {"/trace/list": {"lib.ethdev.configure": false,

[PATCH v3 4/4] trace: create new directory for each trace dump

2022-10-25 Thread David Marchand
Rather than always overwrite the content of the trace directory, create new directories for each call to rte_trace_save(). In the unlikely event that multiple rte_trace_save() gets called many times in a single second, try to suffix the name with a digit. Signed-off-by: David Marchand --- lib/e

RE: [PATCH v7 8/8] net/gve: add support for Rx/Tx

2022-10-25 Thread Guo, Junfeng
> -Original Message- > From: Guo, Junfeng > Sent: Monday, October 24, 2022 21:25 > To: Ferruh Yigit ; Zhang, Qi Z > ; Wu, Jingjing ; Xing, > Beilei > Cc: dev@dpdk.org; Li, Xiaoyun ; > awogbem...@google.com; Richardson, Bruce > ; hemant.agra...@nxp.com; > step...@networkplumber.org; Xia,

[PATCH v8 0/8] introduce GVE PMD

2022-10-25 Thread Junfeng Guo
Introduce a new PMD for Google Virtual Ethernet (GVE). gve (or gVNIC) is the standard virtual ethernet interface on Google Cloud Platform (GCP), which is one of the multiple virtual interfaces from those leading CSP customers in the world. Having a well maintained/optimized gve PMD on DPDK commun

[PATCH v8 1/8] net/gve/base: introduce base code

2022-10-25 Thread Junfeng Guo
The following base code is based on Google Virtual Ethernet (gve) driver v1.3.0 under MIT license. - gve_adminq.c - gve_adminq.h - gve_desc.h - gve_desc_dqo.h - gve_register.h - gve.h The original code is in: https://github.com/GoogleCloudPlatform/compute-virtual-ethernet-linux/\ tree/v1.3.0/googl

[PATCH v8 2/8] net/gve/base: add OS specific implementation

2022-10-25 Thread Junfeng Guo
Add some MACRO definitions and memory operations which are specific for DPDK. Signed-off-by: Haiyue Wang Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/gve/base/gve_adminq.h | 2 + drivers/net/gve/base/gve_desc.h | 2 + drivers/net/gve/base/gve_desc_dqo.h | 2

[PATCH v8 3/8] net/gve: add support for device initialization

2022-10-25 Thread Junfeng Guo
Support device init and add following devops skeleton: - dev_configure - dev_start - dev_stop - dev_close Note that build system (including doc) is also added in this patch. Signed-off-by: Haiyue Wang Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- MAINTAINERS

[PATCH v8 4/8] net/gve: add support for link update

2022-10-25 Thread Junfeng Guo
Support dev_ops link_update. Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- doc/guides/nics/features/gve.ini | 1 + doc/guides/nics/gve.rst | 3 +++ drivers/net/gve/gve_ethdev.c | 30 ++ 3 files changed, 34 insertions(+) diff --git a/doc/gui

[PATCH v8 5/8] net/gve: add support for MTU setting

2022-10-25 Thread Junfeng Guo
Support dev_ops mtu_set. Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- doc/guides/nics/features/gve.ini | 1 + doc/guides/nics/gve.rst | 2 ++ drivers/net/gve/gve_ethdev.c | 28 3 files changed, 31 insertions(+) diff --git a/doc/guides/nic

[PATCH v8 6/8] net/gve: add support for dev info get and dev configure

2022-10-25 Thread Junfeng Guo
Add dev_ops dev_infos_get. Complete dev_configure with RX offloads force enabling. Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- doc/guides/nics/features/gve.ini | 2 ++ doc/guides/nics/gve.rst | 5 +++ drivers/net/gve/gve_ethdev.c | 59 +++-

[PATCH v8 7/8] net/gve: add support for queue operations

2022-10-25 Thread Junfeng Guo
Add support for queue operations: - setup rx/tx queue - release rx/tx queue - start rx/tx queues - stop rx/tx queues Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/gve/gve_ethdev.c | 204 + drivers/net/gve/gve_ethdev.h | 52 + drive

[PATCH v8 8/8] net/gve: add support for Rx/Tx

2022-10-25 Thread Junfeng Guo
Add Rx/Tx of GQI_QPL queue format and GQI_RDA queue format. Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- doc/guides/nics/features/gve.ini | 2 + doc/guides/nics/gve.rst | 4 + drivers/net/gve/gve_ethdev.c | 15 +- drivers/net/gve/gve_ethdev.h | 18 ++ drivers/

RE: [PATCH v3 2/4] telemetry: extend valid command characters

2022-10-25 Thread Power, Ciara
> -Original Message- > From: David Marchand > Sent: Tuesday 25 October 2022 10:01 > To: dev@dpdk.org > Cc: Richardson, Bruce ; Power, Ciara > > Subject: [PATCH v3 2/4] telemetry: extend valid command characters > > The trace framework wants to reference trace point names as keys in di

RE: [PATCH v5] net/vhost: support asynchronous data path

2022-10-25 Thread Hu, Jiayu
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, October 25, 2022 3:52 PM > To: Hu, Jiayu ; Wang, YuanX ; > Xia, Chenbo > Cc: dev@dpdk.org; Jiang, Cheng1 ; Ma, WenwuX > ; He, Xingguang ; > Thomas Monjalon ; Richardson, Bruce > ; Ilya Maximets ; > David Marchand >

Re: [PATCH v3 1/4] telemetry: support boolean type

2022-10-25 Thread Mattias Rönnblom
On 2022-10-25 11:00, David Marchand wrote: Add the boolean type RTE_TEL_BOOL_VAL for values in arrays and dicts. Signed-off-by: David Marchand Acked-by: Morten Brørup Acked-by: Bruce Richardson Acked-by: Ciara Power --- Changes since v1: - fixed doxygen description, --- app/test/test_tele

Re: [PATCH v11 03/18] net/idpf: add Tx queue setup

2022-10-25 Thread Andrew Rybchenko
On 10/24/22 16:12, Junfeng Guo wrote: Add support for tx_queue_setup ops. In the single queue model, the same descriptor queue is used by SW to post buffer descriptors to HW and by HW to post completed descriptors to SW. In the split queue model, "RX buffer queues" are used to pass descriptor b

Re: [PATCH v3 4/4] trace: create new directory for each trace dump

2022-10-25 Thread Mattias Rönnblom
On 2022-10-25 11:00, David Marchand wrote: Rather than always overwrite the content of the trace directory, create new directories for each call to rte_trace_save(). In the unlikely event that multiple rte_trace_save() gets called many times in a single second, try to suffix the name with a digi

Re: [PATCH v3 1/4] telemetry: support boolean type

2022-10-25 Thread David Marchand
On Tue, Oct 25, 2022 at 11:34 AM Mattias Rönnblom wrote: > > On 2022-10-25 11:00, David Marchand wrote: > > Add the boolean type RTE_TEL_BOOL_VAL for values in arrays and dicts. > > > > Signed-off-by: David Marchand > > Acked-by: Morten Brørup > > Acked-by: Bruce Richardson > > Acked-by: Ciara

Re: [PATCH v11 05/18] net/idpf: add support for device start and stop

2022-10-25 Thread Andrew Rybchenko
On 10/24/22 16:12, Junfeng Guo wrote: Add dev ops dev_start, dev_stop and link_update. Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 89 ++ drivers/net/idpf/idpf_ethdev.h | 5 ++ 2 file

RE: [PATCH v8 2/2] examples/vhost: unconfigure DMA vchannel

2022-10-25 Thread Ling, WeiX
> -Original Message- > From: Ding, Xuan > Sent: Tuesday, October 25, 2022 4:26 PM > To: maxime.coque...@redhat.com; Xia, Chenbo > Cc: dev@dpdk.org; Hu, Jiayu ; He, Xingguang > ; Ling, WeiX ; Jiang, > Cheng1 ; Wang, YuanX ; > Ma, WenwuX ; Ding, Xuan > Subject: [PATCH v8 2/2] examples/vhos

Re: [PATCH v11 09/18] net/idpf: add support for packet type get

2022-10-25 Thread Andrew Rybchenko
On 10/24/22 16:12, Junfeng Guo wrote: Add dev ops dev_supported_ptypes_get. Signed-off-by: Wenjun Wu Signed-off-by: Junfeng Guo Again, the patch should go after datapath implementation to make it reviewable. [snip] diff --git a/doc/guides/nics/features/idpf.ini b/doc/guides/nics/features

Re: [PATCH v11 15/18] net/idpf: add support for Rx offloading

2022-10-25 Thread Andrew Rybchenko
On 10/24/22 16:12, Junfeng Guo wrote: Add Rx offloading support: - support CHKSUM and RSS offload for split queue model - support CHKSUM offload for single queue model Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- doc/guides/nics/features/idpf.ini |

Re: [PATCH v11 12/18] net/idpf: add support for basic Tx datapath

2022-10-25 Thread Andrew Rybchenko
On 10/24/22 16:12, Junfeng Guo wrote: Add basic Tx support in split queue mode and single queue mode. Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo [snip] +/* TX prep functions */ +uint16_t +idpf_prep_pkts(__rte_unused void *tx_queue, struct rte_mbuf **tx

Re: [PATCH v11 16/18] net/idpf: add support for Tx offloading

2022-10-25 Thread Andrew Rybchenko
On 10/24/22 16:12, Junfeng Guo wrote: Add Tx offloading support: - support TSO Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo [snip] diff --git a/drivers/net/idpf/idpf_rxtx.c b/drivers/net/idpf/idpf_rxtx.c index 143c8b69f3..8f82cf1b59 100644 --- a/driver

[PATCH v2] devtools: check for supported git version

2022-10-25 Thread Ali Alnubani
The script devtools/parse-flow-support.sh uses the git-grep option (-o, --only-matching), which is only supported from git version 2.19 and onwards.[1] The script now exits early providing a clear message to the user about the required git version instead of showing the following error messages mu

Re: [PATCH v3 3/4] trace: enable trace operations via telemetry

2022-10-25 Thread Mattias Rönnblom
On 2022-10-25 11:00, David Marchand wrote: Register telemetry commands to list and configure trace points and later save traces for a running DPDK application. Example with testpmd running with two net/null ports (startup command from devtools/test-null.sh): --> /trace/list,lib.ethdev.* {"/trac

Re: [PATCH v3 1/4] telemetry: support boolean type

2022-10-25 Thread Bruce Richardson
On Tue, Oct 25, 2022 at 11:43:27AM +0200, David Marchand wrote: > On Tue, Oct 25, 2022 at 11:34 AM Mattias Rönnblom > wrote: > > > > On 2022-10-25 11:00, David Marchand wrote: > > > Add the boolean type RTE_TEL_BOOL_VAL for values in arrays and dicts. > > > > > > Signed-off-by: David Marchand >

Re: [PATCH v3 00/26] add the extend rte_flow offload support of nfp PMD

2022-10-25 Thread Ferruh Yigit
On 10/25/2022 8:58 AM, Chaoyong He wrote: This is the third patch series to add the support of rte_flow offload for nfp PMD, includes: Add the offload support of decap/encap of VXLAN Add the offload support of decap/encap of GENEVE Add the offload support of decap/encap of NVGRE Changes since v2

[PATCH v6] mem: telemetry support for memseg and element information

2022-10-25 Thread Amit Prakash Shukla
Changes adds telemetry support to display memory occupancy in memseg and the information of the elements allocated from a memseg based on arguments provided by user. This patch adds following endpoints: 1. /eal/memseg_lists The command displays the memseg list from which the memory has been alloca

[Bug 1113] i40e: device configure ignores RSS key in rx_adv_conf

2022-10-25 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1113 Bug ID: 1113 Summary: i40e: device configure ignores RSS key in rx_adv_conf Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity:

Re: [PATCH v6] pci: read amd iommu virtual address width

2022-10-25 Thread David Marchand
On Mon, Oct 24, 2022 at 5:35 PM Michael Piszczek wrote: > > Add code to read the virtual address width for AMD processors. > Updated pci_device_iommu_support_va() to use glob to find iommu > capability files. > > Signed-off-by: Michael Piszczek Please have a look at the ci. Unit tests are faili

[PATCH] maintainers: remove obsolete contact details

2022-10-25 Thread Bruce Richardson
Bernard is no longer with Intel and is no longer involved in the DPDK community, so remove him from the MAINTAINERS file. Signed-off-by: Bruce Richardson --- MAINTAINERS | 2 -- 1 file changed, 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 2bd4a55f1b..86a66b3981 100644 --- a/MAINT

Re: [PATCH v8 0/8] introduce GVE PMD

2022-10-25 Thread Ferruh Yigit
On 10/25/2022 10:07 AM, Junfeng Guo wrote: Introduce a new PMD for Google Virtual Ethernet (GVE). gve (or gVNIC) is the standard virtual ethernet interface on Google Cloud Platform (GCP), which is one of the multiple virtual interfaces from those leading CSP customers in the world. Having a wel

[PATCH v7] mem: telemetry support for memseg and element information

2022-10-25 Thread Amit Prakash Shukla
Changes adds telemetry support to display memory occupancy in memseg and the information of the elements allocated from a memseg based on arguments provided by user. This patch adds following endpoints: 1. /eal/memseg_lists The command displays the memseg list from which the memory has been alloca

[PATCH] lib: remove empty return types from doxygen comments

2022-10-25 Thread Ali Alnubani
Recent versions of doxygen (1.9.4 and newer) complain about the None return types for functions that don't return anything. Fixes the following build error: [..] Generating doc/api/doxygen with a custom command FAILED: doc/api/html /usr/bin/python3 /path/to/doc/api/generate_doxygen.py doc/api/html

[PATCH v2] lib: remove empty return types from doxygen comments

2022-10-25 Thread Ali Alnubani
Recent versions of doxygen (1.9.4 and newer) complain about documented return types for functions that don't return anything. This patch removes these return types to fix build errors similar to this one: [..] Generating doc/api/doxygen with a custom command FAILED: doc/api/html /usr/bin/python3 /

RE: [PATCH] net/mlx5: fix RSS expansion buffer size

2022-10-25 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Gregory Etelson > Sent: Thursday, October 20, 2022 12:59 PM > To: dev@dpdk.org > Cc: Gregory Etelson ; Matan Azrad > ; Raslan Darawsheh ; Slava > Ovsiienko ; Lior Margalit > Subject: [PATCH] net/mlx5: fix RSS expansion buffer size > > Increase expansion

RE: [PATCH] net/mlx5: fix tunnel header with IPIP offload

2022-10-25 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Jiawei(Jonny) Wang > Sent: Thursday, October 20, 2022 3:56 PM > To: Slava Ovsiienko ; Matan Azrad > ; Ori Kam ; Raslan Darawsheh > ; Lior Margalit > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix tunnel header with IPIP offload > > Fo

RE: [v4] net/mlx5: support matching flow on port representor ID

2022-10-25 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Sean Zhang > Sent: Tuesday, October 25, 2022 9:31 AM > To: NBU-Contact-Thomas Monjalon (EXTERNAL) ; > Matan Azrad ; Slava Ovsiienko > > Cc: dev@dpdk.org > Subject: [v4] net/mlx5: support matching flow on port representor ID > > Add support for port_repre

RE: [PATCH 0/2] mlx5: fix miss NULL check in devargs parsing

2022-10-25 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Michael Baum > Sent: Monday, October 24, 2022 3:34 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Slava Ovsiienko > Subject: [PATCH 0/2] mlx5: fix miss NULL check in devargs parsing > > The MLX5 PMD parses the devargs in several places. >

RE: [EXT] [PATCH resend v5 1/6] crypto/uadk: introduce uadk crypto driver

2022-10-25 Thread Akhil Goyal
> diff --git a/doc/guides/cryptodevs/uadk.rst b/doc/guides/cryptodevs/uadk.rst > new file mode 100644 > index 00..1dfaab73c8 > --- /dev/null > +++ b/doc/guides/cryptodevs/uadk.rst > @@ -0,0 +1,73 @@ > +.. SPDX-License-Identifier: BSD-3-Clause > +Copyright 2022-2023 Huawei Technologies

[PATCH 1/2] app/test-crypto-perf: fix number of scheduler sessions

2022-10-25 Thread Ciara Power
The scheduler PMD needs 1 session header, along with a session per worker. After the session rework, this change was made to other apps, for example l2fwd-crypto, but was missed in test-crypto-perf. Fixes: bdce2564dbf7 ("cryptodev: rework session framework") Cc: gak...@marvell.com Signed-off-by:

[PATCH 2/2] crypto/scheduler: fix op session in pkt size distr mode

2022-10-25 Thread Ciara Power
The index for sess_ctx was incorrect when setting the op session. Fixes: 6812b9bf470e ("crypto/scheduler: use unified session") Signed-off-by: Ciara Power --- drivers/crypto/scheduler/scheduler_pkt_size_distr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/s

RE: [EXT] [PATCH resend v5 2/6] crypto/uadk: support basic operations

2022-10-25 Thread Akhil Goyal
> +/* Maximum length for digest (SHA-512 needs 64 bytes) */ > +#define DIGEST_LENGTH_MAX 64 > + > +struct uadk_qp { > + /* Ring for placing process packets */ > + struct rte_ring *processed_pkts; > + /* Queue pair statistics */ > + struct rte_cryptodev_stats qp_stats; > + /* Que

RE: [EXT] [PATCH resend v5 4/6] crypto/uadk: support cipher algorithms

2022-10-25 Thread Akhil Goyal
> @@ -326,7 +641,9 @@ uadk_cryptodev_probe(struct rte_vdev_device *vdev) > dev->driver_id = uadk_cryptodev_driver_id; > dev->dequeue_burst = uadk_crypto_dequeue_burst; > dev->enqueue_burst = uadk_crypto_enqueue_burst; > - dev->feature_flags = RTE_CRYPTODEV_FF_HW_ACCELERATED; >

flow classify library status

2022-10-25 Thread David Marchand
Hello, The flow_classify library has been out and marked experimental for a long time. Its current maintainer is now leaving the community. The library did not get much traction: I am not aware of an opensource project using it. Are there users of this library? If we deprecated it (to later dro

RE: [EXT] [PATCH resend v5 5/6] crypto/uadk: support auth algorithms

2022-10-25 Thread Akhil Goyal
> Hash algorithms: > > * ``RTE_CRYPTO_AUTH_MD5`` > * ``RTE_CRYPTO_AUTH_MD5_HMAC`` > * ``RTE_CRYPTO_AUTH_SHA1`` > * ``RTE_CRYPTO_AUTH_SHA1_HMAC`` > * ``RTE_CRYPTO_AUTH_SHA224`` > * ``RTE_CRYPTO_AUTH_SHA224_HMAC`` > * ``RTE_CRYPTO_AUTH_SHA256`` > * ``RTE_CRYPTO_AUTH_SHA256_HMAC`` > * ``RTE_CRYPTO_AU

RE: [EXT] [PATCH resend v5 6/6] test/crypto: add cryptodev_uadk_autotest

2022-10-25 Thread Akhil Goyal
> Subject: [EXT] [PATCH resend v5 6/6] test/crypto: add cryptodev_uadk_autotest Rewrite patch title as test/crypto: support uadk PMD > Add a line Updated test application to run autotest for uadk crypto PMD. > Example: > sudo dpdk-test --vdev=crypto_uadk --log-level=6 > RTE>>cryptodev_uadk_autote

RE: [PATCH v6 1/1] baseband/acc100: add workaround for deRM corner cases

2022-10-25 Thread Chautru, Nicolas
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, October 25, 2022 1:26 AM > To: Vargas, Hernan ; dev@dpdk.org; > gak...@marvell.com; t...@redhat.com > Cc: Chautru, Nicolas ; Zhang, Qi Z > ; David Marchand ; > Thomas Monjalon > Subject: Re: [PATCH v6 1/1] baseband/

RE: [EXT] [PATCH resend v5 0/6] crypto/uadk: introduce uadk crypto driver

2022-10-25 Thread Akhil Goyal
> Introduce a new crypto PMD for hardware accelerators based on UADK [1]. > > UADK is a framework for user applications to access hardware accelerators. > UADK relies on IOMMU SVA (Shared Virtual Address) feature, which share > the same page table between IOMMU and MMU. > Thereby user applicatio

RE: [EXT] [PATCH 1/2] app/test-crypto-perf: fix number of scheduler sessions

2022-10-25 Thread Akhil Goyal
> The scheduler PMD needs 1 session header, > along with a session per worker. > > After the session rework, this change was made to other apps, > for example l2fwd-crypto, but was missed in test-crypto-perf. > > Fixes: bdce2564dbf7 ("cryptodev: rework session framework") > Cc: gak...@marvell.com

RE: [PATCH] maintainers: remove obsolete contact details

2022-10-25 Thread Mcnamara, John
> -Original Message- > From: Bruce Richardson > Sent: Tuesday, October 25, 2022 1:11 PM > To: dev@dpdk.org > Cc: Richardson, Bruce > Subject: [PATCH] maintainers: remove obsolete contact details > > Bernard is no longer with Intel and is no longer involved in the DPDK > community, so

Re: flow classify library status

2022-10-25 Thread Ferruh Yigit
On 10/25/2022 3:37 PM, David Marchand wrote: Hello, The flow_classify library has been out and marked experimental for a long time. Its current maintainer is now leaving the community. The library did not get much traction: I am not aware of an opensource project using it. Are there users of t

  1   2   >