RE: [PATCH v6 02/27] net/nfp: fix the promiscuous mode control functions

2022-10-21 Thread Chaoyong He
> On 10/21/2022 9:01 AM, Chaoyong He wrote: > > The original functions of promiscuous mode can't process the > > representor port rightly, revise the logic to do that. > > > > Fixes: e1124c4f8a45 ("net/nfp: add flower representor framework") > > > > Signed-off-by: Chaoyong He > > --- > > drivers

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

2022-10-21 Thread Dmitry Kozlyuk
Hi Amit, 2022-10-21 19:26 (UTC+), Amit Prakash Shukla: [...] > > How does the user learn heap_id? > > There probably should be /eal/heap_id returning a list of heap IDs. > > Request for list of active heap Id's is already present. > " /eal/heap_list" My bad! > > > --> /eal/element_list,0

Re: [RFC] pcapng: record received RSS hash in pcap file

2022-10-21 Thread Stephen Hemminger
On Tue, 26 Jul 2022 14:36:19 -0700 Stephen Hemminger wrote: > There is an option for recording RSS hash with packets in the > pcapng standard. This implements this for all received packets. > > There is a corner case that can not be addressed with current > DPDK API's. If using rte_flow() and so

Re: [PATCH v2] doc/eal: add signal safety warning

2022-10-21 Thread Stephen Hemminger
On Mon, 11 Jul 2022 23:15:26 +0200 Thomas Monjalon wrote: > 05/07/2022 22:44, Stephen Hemminger: > > The DPDK is not designed to be used from a signal handler. > > Add a notice in the documentation describing this limitation, > > similar to Linux signal-safety manual page. > > > > Bugzilla ID: 1

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

2022-10-21 Thread Amit Prakash Shukla
Thanks Dmitry for the feedback. Please find my reply in-line. > -Original Message- > From: Dmitry Kozlyuk > Sent: Thursday, October 20, 2022 5:11 PM > To: Amit Prakash Shukla > Cc: Anatoly Burakov ; dev@dpdk.org; Jerin > Jacob Kollanukkaran ; david.march...@redhat.com; > bruce.richard...

[PATCH v2] app/test-security-perf: add security perf app

2022-10-21 Thread Anoob Joseph
Add performance application to test security session create & destroy rates supported by the security enabled cryptodev PMD. The application would create specified number of sessions and captures the time taken for the same before proceeding to destroy of the same. When operating on multi-core, the

Re: [PATCH v9 1/1] app/testpmd: support mulitiple mbuf pools per Rx queue

2022-10-21 Thread Singh, Aman Deep
On 10/17/2022 2:18 PM, Hanumanth Pothula wrote: Some of the HW has support for choosing memory pools based on the packet's size. The pool sort capability allows PMD/NIC to choose a memory pool based on the packet's length. On multiple mempool support enabled, populate mempool array accordingl

RE: [PATCH] examples/ipsec-secgw: support for per SA HW reassembly

2022-10-21 Thread Akhil Goyal
> @@ -142,7 +144,7 @@ extern volatile bool force_quit; > extern uint32_t nb_bufs_in_pool; > > extern bool per_port_pool; > - > +extern int ip_reassembly_dynfield_offset; > extern uint32_t mtu_size; > extern uint32_t frag_tbl_sz; > > @@ -186,6 +188,46 @@ core_stats_update_drop(int n) > c

RE: [v1 2/2] examples/fips_validation: add ECDSA validation

2022-10-21 Thread Akhil Goyal
> > Subject: [v1 2/2] examples/fips_validation: add ECDSA validation > > > > This patch adds support in fips_validation app to validate ECDSA. > > > > Signed-off-by: Gowrishankar Muthukrishnan > > Acked-by: Brian Dooley Applied to dpdk-next-crypto Thanks.

RE: [PATCH v5 28/29] baseband/acc100: add workaround for deRM corner cases

2022-10-21 Thread Chautru, Nicolas
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Friday, October 21, 2022 2:33 AM > To: Vargas, Hernan ; dev@dpdk.org; > gak...@marvell.com; t...@redhat.com > Cc: Chautru, Nicolas ; Zhang, Qi Z > > Subject: Re: [PATCH v5 28/29] baseband/acc100: add workaround for deRM > c

RE: [EXT] [PATCH v13 1/1] test-bbdev: unit test extension including for FFT

2022-10-21 Thread Akhil Goyal
> From: Nic Chautru > > Added support for bbdev level unit test > for the FFT operations and for Soft-Output options. > Also added 2 small test vectors for the FFT operation. > > Signed-off-by: Nic Chautru > Reviewed-by: Maxime Coquelin Applied to dpdk-next-crypto Thanks.

RE: [PATCH 0/1] Add security perf application

2022-10-21 Thread Akhil Goyal
> Hi Akhil, > > +Techboard for guidance > The proposal is accepted in techboard. Please fix compilation issues reported in CI. > > I agree that common part would be init only but it can scale for > > non-security > > sessions easily. > > Currently, dpdk-test-crypto-perf has a data path frame

RE: [EXT] [PATCH 0/2] test: add elliptic curve tests

2022-10-21 Thread Akhil Goyal
> This patchset adds new test cases that can be used to verify > elliptic curve algorithms like ECDSA, ECDH, etc. > > Depends-on: series-24333 ("crypto/qat: extend asymmetric crypto pmd") > > Arek Kusztal (2): > test/crypto: add ecdsa qat test cases > test/crypto: add ecdh tests > > app/tes

RE: [PATCH] test/cryptodev: fix PDCP vectors

2022-10-21 Thread Akhil Goyal
> > Subject: [PATCH] test/cryptodev: fix PDCP vectors > > > > The existing PDCP vectors have a deviation from the PDCP header > > specification. The reserved fields are set to 0 in the PDCP headers and > > D/C bits are updated as per the use case. The MAC-I for the > > corresponding vectors are als

RE: [PATCH v2 0/6] update autotest with new algorithms

2022-10-21 Thread Akhil Goyal
> Subject: [PATCH v2 0/6] update autotest with new algorithms > > This series updates autotest with DES, 3DES, MD5 > and custom UDP ports support. > > v2: > * Squashed a change in 5th patch with 2nd one. > Series Acked-by: Akhil Goyal Applied to dpdk-next-crypto Thanks.

RE: [PATCH 00/13] fixes and improvements to cnxk crypto PMD

2022-10-21 Thread Akhil Goyal
> Subject: [PATCH 00/13] fixes and improvements to cnxk crypto PMD > > This series adds improvements and support for 103XX CPT, > PDCP AAD, DES and MD5 algorithms in cnxk crypto PMD. > > Anoob Joseph (3): > crypto/cnxk: switch to SG when metabuf is allocated > crypto/cnxk: verify IV length du

Re: [PATCH] fix: rename dpdk-ioat to dpdk-dma in example

2022-10-21 Thread David Marchand
On Wed, Oct 12, 2022 at 12:44 PM Conor Walsh wrote: > > When the dpdk-ioat app was renamed to dpdk-dma this example command > was missed, this patch corrects that issue. > > Fixes: bb4141dbe5da ("examples/dma: rename ioat application example") > > Signed-off-by: Conor Walsh Applied, thanks. --

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

2022-10-21 Thread Ferruh Yigit
On 10/21/2022 2:37 PM, Ferruh Yigit wrote: On 10/18/2022 4:22 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 suppo

RE: [PATCH v3 1/2] common/qat: read hw slice configuration

2022-10-21 Thread Akhil Goyal
> Acked-by: Kai Ji > > Subject: [PATCH v3 1/2] common/qat: read hw slice configuration > > > > Read slice configuration of QAT capabilities. > > This will allow to recognize if specific hw function is available on > > particular > > device. > > > > Signed-off-by: Arek Kusztal Series applied to d

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

2022-10-21 Thread Ferruh Yigit
On 10/18/2022 4:22 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 Depends-on: seri

RE: [PATCH v2 1/3] crypto/qat: fix uncleared cookies in asym

2022-10-21 Thread Akhil Goyal
> > Subject: [PATCH v2 1/3] crypto/qat: fix uncleared cookies in asym > > > > Fixed incorrectly placed clean function in asym response. > > > > Fixes: 002486db239e ("crypto/qat: refactor asymmetric session") > > > > Signed-off-by: Arek Kusztal > > --- > > v2: > > - fixed compilation issues > > - s

Re: [RFC v3] app/dma-perf: introduce dma-perf application

2022-10-21 Thread David Marchand
On Tue, Oct 18, 2022 at 9:22 AM Cheng Jiang wrote: > > There are many high-performance DMA devices supported in DPDK now, and > these DMA devices can also be integrated into other modules of DPDK as > accelerators, such as Vhost. Before integrating DMA into applications, > developers need to know

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

2022-10-21 Thread Ferruh Yigit
On 10/21/2022 10:19 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

Re: [PATCH] service: fix early move to inactive status

2022-10-21 Thread David Marchand
On Fri, Oct 21, 2022 at 1:36 PM Van Haaren, Harry wrote: > > > > Assume thread T2 is a service lcore that is in the middle of executing > > a service function. Also, assume thread T1 concurrently calls > > rte_service_lcore_stop(), which will set the "service_active_on_lcore" > > state to false.

Re: [PATCH] pdump: do not allow enable/disable in primary process

2022-10-21 Thread David Marchand
On Wed, Oct 19, 2022 at 6:37 PM Stephen Hemminger wrote: > > Attempts to enable or disable pdump in primary process > will fail with core dump because it is not valid to call > rte_mp_request_sync() unless in a secondary process. > > Trap the error in the common code used for both enable > and dis

Re: [RFT] dumpcap: add file-prefix option

2022-10-21 Thread David Marchand
On Thu, Oct 20, 2022 at 1:55 PM Kaur, Arshdeep wrote: > > > > When using dumpcap in container environment or with multiple DPDK > > processes, it is useful to be able to specify file prefix. > > > > This version only accepts the long format option used by other commands. > > If no prefix is specif

Re: [PATCH v3] dumpcap: fix pathname for output file

2022-10-21 Thread David Marchand
On Thu, Oct 20, 2022 at 7:29 PM Stephen Hemminger wrote: > > When dumpcap is run with a longer path name such as when > testing, the file prefix would be computed incorrectly. > > Also, print out the resulting filename which is what > similar wireshark program does. > > Fixes: cbb44143be74 ("app/d

RE: [EXT] [PATCH v5 00/29] baseband/acc100: changes for 22.11

2022-10-21 Thread Akhil Goyal
> v5: Fix compilation error and squash documentation changes. Series Applied with some more compilation fixes in docs. Please fix your build environment for future patches. Also updated commit messages and description of some of the patches. You should run the script ./devtools/check-git-log.sh o

Re: [PATCH] dumpcap: remove bogus rte_free()

2022-10-21 Thread David Marchand
On Fri, Oct 21, 2022 at 12:19 AM Stephen Hemminger wrote: > > At end of program there is call to rte_free() which is passing > a bogus value. There is no "bpf_filter" defined in this application; > it ends up being a text address inside pcap library. > > Fixes: cbb44143be74 ("app/dumpcap: add new

Re: [PATCH v6 00/27] add the basic rte_flow offload support of nfp PMD

2022-10-21 Thread Ferruh Yigit
On 10/21/2022 9:01 AM, Chaoyong He wrote: This is the second patch series to add the support of rte_flow offload for nfp PMD, includes: Implement the rte_flow related API Implement the offload framework of nfp card Add the offload support of common rte_flow pattern items Add the offload support o

Re: [PATCH v6 02/27] net/nfp: fix the promiscuous mode control functions

2022-10-21 Thread Ferruh Yigit
On 10/21/2022 9:01 AM, Chaoyong He wrote: The original functions of promiscuous mode can't process the representor port rightly, revise the logic to do that. Fixes: e1124c4f8a45 ("net/nfp: add flower representor framework") Signed-off-by: Chaoyong He --- drivers/net/nfp/flower/nfp_flower_rep

Re: [PATCH v4] dumpcap: fix select interface

2022-10-21 Thread David Marchand
On Mon, Oct 17, 2022 at 5:12 PM Stephen Hemminger wrote: > On Mon, 17 Oct 2022 05:07:52 -0700 > Arshdeep Kaur wrote: > > > The change to do argument process before EAL init broke > > the support of select-interface option. Fix by setting flag > > and doing select-interface later. > > > > Fixes: a

RE: [PATCH v9 01/14] common/idpf: introduce common library

2022-10-21 Thread Zhang, Qi Z
> -Original Message- > From: Xing, Beilei > Sent: Friday, October 21, 2022 8:35 PM > To: Andrew Rybchenko ; Guo, Junfeng > ; Zhang, Qi Z ; Wu, Jingjing > > Cc: dev@dpdk.org; Wang, Xiao W > Subject: RE: [PATCH v9 01/14] common/idpf: introduce common library > > > > > -Original Me

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

2022-10-21 Thread Zhang, Qi Z
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 support for device initiali

Re: [PATCH v9 01/14] common/idpf: introduce common library

2022-10-21 Thread Andrew Rybchenko
On 10/21/22 15:35, Xing, Beilei wrote: -Original Message- From: Andrew Rybchenko Sent: Friday, October 21, 2022 2:40 PM To: Guo, Junfeng ; Zhang, Qi Z ; Wu, Jingjing ; Xing, Beilei Cc: dev@dpdk.org; Wang, Xiao W Subject: Re: [PATCH v9 01/14] common/idpf: introduce common library On

RE: [PATCH v9 01/14] common/idpf: introduce common library

2022-10-21 Thread Xing, Beilei
> -Original Message- > From: Andrew Rybchenko > Sent: Friday, October 21, 2022 2:40 PM > To: Guo, Junfeng ; Zhang, Qi Z > ; Wu, Jingjing ; Xing, Beilei > > Cc: dev@dpdk.org; Wang, Xiao W > Subject: Re: [PATCH v9 01/14] common/idpf: introduce common library > > On 10/21/22 08:18, Junfe

RE: [PATCH] service: fix early move to inactive status

2022-10-21 Thread Van Haaren, Harry
> -Original Message- > From: Carrillo, Erik G > Sent: Thursday, October 20, 2022 8:01 PM > To: Van Haaren, Harry > Cc: Naga Harish K, S V ; dev@dpdk.org; > sta...@dpdk.org > Subject: [PATCH] service: fix early move to inactive status > > Assume thread T2 is a service lcore that is in the

[PATCH] maintainers: change maintainer for event ethdev Rx/Tx adapters

2022-10-21 Thread Jay Jayatheerthan
Harish is the new maintainer of Rx/Tx adapters due to role change of Jay Signed-off-by: Jay Jayatheerthan --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 2bd4a55f1b..86d9e62667 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -

[PATCH] maintainers: change maintainer for event ethdev Rx/Tx adapters

2022-10-21 Thread Jay Jayatheerthan
Signed-off-by: Jay Jayatheerthan --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 2bd4a55f1b..86d9e62667 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -498,14 +498,14 @@ F: app/test/test_eventdev.c F: examples/l3fwd/l3fwd_eve

[PATCH v3 2/2] net/ice: fix vlan offload

2022-10-21 Thread Mingjin Ye
The vlan tag and flag in Rx descriptor are not processed on vector path, then the upper application cann't fetch the tci from mbuf. This commit add handling of vlan RX offloading. Fixes: c68a52b8b38c ("net/ice: support vector SSE in Rx") Fixes: ece1f8a8f1c8 ("net/ice: switch to flexible descripto

[PATCH v3 1/2] app/testpmd: fix vlan offload of rxq

2022-10-21 Thread Mingjin Ye
After setting vlan offload in testpmd, the result is not updated to rxq. Therefore, the queue needs to be reconfigured after executing the "vlan offload" related commands. Fixes: a47aa8b97afe ("app/testpmd: add vlan offload support") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- app/test-pm

Re: [PATCH v2] net/nfp: ensure the MTU can work

2022-10-21 Thread Ferruh Yigit
On 10/21/2022 7:27 AM, Chaoyong He wrote: From: Peng Zhang When MTU is bigger than hw->flbufsz, it can't work. hw->flbufsz is set in the nfp_net_rx_queue_setup(). At first, in the nfp_net_configure(), the hw->flbufsz isn't set the value, it just judge the initialized value and MTU, it is unrea

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

2022-10-21 Thread Ferruh Yigit
On 10/21/2022 10:19 AM, Junfeng Guo wrote: Add Rx/Tx of GQI_QPL queue format and GQI_RDA queue format. Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo <...> + +static inline void +gve_tx_clean_swr_qpl(struct gve_tx_queue *txq) +{ + uint32_t start = txq->sw_ntc; + uint32_

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

2022-10-21 Thread Ferruh Yigit
On 10/21/2022 10:19 AM, Junfeng Guo wrote: Add dev_ops dev_infos_get. Complete dev_configure with RX offloads force enabling. Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo <...> --- a/doc/guides/nics/gve.rst +++ b/doc/guides/nics/gve.rst @@ -62,6 +62,7 @@ In this release, the GVE

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

2022-10-21 Thread Ferruh Yigit
On 10/21/2022 10:19 AM, Junfeng Guo wrote: Support dev_ops mtu_set. Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo <...> +static int +gve_dev_mtu_set(struct rte_eth_dev *dev, uint16_t mtu) +{ + struct gve_priv *priv = dev->data->dev_private; + int err; + + if (mtu

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

2022-10-21 Thread Ferruh Yigit
On 10/21/2022 10:19 AM, Junfeng Guo wrote: 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

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

2022-10-21 Thread Ferruh Yigit
On 10/21/2022 10:19 AM, Junfeng Guo wrote: 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/compu

Re: [PATCH] eventdev: fix event vector documentation typo

2022-10-21 Thread Jerin Jacob
On Fri, Oct 21, 2022 at 1:48 PM Mattias Rönnblom wrote: > > The Eventdev guide had got the type of the rte_event_vector struct's > u64s union field wrong. > > Fixes: 1cc44d409271 ("eventdev: introduce event vector capability") > Cc: pbhagavat...@marvell.com > Cc: sta...@dpdk.org > > Signed-off-by:

Re: [PATCH v5 28/29] baseband/acc100: add workaround for deRM corner cases

2022-10-21 Thread Maxime Coquelin
On 10/21/22 07:21, 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 potential stability issue on the ACC100. To be able to avoid completly such potential issue,

Re: [PATCH v2] eventdev/eth_tx: fix queue delete logic

2022-10-21 Thread Jerin Jacob
On Fri, Oct 21, 2022 at 12:16 PM Naga Harish K S V wrote: > > To delete all the queues of a ethernet device associated with > adapter instance the queue_id can be passed as -1 to the queue > delete API. > > When a subset of queues of a ethernet device are associated, > the queue delete logic is ex

DPDK Release Status Meeting 2022-10-20

2022-10-21 Thread Mcnamara, John
Release status meeting minutes 2022-10-20 = Agenda: * Release Dates * Subtrees * Roadmaps * LTS * Defects * Opens Participants: * ARM [No] * Canonical [No] * Debian/Microsoft * Intel * Marvell * Nvidia * Red Hat * Xilinx/AMD Release Dates - T

Re: [PATCH v5 27/29] baseband/acc100: add ring companion address

2022-10-21 Thread Maxime Coquelin
On 10/21/22 07:21, Hernan Vargas wrote: Store the virtual address of companion ring as part of queue information. Use this address to calculate the op address. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_acc100_pmd.c | 179 +- 1 file changed, 116 inse

Re: [PATCH v5 20/29] baseband/acc100: update validate LDPC enc/dec

2022-10-21 Thread Maxime Coquelin
On 10/21/22 07:20, Hernan Vargas wrote: Update validate functions to check for valid LDPC parameters to avoid any HW issues. Adding protection for null corner case and for HARQ inbound size out of range. HARQ input size from application may be invalid and causing HW issue. Add checks to ensure

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

2022-10-21 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/

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

2022-10-21 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 v7 6/8] net/gve: add support for dev info get and dev configure

2022-10-21 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 | 1 + drivers/net/gve/gve_ethdev.c | 59 +++-

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

2022-10-21 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 + drivers/net/gve/gve_ethdev.c | 28 2 files changed, 29 insertions(+) diff --git a/doc/guides/nics/features/gve.ini b/doc/guides/nics/featu

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

2022-10-21 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 v7 3/8] net/gve: add support for device initialization

2022-10-21 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 v7 2/8] net/gve/base: add OS specific implementation

2022-10-21 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 v7 1/8] net/gve/base: introduce base code

2022-10-21 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 v7 0/8] introduce GVE PMD

2022-10-21 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

Re: [PATCH v5 08/29] baseband/acc100: allocate ring/queue mem when NULL

2022-10-21 Thread Maxime Coquelin
On 10/21/22 07:20, Hernan Vargas wrote: Allocate info ring, tail pointers and HARQ layout memory for a device only if it hasn't already been allocated. Fixes: 06531464151 ("baseband/acc100: support interrupt") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_a

RE: [PATCH v2] net/ice: support vxlan gpe tunnel offload

2022-10-21 Thread Xu, Ke1
> -Original Message- > From: Mingjin Ye > Sent: Friday, October 21, 2022 9:00 PM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Zhou, YidingX ; Ye, MingjinX > ; Yang, Qiming ; Zhang, Qi > Z ; Somnath Kotur ; > Matz, Olivier ; Ajit Khaparde > ; Andrew Rybchenko > > Subject: [PATCH v2] net/ic

Re: [PATCH v5 07/29] baseband/acc100: enforce additional check on FCW

2022-10-21 Thread Maxime Coquelin
On 10/21/22 07:20, Hernan Vargas wrote: Enforce additional check on Frame Control Word validity and add stronger alignment for decompression mode. Fixes: 5ad5060f8f7 ("baseband/acc100: add LDPC processing functions") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas --- drivers/baseband/ac

Re: [PATCH v5 02/29] baseband/acc100: add function to check AQ availability

2022-10-21 Thread Maxime Coquelin
On 10/21/22 07:20, Hernan Vargas wrote: It is possible for some corner case to run more batch enqueue than supported. A protection is required to avoid that corner case. Enhance all ACC100 enqueue operations with check to see if there is room in the atomic queue for enqueueing batches into the

Re: [PATCH v5 01/29] baseband/acc100: fix ring availability calculation

2022-10-21 Thread Maxime Coquelin
On 10/21/22 07:20, Hernan Vargas wrote: Refactor of the queue availability computation to prevent the application to dequeue more than what may have been enqueued. Fixes: 5ad5060f8f7 ("baseband/acc100: add LDPC processing functions") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas --- dr

[PATCH v5 6/6] test/crypto: add cryptodev_uadk_autotest

2022-10-21 Thread Zhangfei Gao
Example: sudo dpdk-test --vdev=crypto_uadk --log-level=6 RTE>>cryptodev_uadk_autotest RTE>>quit Signed-off-by: Zhangfei Gao --- app/test/test_cryptodev.c | 7 +++ app/test/test_cryptodev.h | 1 + 2 files changed, 8 insertions(+) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptod

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

2022-10-21 Thread Zhangfei Gao
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_AUTH_SHA384`` * ``RTE_CR

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

2022-10-21 Thread Zhangfei Gao
Cipher algorithms: * ``RTE_CRYPTO_CIPHER_AES_ECB`` * ``RTE_CRYPTO_CIPHER_AES_CBC`` * ``RTE_CRYPTO_CIPHER_AES_XTS`` * ``RTE_CRYPTO_CIPHER_DES_CBC`` Signed-off-by: Zhangfei Gao --- doc/guides/cryptodevs/features/uadk.ini | 10 + doc/guides/cryptodevs/uadk.rst | 6 + drivers/crypto/uad

[PATCH v5 3/6] crypto/uadk: support enqueue/dequeue operations

2022-10-21 Thread Zhangfei Gao
This commit adds the enqueue and dequeue operations. Signed-off-by: Zhangfei Gao --- drivers/crypto/uadk/uadk_crypto_pmd.c | 53 ++- 1 file changed, 51 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/uadk/uadk_crypto_pmd.c b/drivers/crypto/uadk/uadk_crypto_pmd

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

2022-10-21 Thread Zhangfei Gao
Support the basic dev control operations: configure, close, start, stop and get info, as well as queue pairs operations. Signed-off-by: Zhangfei Gao --- drivers/crypto/uadk/uadk_crypto_pmd.c | 213 -- 1 file changed, 204 insertions(+), 9 deletions(-) diff --git a/drivers

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

2022-10-21 Thread Zhangfei Gao
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 application can directly

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

2022-10-21 Thread Zhangfei Gao
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 application can directly

Re: [PATCH v9 10/14] net/idpf: add support for RSS

2022-10-21 Thread Andrew Rybchenko
On 10/21/22 08:18, Junfeng Guo wrote: Add RSS support. Signed-off-by: Beilei Xing Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 123 - drivers/net/idpf/idpf_ethdev.h | 26 +++ drivers/net/idpf/idpf_rxtx.c | 27 drivers/net

RE: [PATCH v2 3/3] crypto/qat: fix not set rsa lengths

2022-10-21 Thread Power, Ciara
> -Original Message- > From: Arek Kusztal > Sent: Tuesday 18 October 2022 14:54 > To: dev@dpdk.org > Cc: gak...@marvell.com; Ji, Kai ; Kusztal, ArkadiuszX > > Subject: [PATCH v2 3/3] crypto/qat: fix not set rsa lengths > > Fixed not set output length in asym pmd > when doing RSA. > >

Re: [PATCH v9 09/14] net/idpf: add support for Rx/Tx offloading

2022-10-21 Thread Andrew Rybchenko
On 10/21/22 08:18, Junfeng Guo wrote: Add Rx/Tx offloading support, including TSO and CHKSUM. Typically code path for Rx and Tx offload are absolutely different. So, I'm wondering why both are implemented in one patch. If they are really independent, please, split it into Rx and Tx patches to m

RE: [PATCH v2 2/3] crypto/qat: fix unnecessary session check

2022-10-21 Thread Power, Ciara
> -Original Message- > From: Arek Kusztal > Sent: Tuesday 18 October 2022 14:54 > To: dev@dpdk.org > Cc: gak...@marvell.com; Ji, Kai ; Kusztal, ArkadiuszX > > Subject: [PATCH v2 2/3] crypto/qat: fix unnecessary session check > > Removed unncessary session check which could lead to seg

RE: [PATCH v2 1/3] crypto/qat: fix uncleared cookies in asym

2022-10-21 Thread Power, Ciara
> -Original Message- > From: Arek Kusztal > Sent: Tuesday 18 October 2022 14:54 > To: dev@dpdk.org > Cc: gak...@marvell.com; Ji, Kai ; Kusztal, ArkadiuszX > > Subject: [PATCH v2 1/3] crypto/qat: fix uncleared cookies in asym > > Fixed incorrectly placed clean function in asym response

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

2022-10-21 Thread Ding, Xuan
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Friday, October 21, 2022 4:10 PM > To: Ding, Xuan ; Xia, Chenbo > Cc: dev@dpdk.org; Hu, Jiayu ; He, Xingguang > ; Yang, YvonneX ; > Jiang, Cheng1 ; Wang, YuanX > ; Ma, WenwuX > Subject: Re: [PATCH v7 1/2] vhost: introduce D

[PATCH] eventdev: fix event vector documentation typo

2022-10-21 Thread Mattias Rönnblom
The Eventdev guide had got the type of the rte_event_vector struct's u64s union field wrong. Fixes: 1cc44d409271 ("eventdev: introduce event vector capability") Cc: pbhagavat...@marvell.com Cc: sta...@dpdk.org Signed-off-by: Mattias Rönnblom --- doc/guides/prog_guide/eventdev.rst | 2 +- 1 file

Re: [PATCH v2 2/2] vhost: fix slot index calculation in async vhost

2022-10-21 Thread Maxime Coquelin
On 10/11/22 05:08, Cheng Jiang wrote: When the packet receiving failure and the DMA ring full occur simultaneously in the asynchronous vhost, the slot_idx needs to be decreased by 1. For packed virtqueue, the slot index should be ring_size - 1, if the slot_idx is currently 0, since the ring si

Re: [PATCH v2 1/2] vhost: fix descs count in async vhost packed ring

2022-10-21 Thread Maxime Coquelin
On 10/11/22 05:08, Cheng Jiang wrote: When vhost receive packets from the front-end using packed virtqueue, it receives might use multiple descriptors for one packet, so we need calculate and to calculate record the descriptor number for each packet to update available descriptor count

Re: [PATCH v7 2/2] examples/vhost: unconfigure DMA vchannel

2022-10-21 Thread Maxime Coquelin
On 10/20/22 11:11, xuan.d...@intel.com wrote: From: Xuan Ding This patch applies rte_vhost_async_dma_unconfigure() to manually free DMA vchannels. Before unconfiguration, make sure the specified DMA device is no longer used by any vhost ports. Signed-off-by: Xuan Ding --- examples/vhost/

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

2022-10-21 Thread Maxime Coquelin
On 10/20/22 11:11, xuan.d...@intel.com wrote: 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 vchannels configuration and unconfiguration from concurrent calls. Signed-off-by

Re: [PATCH v3 18/30] baseband/acc100: enable input validation by default

2022-10-21 Thread Maxime Coquelin
Hi Nicolas, On 10/20/22 00:12, Chautru, Nicolas wrote: Hi Maxime, From: Maxime Coquelin On 10/12/22 04:53, Hernan Vargas wrote: Enable validation functions by default and provide a new flag RTE_LIBRTE_SKIP_VALIDATE if the user wants to run without validating input to save cycles. I would p

Re: [PATCH v3] event/dlb2: fix port COS range allocation

2022-10-21 Thread Jerin Jacob
On Thu, Oct 20, 2022 at 11:01 PM Abdullah Sevincer wrote: > > This commit fixes allocation of port COS > when application requested port COS exceeds > (e.g. beyond 0-15) the number of LDB ports for > the domain. > > We limit application specified ports from a > COS to the max ports allocated for t

[PATCH v6 27/27] net/nfp: support IPv6 DSCP flow action

2022-10-21 Thread Chaoyong He
Add the corresponding logics to support the offload of set IPv6 DSCP action. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/nfp_flow.c | 39 +++ 2 files changed, 40 insertions(+) di

[PATCH v6 26/27] net/nfp: support IPv4 DSCP flow action

2022-10-21 Thread Chaoyong He
Add the corresponding logics to support the offload of set IPv4 DSCP action. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/nfp_flow.c | 39 +++ 2 files changed, 40 insertions(+) di

[PATCH v6 25/27] net/nfp: support TTL flow action

2022-10-21 Thread Chaoyong He
Add the corresponding data structure and logics, to support the offload of set TTL action. 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 | 44 + drivers/net/nfp/nfp_flow.c

[PATCH v6 24/27] net/nfp: support TP DST flow action

2022-10-21 Thread Chaoyong He
Add the corresponding logics to support the offload of set TP dest port action. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/nfp_flow.c | 15 +++ 2 files changed, 16 insertions(+) diff --git a/doc/guides

[PATCH v6 23/27] net/nfp: support TP SRC flow action

2022-10-21 Thread Chaoyong He
Add the corresponding data structure and logics, to support the offload of set TP source port action. 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 | 21 +++ drivers/net/nfp/nfp_

[PATCH v6 22/27] net/nfp: support DST IPv6 flow action

2022-10-21 Thread Chaoyong He
Add the corresponding logics to support the offload of set dest IPv6 address action. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/nfp_flow.c | 9 + 2 files changed, 10 insertions(+) diff --git a/doc/guides/ni

[PATCH v6 21/27] net/nfp: support SRC IPv6 flow action

2022-10-21 Thread Chaoyong He
Add the corresponding data structure and logics, to support the offload of set source IPv6 address action. 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 | 33 ++

[PATCH v6 20/27] net/nfp: support DST IPv4 flow action

2022-10-21 Thread Chaoyong He
Add the corresponding logics to support the offload of set dest IPv4 address action. 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, 17 insertions(+) diff --git a/doc/

[PATCH v6 19/27] net/nfp: support SRC IPv4 flow action

2022-10-21 Thread Chaoyong He
Add the corresponding data structure and logics, to support the offload of set source IPv4 address action. 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 | 25 ++ drivers/net/

[PATCH v6 18/27] net/nfp: support push VLAN flow action

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

[PATCH v6 17/27] net/nfp: support pop VLAN flow action

2022-10-21 Thread Chaoyong He
Add the corresponding data structure and logics, to support the offload of pop_vlan action. 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 | 5 + drivers/net/nfp/nfp_flow.c

[PATCH v6 16/27] net/nfp: support DST MAC flow action

2022-10-21 Thread Chaoyong He
Add the corresponding logics to support the offload of set dest MAC action. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- doc/guides/nics/features/nfp.ini | 1 + drivers/net/nfp/nfp_flow.c | 15 +++ 2 files changed, 16 insertions(+) diff --git a/doc/guides/nic

[PATCH v6 15/27] net/nfp: support SRC MAC flow action

2022-10-21 Thread Chaoyong He
Add the corresponding data structure and logics, to support the offload of set source MAC action. 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 | 27 ++ drivers/net/nfp/nfp_f

  1   2   >