[PATCH v1] net/iavf: fix pattern check for flow director parser

2022-08-09 Thread Steve Yang
FDIR rules with masks are not supported in current code. Thus add pattern check for IPv4/UDP/TCP/SCTP addr/port to terminate the FDIR programming stage. Fixes: d5eb3e600d9e ("net/iavf: support flow director basic rule") Cc: sta...@dpdk.org Signed-off-by: Steve Yang --- drivers/net/iavf/iavf_fdi

[PATCH] net/ice: remove deprecated VF flow action

2022-08-09 Thread zhichaox . zeng
From: Zhichao Zeng According to the ABI and API Deprecation, remove deprecated VF action as hard-to-use / ambiguous. Action REPRESENTED_PORT should be used instead. Signed-off-by: Zhichao Zeng --- doc/guides/nics/features/ice.ini| 1 - drivers/net/ice/ice_switch_filter.c | 22 ---

RE: [PATCH v4 9/9] dts: add dts executable script

2022-08-09 Thread Tu, Lijuan
> -Original Message- > From: Juraj Linkeš > Sent: Friday, July 29, 2022 6:56 PM > To: tho...@monjalon.net; david.march...@redhat.com; Randles, Ronan > ; honnappa.nagaraha...@arm.com; > ohily...@iol.unh.edu; Tu, Lijuan > Cc: dev@dpdk.org; Juraj Linkeš > Subject: [PATCH v4 9/9] dts: add dt

RE: [PATCH v4 8/9] dts: add dts workflow module

2022-08-09 Thread Tu, Lijuan
> -Original Message- > From: Juraj Linkeš > Sent: Friday, July 29, 2022 6:56 PM > To: tho...@monjalon.net; david.march...@redhat.com; Randles, Ronan > ; honnappa.nagaraha...@arm.com; > ohily...@iol.unh.edu; Tu, Lijuan > Cc: dev@dpdk.org; Juraj Linkeš > Subject: [PATCH v4 8/9] dts: add dt

RE: [PATCH v4 7/9] dts: add Node base class

2022-08-09 Thread Tu, Lijuan
> -Original Message- > From: Juraj Linkeš > Sent: Friday, July 29, 2022 6:56 PM > To: tho...@monjalon.net; david.march...@redhat.com; Randles, Ronan > ; honnappa.nagaraha...@arm.com; > ohily...@iol.unh.edu; Tu, Lijuan > Cc: dev@dpdk.org; Juraj Linkeš > Subject: [PATCH v4 7/9] dts: add No

RE: [PATCH v4 6/9] dts: add config parser module

2022-08-09 Thread Tu, Lijuan
> -Original Message- > From: Juraj Linkeš > Sent: Friday, July 29, 2022 6:56 PM > To: tho...@monjalon.net; david.march...@redhat.com; Randles, Ronan > ; honnappa.nagaraha...@arm.com; > ohily...@iol.unh.edu; Tu, Lijuan > Cc: dev@dpdk.org; Juraj Linkeš > Subject: [PATCH v4 6/9] dts: add co

RE: [PATCH v4 5/9] dts: add ssh connection extension

2022-08-09 Thread Tu, Lijuan
> -Original Message- > From: Juraj Linkeš > Sent: Friday, July 29, 2022 6:56 PM > To: tho...@monjalon.net; david.march...@redhat.com; Randles, Ronan > ; honnappa.nagaraha...@arm.com; > ohily...@iol.unh.edu; Tu, Lijuan > Cc: dev@dpdk.org; Juraj Linkeš > Subject: [PATCH v4 5/9] dts: add ss

RE: [PATCH v4 4/9] dts: add ssh pexpect library

2022-08-09 Thread Tu, Lijuan
> -Original Message- > From: Juraj Linkeš > Sent: Friday, July 29, 2022 6:56 PM > To: tho...@monjalon.net; david.march...@redhat.com; Randles, Ronan > ; honnappa.nagaraha...@arm.com; > ohily...@iol.unh.edu; Tu, Lijuan > Cc: dev@dpdk.org; Juraj Linkeš > Subject: [PATCH v4 4/9] dts: add ss

RE: [PATCH v4 3/9] dts: add basic logging facility

2022-08-09 Thread Tu, Lijuan
> -Original Message- > From: Juraj Linkeš > Sent: Friday, July 29, 2022 6:56 PM > To: tho...@monjalon.net; david.march...@redhat.com; Randles, Ronan > ; honnappa.nagaraha...@arm.com; > ohily...@iol.unh.edu; Tu, Lijuan > Cc: dev@dpdk.org; Juraj Linkeš > Subject: [PATCH v4 3/9] dts: add ba

RE: [PATCH v4 2/9] dts: add developer tools

2022-08-09 Thread Tu, Lijuan
> -Original Message- > From: Juraj Linkeš > Sent: Friday, July 29, 2022 6:56 PM > To: tho...@monjalon.net; david.march...@redhat.com; Randles, Ronan > ; honnappa.nagaraha...@arm.com; > ohily...@iol.unh.edu; Tu, Lijuan > Cc: dev@dpdk.org; Juraj Linkeš > Subject: [PATCH v4 2/9] dts: add de

RE: [PATCH v4 1/9] dts: add project tools config

2022-08-09 Thread Tu, Lijuan
> -Original Message- > From: Juraj Linkeš > Sent: Friday, July 29, 2022 6:56 PM > To: tho...@monjalon.net; david.march...@redhat.com; Randles, Ronan > ; honnappa.nagaraha...@arm.com; > ohily...@iol.unh.edu; Tu, Lijuan > Cc: dev@dpdk.org; Juraj Linkeš > Subject: [PATCH v4 1/9] dts: add pr

[PATCH] net/igc: add support for Ethernet Controller I225-IT

2022-08-09 Thread Junfeng Guo
Add device id for Ethernet Controller (2) I225-IT. Signed-off-by: Junfeng Guo --- drivers/net/igc/base/igc_api.c | 1 + drivers/net/igc/base/igc_hw.h | 1 + drivers/net/igc/igc_ethdev.c | 1 + 3 files changed, 3 insertions(+) diff --git a/drivers/net/igc/base/igc_api.c b/drivers/net/igc/base

RE: [PATCH v5 07/12] net/nfp: add flower ctrl VNIC related logics

2022-08-09 Thread Chaoyong He
> On Mon, 8 Aug 2022 11:32:30 + > Chaoyong He wrote: > > > > > + goto done; > > > > + > > > > + /* Allocate memory for the eth_dev of the vNIC */ > > > > + hw->eth_dev = rte_zmalloc("ctrl_vnic_eth_dev", > > > > > > Why not rte_eth_dev_allocate()? Isn't an ethdev? > >

[PATCH] net/tap: add persist option

2022-08-09 Thread Stephen Hemminger
The TAP device only lasts as long as the DPDK application that opened it is running. This behavior is basd if the DPDK application needs to be updated transparently without disturbing other services using the tap device. This patch adds a persist feature to the TAP device. If this flag is set, the

[PATCH 10/23] common/cnxk: support zero aura for inline inbound meta

2022-08-09 Thread Nithin Dabilpuram
Add support to create zero aura for inline inbound meta pkts when platform supports it. Aura zero will hold as many buffers as all the available pkt pool with a data to accommodate 384B in best case to store meta packets coming from Inline IPsec. Signed-off-by: Nithin Dabilpuram --- drivers/comm

[PATCH 08/23] common/cnxk: add support to set NPA buf type

2022-08-09 Thread Nithin Dabilpuram
Add support to set/get per-aura buf type with refs and get sum of all aura limits matching given buf type mask and val. Signed-off-by: Nithin Dabilpuram --- drivers/common/cnxk/meson.build| 1 + drivers/common/cnxk/roc_npa.c | 11 + drivers/common/cnxk/roc_npa.h | 22 +

[PATCH 07/23] common/cnxk: reserve aura zero on cn10ka NPA

2022-08-09 Thread Nithin Dabilpuram
Reserve aura id 0 on cn10k and provide mechanism to specifically allocate it and free it via roc_npa_* API's. Signed-off-by: Nithin Dabilpuram --- drivers/common/cnxk/roc_dpi.c | 2 +- drivers/common/cnxk/roc_nix_queue.c | 2 +- drivers/common/cnxk/roc_npa.c | 100 +++

[PATCH 06/23] common/cnxk: delay inline device RQ enable to dev start

2022-08-09 Thread Nithin Dabilpuram
Similar to other RQ's, delay inline device rq until dev is started to avoid traffic reception when device is stopped. Signed-off-by: Nithin Dabilpuram --- drivers/common/cnxk/roc_idev.h| 2 -- drivers/common/cnxk/roc_nix_inl.c | 34 +++--- drivers/common/cnxk/roc

[PATCH 03/23] common/cnxk: update inbound inline IPsec config mailbox

2022-08-09 Thread Nithin Dabilpuram
From: Srujana Challa Updates CPT inbound inline IPsec configuration mailbox to provide opcode and CPT credit from VF. This patch also adds mailbox for reading inbound IPsec configuration. Signed-off-by: Srujana Challa --- drivers/common/cnxk/roc_cpt.c | 15 +++ drivers/common/cnx

[PATCH 23/23] common/cnxk: support Tx compl event via RQ to CQ mapping

2022-08-09 Thread Nithin Dabilpuram
From: Kommula Shiva Shankar This patch adds RoC support for Tx completion events via RQ to CQ mapping. Signed-off-by: Kommula Shiva Shankar --- drivers/common/cnxk/roc_nix.c | 5 - drivers/common/cnxk/roc_nix.h | 2 ++ drivers/common/cnxk/roc_nix_queue.c | 7 ++- drivers/ne

[PATCH 22/23] common/cnxk: add CQ limit associated with SQ

2022-08-09 Thread Nithin Dabilpuram
From: Kommula Shiva Shankar Update cq threshold limit associated with sq Signed-off-by: Kommula Shiva Shankar --- drivers/common/cnxk/roc_nix.h | 1 + drivers/common/cnxk/roc_nix_queue.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/drivers/common/cnxk/roc_nix.h b/drivers/common

[PATCH 21/23] common/cnxk: add support for CPT second pass

2022-08-09 Thread Nithin Dabilpuram
From: Rakesh Kudurumalla Added mailbox for masking and setting nix_rq_ctx parameters and enabling rq masking in ipsec_cfg1 so second pass is applied to all rq's Signed-off-by: Rakesh Kudurumalla --- drivers/common/cnxk/hw/nix.h | 4 +- drivers/common/cnxk/roc_mbox.h| 23 ++-

[PATCH 20/23] net/cnxk: skip PFC configuration on LBK

2022-08-09 Thread Nithin Dabilpuram
From: Satha Rao CNXK platforms do not support PFC on LBK so skipping configuration on LBK interfaces. Signed-off-by: Satha Rao --- drivers/net/cnxk/cnxk_ethdev.c | 2 +- drivers/net/cnxk/cnxk_ethdev_ops.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/

[PATCH 19/23] net/cnxk: enable 3des-cbc cipher capability

2022-08-09 Thread Nithin Dabilpuram
From: Vidya Sagar Velumuri Enable 3DES-CBC cipher capability for inline IPsec Signed-off-by: Vidya Sagar Velumuri --- drivers/common/cnxk/cnxk_security.c | 3 +++ drivers/crypto/cnxk/cn9k_ipsec.c| 6 ++ drivers/net/cnxk/cn9k_ethdev_sec.c | 21 - 3 files changed,

[PATCH 18/23] net/cnxk: enable additional ciphers for inline

2022-08-09 Thread Nithin Dabilpuram
From: Vidya Sagar Velumuri Enable below ciphers and auths as part of capabilities for inline IPsec AES_CTR AES_XCBC_MAC AES_GMAC Signed-off-by: Vidya Sagar Velumuri --- drivers/net/cnxk/cn9k_ethdev_sec.c | 86 ++ 1 file changed, 86 insertions(+) diff --git

[PATCH 17/23] common/cnxk: add 98xx A1 platform

2022-08-09 Thread Nithin Dabilpuram
From: Harman Kalra Adding support for 98xx A1 pass Signed-off-by: Harman Kalra --- drivers/common/cnxk/roc_model.c | 1 + drivers/common/cnxk/roc_model.h | 16 +++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/drivers/common/cnxk/roc_model.c b/drivers/common/cnxk

[PATCH 16/23] common/cnxk: updated shaper profile with red algorithm

2022-08-09 Thread Nithin Dabilpuram
From: Satha Rao Updated shaper profile with user configurable RED algorithm. Signed-off-by: Satha Rao --- drivers/common/cnxk/roc_nix.h | 1 + drivers/common/cnxk/roc_nix_tm_utils.c | 7 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/common/cnxk/roc_nix

[PATCH 13/23] net/cnxk: use full context IPsec structures in fp

2022-08-09 Thread Nithin Dabilpuram
From: Vidya Sagar Velumuri Use the Full context SA structures and command in IPsec fast path. For inline outbound, populate CPT instruction as per Full context. Add new macros and functions with respect to Full context. Populate wqe ptr in CPT instruction with proper offset from mbuf. Add option

[PATCH 14/23] net/cnxk: add crypto capabilities for HMAC-SHA2

2022-08-09 Thread Nithin Dabilpuram
From: Vidya Sagar Velumuri Add capabilities for HMAC_SHA2 and udp encap for 9k security offload in inline mode. Set explicit IV mode in IPsec context when IV is provided by the application Signed-off-by: Vidya Sagar Velumuri --- drivers/net/cnxk/cn9k_ethdev_sec.c | 79 +

[PATCH 15/23] common/cnxk: enable aging on CN10K platform

2022-08-09 Thread Nithin Dabilpuram
From: Satha Rao This patch set enables aging on CNF105 variant of CN10K platform. Enables aging statistics while dumping/reset SQ statistics. Signed-off-by: Satha Rao --- drivers/common/cnxk/roc_errata.h| 3 +-- drivers/common/cnxk/roc_nix_debug.c | 19 +-- drivers/common/

[PATCH 12/23] common/cnxk: avoid the use of platform specific APIs

2022-08-09 Thread Nithin Dabilpuram
From: Vidya Sagar Velumuri Replace the use of platform specific APIs with platform independent APIs. Signed-off-by: Vidya Sagar Velumuri --- drivers/common/cnxk/roc_cpt.c| 8 drivers/common/cnxk/roc_cpt.h| 2 +- drivers/crypto/cnxk/cn9k_ipsec.c | 8 3 files changed, 9

[PATCH 11/23] net/cnxk: support for zero aura for inline meta

2022-08-09 Thread Nithin Dabilpuram
Add support for zero aura for inline meta pkts and register callback to ROC to create meta pool via mempool. Also add devargs to override meta buffer count and size. Signed-off-by: Nithin Dabilpuram --- drivers/event/cnxk/cn10k_eventdev.c | 8 ++- drivers/event/cnxk/cn10k_worker.h|

[PATCH 09/23] common/cnxk: update attributes to pools used by NIX

2022-08-09 Thread Nithin Dabilpuram
Update attributes to pools used by NIX. Signed-off-by: Nithin Dabilpuram --- drivers/common/cnxk/roc_nix_queue.c | 112 +++- 1 file changed, 110 insertions(+), 2 deletions(-) diff --git a/drivers/common/cnxk/roc_nix_queue.c b/drivers/common/cnxk/roc_nix_queue.c

[PATCH 05/23] common/cnxk: limit meta aura workaround to CN10K A0

2022-08-09 Thread Nithin Dabilpuram
Limit meta aura workaround to CN10K A0. Also other NIX and Inline related Erratas applicable for CN10K A1. Signed-off-by: Nithin Dabilpuram --- drivers/common/cnxk/roc_errata.h | 7 +++ drivers/common/cnxk/roc_nix_inl.c | 10 ++ drivers/net/cnxk/cnxk_ethdev.c| 3 ++- 3 files c

[PATCH 04/23] net/cnxk: fix missing fc wait for outbound path in vec mode

2022-08-09 Thread Nithin Dabilpuram
Fix missing fc wait for outbound path in vector mode. Currently only poll mode has it. Fixes: 358d02d20a2f ("net/cnxk: support flow control for outbound inline") Cc: ndabilpu...@marvell.com Signed-off-by: Nithin Dabilpuram --- drivers/net/cnxk/cn10k_tx.h | 22 +- 1 file chan

[PATCH 02/23] common/cnxk: add cn10ka A1 platform

2022-08-09 Thread Nithin Dabilpuram
From: Harman Kalra Adding support for cn10ka A1 pass Signed-off-by: Harman Kalra --- drivers/common/cnxk/roc_model.c | 1 + drivers/common/cnxk/roc_model.h | 9 - 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/common/cnxk/roc_model.c b/drivers/common/cnxk/roc_mod

[PATCH 01/23] common/cnxk: fix part value for cn10k

2022-08-09 Thread Nithin Dabilpuram
From: Harman Kalra Updating the logic for getting part and pass value for cn10k family, as device tree compatible logic does not work in VMs. Scanning all the PCI device and detect first RVU device, subsystem device file gives part no and revision file provide pass information. Fixes: 014a9e222b

Re: [PATCH] usertools: fix bind failure from dpdk to kernel

2022-08-09 Thread Stephen Hemminger
On Tue, 9 Aug 2022 19:44:41 +0800 "lihuisong (C)" wrote: > 在 2022/8/5 23:35, Stephen Hemminger 写道: > > On Fri, 5 Aug 2022 11:10:22 +0800 > > Huisong Li wrote: > > > >> Currently, the steps for binding device from dpdk driver to kernel > >> driver is as follows: > >> echo $BDF > /sys/bus/pci/dr

RE: [RFC v2] non-temporal memcpy

2022-08-09 Thread Morten Brørup
> From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Tuesday, 9 August 2022 17.26 > > On Tue, 9 Aug 2022 11:46:19 +0200 > Morten Brørup wrote: > > > > > > > I don't think memcpy() functions should have alignment > requirements. > > > That's not very practical, and violates the p

Re: [RFC v2] non-temporal memcpy

2022-08-09 Thread Stephen Hemminger
On Tue, 9 Aug 2022 11:46:19 +0200 Morten Brørup wrote: > > > > I don't think memcpy() functions should have alignment requirements. > > That's not very practical, and violates the principle of least > > surprise. > > I didn't make the CPUs with these alignment requirements. > > However, I wi

RE: [RFC v2] non-temporal memcpy

2022-08-09 Thread Morten Brørup
> From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] > Sent: Tuesday, 9 August 2022 14.05 > > On 2022-08-09 11:46, Morten Brørup wrote: > >> From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] > >> Sent: Sunday, 7 August 2022 22.25 > >> > >> On 2022-07-19 17:26, Morten Brørup wrote: > >>> Thi

[PATCH 1/1] common/cnxk: update partnumber for 103xx

2022-08-09 Thread Rakesh Kudurumalla
During model population part number is different for 103xx and hence dpdk initialization fails. This fix resolves the same. Signed-off-by: Rakesh Kudurumalla --- drivers/common/cnxk/roc_model.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/cnxk/roc_model.c b/

[RFC] ethdev: add indirect action async query

2022-08-09 Thread Suanming Mou
As rte_flow_action_handle_create/destroy/update() have their own asynchronous rte_flow_async_action_handle_create/destroy/update() version functions to accelerate the indirect action operations in queue based flow engine. Currently, the asynchronous version query function for indirect action was mi

[RFC] ethdev: add async flow connection tracking configuration

2022-08-09 Thread Suanming Mou
In queue based async flow engine, in order to optimize the flow insertion rate, PMD can use the hints from application to have resources pre-allocate during initialization phase for actions such as count/meter/aging. This commit adds the connection tracking action hints. Signed-off-by: Suanming M

Re: [PATCH v3 0/2] vhost fixes for OVS SIGSEGV in PMD

2022-08-09 Thread Claudio Fontana
A weekly ping on this one, any chance to get this fix for a guest-triggered host crash included? Thanks, Claudio On 8/2/22 02:49, Claudio Fontana wrote: > This is an alternative, more general fix compared with PATCH v1, > and fixes style issues in v2. > > The series fixes a segmentation fault

Re: [RFC v2] non-temporal memcpy

2022-08-09 Thread Mattias Rönnblom
On 2022-08-09 11:46, Morten Brørup wrote: From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] Sent: Sunday, 7 August 2022 22.25 On 2022-07-19 17:26, Morten Brørup wrote: This RFC proposes a set of functions optimized for non-temporal memory copy. At this stage, I am asking for feedback on

Re: [RFC v2] non-temporal memcpy

2022-08-09 Thread Mattias Rönnblom
On 2022-08-09 11:34, Morten Brørup wrote: From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] Sent: Sunday, 7 August 2022 22.20 On 2022-07-29 22:26, Morten Brørup wrote: +TO: @Honnappa, we need input from ARM From: Konstantin Ananyev [mailto:konstantin.anan...@huawei.com] Sent: Friday, 29 J

Re: [RFC v2] non-temporal memcpy

2022-08-09 Thread Mattias Rönnblom
On 2022-08-09 11:24, Morten Brørup wrote: From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] Sent: Sunday, 7 August 2022 22.41 On 2022-07-29 18:05, Stephen Hemminger wrote: It makes sense in a few select places to use non-temporal copy. But it would add unnecessary complexity to DPDK if eve

[Bug 1065] dpdkvhostuserclient port link state is down when ovs-vswitchd is reset

2022-08-09 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1065 Bug ID: 1065 Summary: dpdkvhostuserclient port link state is down when ovs-vswitchd is reset Product: DPDK Version: 22.03 Hardware: x86 OS: Linux Status

[PATCH v2 18/18] crypto/cnxk: add support for DOCSIS algorithm

2022-08-09 Thread Anoob Joseph
From: Volodymyr Fialko Add support for offloading RTE_CRYPTO_CIPHER_AES_DOCSISBPI and RTE_CRYPTO_CIPHER_DES_DOCSISBPI algorithms to symmetric crypto session. Signed-off-by: Volodymyr Fialko --- doc/guides/cryptodevs/features/cn9k.ini | 2 + doc/guides/rel_notes/release_22_11.rst

[PATCH v2 17/18] crypto/cnxk: update flow label copy capability

2022-08-09 Thread Anoob Joseph
From: Vamsi Attunuru Update flow label copy capability in IPsec options. Signed-off-by: Vamsi Attunuru --- drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c b/drivers/crypto/cnxk/cnxk_cryptod

[PATCH v2 16/18] drivers: change crypto adapter datapath error print to debug

2022-08-09 Thread Anoob Joseph
From: Shijith Thotton Errors in crypto adapter datapath can be handled gracefully. So the error print can be moved under debug. Signed-off-by: Shijith Thotton --- drivers/common/cnxk/roc_platform.h| 2 ++ drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 2 +- 2 files changed, 3 insertions(+

[PATCH v2 15/18] crypto/cnxk: remove unused ctx buf len

2022-08-09 Thread Anoob Joseph
Ctx len buf field is unused. Remove it. Signed-off-by: Anoob Joseph --- drivers/common/cnxk/roc_se.h | 45 +++ drivers/crypto/cnxk/cnxk_se.h | 27 +++-- 2 files changed, 33 insertions(+), 39 deletions(-) diff --git a/drivers/common/cnxk/roc_se.h

[PATCH v2 14/18] crypto/cnxk: use dedicated dp threads depending on operation

2022-08-09 Thread Anoob Joseph
Identify the datapath thread to be used during session create. This can be used to call right function early on to avoid multiple session specific checks in datapath functions. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 29 + drivers/crypto/cnxk/cnxk_s

[PATCH v2 13/18] crypto/cnxk: enable IE engine for Chacha-Poly

2022-08-09 Thread Anoob Joseph
From: Tejasree Kondoj Change engine group of Chacha20-Poly1305 as it is supported on IE engines also. Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_ops.c b/driv

[PATCH v2 12/18] crypto/cnxk: remove auth iv from kasumi cipher

2022-08-09 Thread Anoob Joseph
Auth IV is not applicable for kasumi cipher operation. Remove the same. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cnxk_se.h | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/crypto/cnxk/cnxk_se.h b/drivers/crypto/cnxk/cnxk_se.h index a75e98362d..d8126

[PATCH v2 11/18] crypto/cnxk: avoid accessing se ctx in aes gcm path

2022-08-09 Thread Anoob Joseph
Field op_minor is required only for digest encrypted cases with chained ops. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cnxk_se.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/cnxk/cnxk_se.h b/drivers/crypto/cnxk/cnxk_se.h index f382194c27..a75e

[PATCH v2 10/18] crypto/cnxk: remove extra digest len check

2022-08-09 Thread Anoob Joseph
When the flag ROC_SE_VALID_MAC_BUF is set, digest length will be non-zero. Remove extra check in datapath. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cnxk_se.h | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/crypto/cnxk/cnxk_se.h b/drivers/crypto/cnxk

[PATCH v2 09/18] crypto/cnxk: remove extra indirection for FC and Kasumi

2022-08-09 Thread Anoob Joseph
Fill FC params routine now caters to only KASUMI & FC_GEN. Call appropriate functions directly. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cnxk_se.h | 55 +++ 1 file changed, 17 insertions(+), 38 deletions(-) diff --git a/drivers/crypto/cnxk/cnxk_se.h b/

[PATCH v2 08/18] crypto/cnxk: fix endianness in anti-replay

2022-08-09 Thread Anoob Joseph
From: Tejasree Kondoj Fixing anti-replay endianness issue in lookaside IPsec. Fixes: c1eac1b966c2 ("crypto/cnxk: add anti-replay as per new firmware") Cc: ktejas...@marvell.com Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 21 +++-- 1 file chang

[PATCH v2 07/18] crypto/cnxk: remove MAC len check for AEAD

2022-08-09 Thread Anoob Joseph
For both AES-GCM and ChaChaPoly, digest size must be non-zero. So remove the conditional handling in the datapath. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cnxk_se.h | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/crypto/cnxk/cn

[PATCH v2 06/18] crypto/cnxk: add separate datapath for pdcp cipher operation

2022-08-09 Thread Anoob Joseph
Add separate datapath for PDCP opcode performing cipher operation. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 19 --- drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 27 +--- drivers/crypto/cnxk/cnxk_se.h | 177 +++--- 3 files changed, 1

[PATCH v2 05/18] crypto/cnxk: add separate path for pdcp chain opcode

2022-08-09 Thread Anoob Joseph
Add separate datapath for PDCP chain opcode. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 7 +- drivers/crypto/cnxk/cnxk_se.h| 229 +++ drivers/crypto/cnxk/meson.build | 4 +- 3 files changed, 196 insertions(+), 44 deleti

[PATCH v2 04/18] crypto/cnxk: limit the meta buf cache to 128

2022-08-09 Thread Anoob Joseph
Limit meta buf pool cache size as 128. Having 512 as the cache size would cause more time for refill. Signed-off-by: Anoob Joseph Signed-off-by: Volodymyr Fialko --- drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/cry

[PATCH v2 03/18] crypto/cnxk: remove zero IV

2022-08-09 Thread Anoob Joseph
Zeroising AES-CMAC IV would be done in microcode. Extra clearing in DPDK is not required. Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cnxk_se.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/crypto/cnxk/cnxk_se.h b/drivers/crypto/cnxk/cnxk_

[PATCH v2 02/18] crypto/cnxk: add burst enqueue for event crypto

2022-08-09 Thread Anoob Joseph
From: Volodymyr Fialko Added support for burst enqueue for cn10k event crypto adapter. Instruction will be grouped based on the queue pair and sent in a burst. Signed-off-by: Volodymyr Fialko --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 141 +++--- drivers/crypto/cnxk/cn10k_

[PATCH v2 01/18] crypto/cnxk: add AES-CCM support

2022-08-09 Thread Anoob Joseph
From: Archana Muniganti Add lookaside IPsec AES-CCM support in CN9K & CN10K PMDs. Signed-off-by: Archana Muniganti --- doc/guides/rel_notes/release_22_11.rst| 4 ++ drivers/common/cnxk/cnxk_security.c | 38 -- drivers/common/cnxk/roc_cpt.h | 13 ++

[PATCH v2 00/18] Fixes and improvements in cnxk crypto PMDs

2022-08-09 Thread Anoob Joseph
New features added: - AES-CCM with lookaside IPsec operations - DOCSIS algos with lookaside crypto operations - Redesigned datapath for improved performance Changes in v2: - Addressed failures with GCC 4.8 Anoob Joseph (11): crypto/cnxk: remove zero IV crypto/cnxk: limit the meta buf cache

RE: [RFC v2] non-temporal memcpy

2022-08-09 Thread Morten Brørup
> From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] > Sent: Sunday, 7 August 2022 22.25 > > On 2022-07-19 17:26, Morten Brørup wrote: > > This RFC proposes a set of functions optimized for non-temporal > memory copy. > > > > At this stage, I am asking for feedback on the concept. > > > > Appli

RE: [RFC v2] non-temporal memcpy

2022-08-09 Thread Morten Brørup
> From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] > Sent: Sunday, 7 August 2022 22.20 > > On 2022-07-29 22:26, Morten Brørup wrote: > > +TO: @Honnappa, we need input from ARM > > > >> From: Konstantin Ananyev [mailto:konstantin.anan...@huawei.com] > >> Sent: Friday, 29 July 2022 21.49 > >>>

RE: [PATCH] common/qat: fix vf2pf answer

2022-08-09 Thread Zhang, Roy Fan
> -Original Message- > From: Kusztal, ArkadiuszX > Sent: Friday, July 29, 2022 8:48 AM > To: dev@dpdk.org > Cc: gak...@marvell.com; Zhang, Roy Fan ; Kusztal, > ArkadiuszX ; sta...@dpdk.org > Subject: [PATCH] common/qat: fix vf2pf answer > > This commit fixes answer sent to physical device

RE: [RFC v2] non-temporal memcpy

2022-08-09 Thread Morten Brørup
> From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] > Sent: Sunday, 7 August 2022 22.41 > > On 2022-07-29 18:05, Stephen Hemminger wrote: > > > > It makes sense in a few select places to use non-temporal copy. > > But it would add unnecessary complexity to DPDK if every function in > DPDK that

Re: [dpdk-kmods] windows/netuio: fix bar parsing

2022-08-09 Thread Dmitry Kozlyuk
2022-08-08 17:33 (UTC-0700), Kadam, Pallavi: [...] > > Hi Pallavi, > > > > In the first place, it was wrong to always test `prev_bar & PCI_TYPE_64BIT` > > because only the first BAR slot of a 64-bit BAR contains flags. > > The current code has a state to track (curr_bar, prev_bar), > > and the fix

RE: [PATCH 0/3] cleanup bsf and fls inline function return types

2022-08-09 Thread Morten Brørup
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > Sent: Monday, 8 August 2022 23.21 > > The cleanup resulted from request to review [1] the following > functions where there appeared to be inconsistency in return type > or parameter type selections for the following inline functions.

Re: [PATCH v7] net/tap: Allow jumbo frames

2022-08-09 Thread Francesco Mancino
Interesting, did not know about that attribute. Tested some tap devices on my machine and get a maxmtu value close to max uint16, way bigger than RTE_ETHER_MAX_JUMBO_FRAME_LEN. I do not know if will have time to code and test using netlink to set this limit, for the time being i think RTE_ETHER_