[dpdk-dev] [Bug 865] [dpdk-21.11]launch testpmd with "--vfio-intr=legacy" appears core dumped

2021-10-28 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=865 Bug ID: 865 Summary: [dpdk-21.11]launch testpmd with "--vfio-intr=legacy" appears core dumped Product: DPDK Version: 21.11 Hardware: x86 OS: Linux Status

Re: [dpdk-dev] [PATCH v2 05/15] vhost: remove async batch threshold

2021-10-28 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Wednesday, October 27, 2021 12:29 AM > To: dev@dpdk.org; Xia, Chenbo ; Hu, Jiayu > ; Wang, YuanX ; Ma, WenwuX > ; Richardson, Bruce ; > Mcnamara, John > Cc: Maxime Coquelin > Subject: [PATCH v2 05/15] vhost: remove async batch threshol

Re: [dpdk-dev] [PATCH] ethdev: forbid MTU set before device configure

2021-10-28 Thread Andrew Rybchenko
On 10/29/21 8:58 AM, Jiang, YuX wrote: -Original Message- From: dev On Behalf Of Andrew Rybchenko Sent: Friday, October 22, 2021 6:18 PM To: Thomas Monjalon ; Yigit, Ferruh ; Ajit Khaparde ; Huisong Li ; Ananyev, Konstantin ; Xu, Rosen Cc: dev@dpdk.org; Ivan Ilchenko Subject: [dpdk-dev

Re: [dpdk-dev] [PATCH v2 07/15] vhost: remove useless fields in async iterator struct

2021-10-28 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Wednesday, October 27, 2021 12:29 AM > To: dev@dpdk.org; Xia, Chenbo ; Hu, Jiayu > ; Wang, YuanX ; Ma, WenwuX > ; Richardson, Bruce ; > Mcnamara, John > Cc: Maxime Coquelin > Subject: [PATCH v2 07/15] vhost: remove useless fields in as

Re: [dpdk-dev] [PATCH v2 06/15] vhost: introduce specific iovec structure

2021-10-28 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Wednesday, October 27, 2021 12:29 AM > To: dev@dpdk.org; Xia, Chenbo ; Hu, Jiayu > ; Wang, YuanX ; Ma, WenwuX > ; Richardson, Bruce ; > Mcnamara, John > Cc: Maxime Coquelin > Subject: [PATCH v2 06/15] vhost: introduce specific iovec st

Re: [dpdk-dev] [PATCH] ethdev: forbid MTU set before device configure

2021-10-28 Thread Jiang, YuX
> -Original Message- > From: dev On Behalf Of Andrew Rybchenko > Sent: Friday, October 22, 2021 6:18 PM > To: Thomas Monjalon ; Yigit, Ferruh > ; Ajit Khaparde ; > Huisong Li ; Ananyev, Konstantin > ; Xu, Rosen > Cc: dev@dpdk.org; Ivan Ilchenko > Subject: [dpdk-dev] [PATCH] ethdev: forbi

[dpdk-dev] [Bug 864] [dpdk-21.11]pmd_stacked_bonded/test_mode_backup_rx:after setup stacked bonded ports, start top level bond port failed

2021-10-28 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=864 Bug ID: 864 Summary: [dpdk-21.11]pmd_stacked_bonded/test_mode_backup_rx:aft er setup stacked bonded ports,start top level bond port failed Product: DPDK Version: 21.11

Re: [dpdk-dev] [PATCH v2 04/15] vhost: simplify async IO vectors iterators

2021-10-28 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Wednesday, October 27, 2021 12:29 AM > To: dev@dpdk.org; Xia, Chenbo ; Hu, Jiayu > ; Wang, YuanX ; Ma, WenwuX > ; Richardson, Bruce ; > Mcnamara, John > Cc: Maxime Coquelin > Subject: [PATCH v2 04/15] vhost: simplify async IO vectors i

Re: [dpdk-dev] [PATCH v2 03/15] vhost: simplify async IO vectors

2021-10-28 Thread Xia, Chenbo
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Wednesday, October 27, 2021 12:29 AM > To: dev@dpdk.org; Xia, Chenbo ; Hu, Jiayu > ; Wang, YuanX ; Ma, WenwuX > ; Richardson, Bruce ; > Mcnamara, John > Cc: Maxime Coquelin > Subject: [PATCH v2 03/15] vhost: simplify async

Re: [dpdk-dev] [EXT] Re: [PATCH] common/cnxk: fix build failure

2021-10-28 Thread Tejasree Kondoj
Sure Ferruh. Thanks Tejasree > -Original Message- > From: Ferruh Yigit > Sent: Thursday, October 28, 2021 11:02 PM > To: Tejasree Kondoj ; Akhil Goyal > ; ji...@mx0b-0016f401.pphosted.com; YuX > ; Longfeng Liang > Cc: Anoob Joseph ; dev@dpdk.org > Subject: [EXT] Re: [dpdk-dev] [PATCH] c

Re: [dpdk-dev] [PATCH 0/6] add cnxk lookaside IPsec additional features

2021-10-28 Thread Anoob Joseph
> Subject: [PATCH 0/6] add cnxk lookaside IPsec additional features > > This series covers additional features, key length update and feature list > update. > * For cn10k, AES-CBC NULL auth support is added. > * For cn9k, ESN and Anti-replay support is added. Along with > feature addition, key l

[dpdk-dev] [PATCH] test/crypto-perf: fix crash issue with asym perf test

2021-10-28 Thread kirankumark
From: Kiran Kumar K While populating the crypto ops in case of asymmetric, result is being allocated from stack. This is causing crash in the application. And operation type is also not being initialized properly. Adding a fix by allocating the result from global memory and initialized the operat

[dpdk-dev] [PATCH] test/crypto-perf: fix crash issue with asym perf test

2021-10-28 Thread kirankumark
From: Kiran Kumar K While populating the crypto ops in case of asymmetric, result is being allocated from stack. This is causing crash in the application. And operation type is also not being initialized properly. Adding a fix by allocating the result from global memory and initialized the operat

[dpdk-dev] [PATCH] app/flow-perf: added option to support flow priority

2021-10-28 Thread psatheesh
From: Satheesh Paul Added support to specify maximum flow priority option. When this option is given, each flow will be created with the priority attribute and the priority will be random between 0 to max-flow-priority. This is useful to measure performance on NICs which may have to rearrange flo

Re: [dpdk-dev] [PATCH v8 2/4] mempool: add non-IO flag

2021-10-28 Thread Jiang, YuX
> -Original Message- > From: dev On Behalf Of Dmitry Kozlyuk > Sent: Monday, October 18, 2021 10:41 PM > To: dev@dpdk.org > Cc: David Marchand ; Matan Azrad > ; Andrew Rybchenko > ; Tahhan, Maryam > ; Pattan, Reshma ; > Olivier Matz > Subject: [dpdk-dev] [PATCH v8 2/4] mempool: add non-IO

Re: [dpdk-dev] [PATCH] net/hns3: fix mailbox communication with HW

2021-10-28 Thread Min Hu (Connor)
Hi, Thomos, Ferruh, As this patch is to fix a critical bug for hns3 PMD, we hope this patch could be merged into 21.11. Please check it out. Thanks. 在 2021/10/28 19:52, Min Hu (Connor) 写道: Mailbox is the communication mechanism between SW and HW. There exist two approaches for SW to

[dpdk-dev] [Bug 863] external_mempool_handler:execute mempool_autotest command failed on FreeBSD

2021-10-28 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=863 Bug ID: 863 Summary: external_mempool_handler:execute mempool_autotest command failed on FreeBSD Product: DPDK Version: 21.11 Hardware: All OS: All Statu

Re: [dpdk-dev] [PATCH v2] net/ice: fix performance issue for Rx timestamp

2021-10-28 Thread Zhang, Qi Z
> -Original Message- > From: Su, Simei > Sent: Thursday, October 28, 2021 10:42 PM > To: Zhang, Qi Z > Cc: dev@dpdk.org; Van Haaren, Harry ; Wu, > Wenjun1 ; Su, Simei > Subject: [PATCH v2] net/ice: fix performance issue for Rx timestamp > > In Rx data path, it reads hardware register

Re: [dpdk-dev] [PATCH v13 0/7] iavf: add iAVF IPsec inline crypto support

2021-10-28 Thread Zhang, Qi Z
> -Original Message- > From: Nicolau, Radu > Sent: Friday, October 29, 2021 12:05 AM > Cc: dev@dpdk.org; Doherty, Declan ; Sinha, > Abhijit ; Wu, Jingjing ; > Zhang, Qi Z ; Xing, Beilei ; > Richardson, Bruce ; Ananyev, Konstantin > ; Nicolau, Radu > Subject: [PATCH v13 0/7] iavf: add i

[dpdk-dev] [PATCH 3/3] mempool/cnxk: parse max pools during npa initialization

2021-10-28 Thread Volodymyr Fialko
Register callback for max_pools argument parsing Signed-off-by: Volodymyr Fialko Reviewed-by: Jerin Jacob --- drivers/mempool/cnxk/cnxk_mempool.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/mempool/cnxk/cnxk_mempool.c b/drivers/mempool/cnxk/cnxk_me

[dpdk-dev] [PATCH 2/3] common/cnxk: add roc npa init callback support

2021-10-28 Thread Volodymyr Fialko
Add support for registering callback for roc npa init Signed-off-by: Volodymyr Fialko Reviewed-by: Jerin Jacob --- drivers/common/cnxk/roc_npa.c | 18 ++ drivers/common/cnxk/roc_npa.h | 4 drivers/common/cnxk/version.map | 1 + 3 files changed, 23 insertions(+) diff

[dpdk-dev] [PATCH 1/3] mempool/cnxk: fix max pools argument parsing

2021-10-28 Thread Volodymyr Fialko
roc_idev_npa_maxpools_set expects max_pools original value, not the aura Fixes: 0a50a5aad299 ("mempool/cnxk: add device probe/remove") Cc: sta...@dpdk.org Signed-off-by: Volodymyr Fialko Reviewed-by: Jerin Jacob Kollanukkaran --- drivers/mempool/cnxk/cnxk_mempool.c | 20 ++-- 1

[dpdk-dev] [PATCH 0/3] fix max pools argument parsing

2021-10-28 Thread Volodymyr Fialko
This series should fix issue with max pool argument parsing for cnxk platforms Volodymyr Fialko (3): mempool/cnxk: fix max pools argument parsing common/cnxk: add roc npa init callback support mempool/cnxk: parse max pools during npa initialization drivers/common/cnxk/roc_npa.c | 18

[dpdk-dev] [PATCH] common/cnxk: add roc npa init callback support

2021-10-28 Thread Volodymyr Fialko
Add support for registering callback for roc npa init Signed-off-by: Volodymyr Fialko Reviewed-by: Jerin Jacob --- Depends-on: series-20004 ("mempool/cnxk: fix max pools argument parsing") drivers/common/cnxk/roc_npa.c | 18 ++ drivers/common/cnxk/roc_npa.h | 4 driver

[dpdk-dev] Windows community call: MoM 2021-10-27

2021-10-28 Thread Dmitry Kozlyuk
# About The meeting takes place in MS Teams every two weeks on Wednesday 15:00 UTC. Note: it is going to be rescheduled. Ask Harini Ramakrishnan for invitation. # Agenda * Patch review * Opens # 1. Patch review 1.1. [kmods,v2] windows/netuio: add Intel device ID (William Tu) http://pa

[dpdk-dev] [PATCH v3] net/enic: support GTP header flow matching

2021-10-28 Thread John Daley
The GTP, GTP-U, GTP-C header fields can be matched, however NIC does not support GTP tunneling so no items after the GTP header can be specified. If a GTP-U or GTP-C item is specified without a preceding UDP item, the UDP destination port is implicitly matched. For GTP, the destination UDP port mus

Re: [dpdk-dev] [PATCH v2] net: fix build with sparse on L2TPv2 bitfields

2021-10-28 Thread Ferruh Yigit
On 10/28/2021 11:14 AM, David Marchand wrote: An external project that wants to do additional checks on fields endianness can remap rte_beXX types to instrumented types and use sparse. The current code breaks OVS build with sparse: ../../lib/ofp-packet.c: note: in included file (through .../o

Re: [dpdk-dev] [PATCH v4 1/6] ethdev: add capability to keep flow rules on restart

2021-10-28 Thread Ajit Khaparde
On Wed, Oct 20, 2021 at 11:35 PM Dmitry Kozlyuk wrote: > > Previously, it was not specified what happens to the flow rules > when the device is stopped, possibly reconfigured, then started. > If flow rules were kept, it could be convenient for application > developers, because they wouldn't need t

Re: [dpdk-dev] [PATCH] app/testpmd: fix MTU configuration before device start

2021-10-28 Thread Ferruh Yigit
On 10/25/2021 7:06 PM, Ajit Khaparde wrote: On Sun, Oct 24, 2021 at 9:42 AM Andrew Rybchenko wrote: There is no point to do rte_eth_dev_mtu_set() before configure since set MTU value is overwritten on configure anyway. So, setting of MTU before configure is rejected now on ethdev level. If te

Re: [dpdk-dev] [PATCH 3/4] dma/cnxk: add dma channel operations

2021-10-28 Thread Radha Mohan
On Tue, Oct 26, 2021 at 1:49 AM Jerin Jacob wrote: > > On Tue, Oct 26, 2021 at 9:43 AM Radha Mohan Chintakuntla > wrote: > > > > Add functions for the dmadev vchan setup and DMA operations. > > > > Signed-off-by: Radha Mohan Chintakuntla > > --- > > drivers/dma/cnxk/cnxk_dmadev.c | 322

Re: [dpdk-dev] [PATCH 01/10] vdpa/sfc: introduce Xilinx vDPA driver

2021-10-28 Thread Vijay Kumar Srivastava
Hi Stephen, >-Original Message- >From: Stephen Hemminger >Sent: Friday, August 13, 2021 9:07 PM >To: Vijay Kumar Srivastava >Cc: dev@dpdk.org; maxime.coque...@redhat.com; chenbo@intel.com; >andrew.rybche...@oktetlabs.ru; Vijay Kumar Srivastava >Subject: Re: [dpdk-dev] [PATCH 01/10]

Re: [dpdk-dev] [PATCH] app/testpmd: fix error definition type

2021-10-28 Thread Ferruh Yigit
On 10/27/2021 3:01 AM, Jie Wang wrote: In "msg_type |= 0xc800", wider "51200" has high-order bits (0xc800) that don't affect the narrower left-hand side. This patch fixs coverity issue by changing the definition type of "msg_type" from uint8_t to uint16_t. Coverity issue: 373651 Fixes: 748530f0

Re: [dpdk-dev] [PATCH v2 00/10] vdpa/sfc: introduce Xilinx vDPA driver

2021-10-28 Thread Vijay Kumar Srivastava
Hi Maxime, >-Original Message- >From: Maxime Coquelin >Sent: Thursday, October 28, 2021 8:05 PM >To: Vijay Kumar Srivastava ; dev@dpdk.org >Cc: chenbo@intel.com; andrew.rybche...@oktetlabs.ru; Vijay Kumar >Srivastava >Subject: Re: [PATCH v2 00/10] vdpa/sfc: introduce Xilinx vDPA driv

Re: [dpdk-dev] [PATCH 00/10] vdpa/sfc: introduce Xilinx vDPA driver

2021-10-28 Thread Vijay Kumar Srivastava
HI Maxime, With the rc1 code base, an issue https://bugs.dpdk.org/show_bug.cgi?id=862 was observed. Due to this vDPA app was not working properly. After fixing this issue (Fix needs to be submitted) vDPA app is working fine with the this patch series. Regards, Vijay >-Original Message---

[dpdk-dev] [Bug 862] Uninitialized value of devargs.bus_str for RTE_DEVARGS_KEY_CLASS case

2021-10-28 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=862 Bug ID: 862 Summary: Uninitialized value of devargs.bus_str for RTE_DEVARGS_KEY_CLASS case Product: DPDK Version: 21.11 Hardware: All OS: Linux Status:

Re: [dpdk-dev] [PATCH] common/cnxk: fix build failure

2021-10-28 Thread Ferruh Yigit
On 10/27/2021 2:12 PM, Tejasree Kondoj wrote: Fixing build failure with EXTRA_CFLAGS='-O1'. For future, can you please provide a little more detail in the commit log related to the build error, like which compiler or compiler version cause the issue, what is the build error and put part of the

Re: [dpdk-dev] [PATCH] pdump: initialize snaplen if enabled by device id

2021-10-28 Thread Stephen Hemminger
On Wed, 27 Oct 2021 11:08:47 -0700 Stephen Hemminger wrote: > If packet dump was enabled via pdump_enable_by_deviceid > the packet snapshot length was not being set. > > Bugzilla ID: 840 > Fixes: 10f726efe26c ("pdump: support pcapng and filtering") > > Signed-off-by: Stephen Hemminger > --- >

Re: [dpdk-dev] [PATCH v8 9/9] interrupts: extend event list

2021-10-28 Thread David Marchand
On Thu, Oct 28, 2021 at 5:58 PM Ji, Kai wrote: > This patch is causing QAT failed during interrupt init, the event list does > not support interrupt count size zero in QAT case. > > There is also Bugzilla relate to this issue: > https://bugs.dpdk.org/show_bug.cgi?id=843 (We could avoid updating

[dpdk-dev] [PATCH 6/6] crypto/cnxk: support IPv6 mixed tunnel mode

2021-10-28 Thread Archana Muniganti
Adds IPv6 mixed tunnel mode support for cn9k. Signed-off-by: Archana Muniganti --- drivers/crypto/cnxk/cn9k_ipsec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/cnxk/cn9k_ipsec.c b/drivers/crypto/cnxk/cn9k_ipsec.c index ca26d9289c..a81130b244 100644 --- a

[dpdk-dev] [PATCH 5/6] crypto/cnxk: update auth key size

2021-10-28 Thread Archana Muniganti
Update auth key size for SHA256_HMAC for cn9k. Signed-off-by: Archana Muniganti --- .../crypto/cnxk/cnxk_cryptodev_capabilities.c | 22 +++ 1 file changed, 22 insertions(+) diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c b/drivers/crypto/cnxk/cnxk_cryptodev_capab

[dpdk-dev] [PATCH 4/6] doc/guides: update feature list supported with cn9k

2021-10-28 Thread Archana Muniganti
Updated feature list supported with cn9k. Signed-off-by: Archana Muniganti --- doc/guides/cryptodevs/cnxk.rst | 4 1 file changed, 4 insertions(+) diff --git a/doc/guides/cryptodevs/cnxk.rst b/doc/guides/cryptodevs/cnxk.rst index faad6a499d..23cc823e03 100644 --- a/doc/guides/cryptodevs/cn

[dpdk-dev] [PATCH 3/6] crypto/cnxk: add cn9k ESN and anti-replay support

2021-10-28 Thread Archana Muniganti
Adds ESN and anti-replay support for lookaside IPsec. Signed-off-by: Archana Muniganti Signed-off-by: Tejasree Kondoj --- doc/guides/cryptodevs/cnxk.rst | 2 + doc/guides/rel_notes/release_21_11.rst | 1 + drivers/common/cnxk/cnxk_security_ar.h | 21 + drivers/crypto/cnxk/c

[dpdk-dev] [PATCH 2/6] crypto/cnxk: add null auth

2021-10-28 Thread Archana Muniganti
From: Anoob Joseph Add null auth support with lookaside IPsec on cn10k crypto PMDs. Signed-off-by: Anoob Joseph --- doc/guides/cryptodevs/cnxk.rst| 1 + doc/guides/rel_notes/release_21_11.rst| 1 + drivers/crypto/cnxk/cn9k_ipsec.c | 6 +++-- .../crypto/c

[dpdk-dev] [PATCH 1/6] common/cnxk: add null auth with IPsec

2021-10-28 Thread Archana Muniganti
From: Anoob Joseph Add support for null auth with IPsec operations on cn10k. Signed-off-by: Anoob Joseph --- drivers/common/cnxk/cnxk_security.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/drivers/common/cnxk/cnxk_security.c b/drivers/common/cnxk/cn

[dpdk-dev] [PATCH 0/6] add cnxk lookaside IPsec additional features

2021-10-28 Thread Archana Muniganti
This series covers additional features, key length update and feature list update. * For cn10k, AES-CBC NULL auth support is added. * For cn9k, ESN and Anti-replay support is added. Along with feature addition, key length and supported features list update is added. Anoob Joseph (2): common/

Re: [dpdk-dev] [PATCH v1 1/2] vfio: make API return values consistent

2021-10-28 Thread Stephen Hemminger
On Thu, 28 Oct 2021 16:40:28 +0100 "Burakov, Anatoly" wrote: > On 28-Oct-21 3:53 PM, Thomas Monjalon wrote: > > 28/10/2021 13:32, Ferruh Yigit: > >> On 10/28/2021 12:11 PM, Xia, Chenbo wrote: > -Original Message- > From: Burakov, Anatoly > Sent: Thursday, October 28, 2

Re: [dpdk-dev] [PATCH] ethdev: fine tune error reporting in pick transfer proxy API

2021-10-28 Thread Ivan Malov
Good day to you, Thomas. On 27/10/2021 13:57, Thomas Monjalon wrote: 27/10/2021 11:55, Ivan Malov: Hi Thomas, On 27/10/2021 12:46, Thomas Monjalon wrote: 27/10/2021 11:00, Ivan Malov: There are PMDs which do not support flow offloads at all. In such cases, the API in question returns ENOTSUP

[dpdk-dev] [PATCH v13 5/7] net/iavf: add xstats support for inline IPsec crypto

2021-10-28 Thread Radu Nicolau
Add per queue counters for maintaining statistics for inline IPsec crypto offload, which can be retrieved through the rte_security_session_stats_get() with more detailed errors through the rte_ethdev xstats. Signed-off-by: Declan Doherty Signed-off-by: Radu Nicolau Acked-by: Jingjing Wu --- dr

[dpdk-dev] [PATCH v13 7/7] net/iavf: update doc with inline crypto support

2021-10-28 Thread Radu Nicolau
Update the PMD doc, feature matrix and release notes with the new inline crypto feature. Signed-off-by: Radu Nicolau --- doc/guides/nics/features/iavf.ini | 2 ++ doc/guides/nics/intel_vf.rst | 10 ++ doc/guides/rel_notes/release_21_11.rst | 1 + 3 files changed, 13 inse

[dpdk-dev] [PATCH v13 6/7] net/iavf: add watchdog for VFLR

2021-10-28 Thread Radu Nicolau
Add watchdog to iAVF PMD which support monitoring the VFLR register. If the device is not already in reset then if a VF reset in progress is detected then notfiy user through callback and set into reset state. If the device is already in reset then poll for completion of reset. The watchdog is dis

[dpdk-dev] [PATCH v13 4/7] net/iavf: add iAVF IPsec inline crypto support

2021-10-28 Thread Radu Nicolau
Add support for inline crypto for IPsec, for ESP transport and tunnel over IPv4 and IPv6, as well as supporting the offload for ESP over UDP, and inconjunction with TSO for UDP and TCP flows. Implement support for rte_security packet metadata Add definition for IPsec descriptors, extend support fo

[dpdk-dev] [PATCH v13 3/7] net/iavf: add support for asynchronous virt channel messages

2021-10-28 Thread Radu Nicolau
Add support for asynchronous virtual channel messages, specifically for inline IPsec messages. Signed-off-by: Declan Doherty Signed-off-by: Abhijit Sinha Signed-off-by: Radu Nicolau Acked-by: Jingjing Wu --- drivers/net/iavf/iavf.h | 25 +- drivers/net/iavf/iavf_vchnl.c | 140 +

[dpdk-dev] [PATCH v13 2/7] net/iavf: rework Tx path

2021-10-28 Thread Radu Nicolau
Rework the Tx path and Tx descriptor usage in order to allow for better use of oflload flags and to facilitate enabling of inline crypto offload feature. Signed-off-by: Declan Doherty Signed-off-by: Abhijit Sinha Signed-off-by: Radu Nicolau Acked-by: Jingjing Wu --- drivers/net/iavf/iavf_rxtx

[dpdk-dev] [PATCH v13 1/7] common/iavf: add iAVF IPsec inline crypto support

2021-10-28 Thread Radu Nicolau
Add support for inline crypto for IPsec. Signed-off-by: Declan Doherty Signed-off-by: Abhijit Sinha Signed-off-by: Radu Nicolau --- drivers/common/iavf/iavf_type.h | 1 + drivers/common/iavf/virtchnl.h | 17 +- drivers/common/iavf/virtchnl_inline_ipsec.h | 553 +

[dpdk-dev] [PATCH v13 0/7] iavf: add iAVF IPsec inline crypto support

2021-10-28 Thread Radu Nicolau
Add support for inline crypto for IPsec, for ESP transport and tunnel over IPv4 and IPv6, as well as supporting the offload for ESP over UDP, and inconjunction with TSO for UDP and TCP flows. Radu Nicolau (7): common/iavf: add iAVF IPsec inline crypto support net/iavf: rework Tx path net/iav

[dpdk-dev] [PATCH v13 6/7] net/iavf: add watchdog for VFLR

2021-10-28 Thread Radu Nicolau
Add watchdog to iAVF PMD which support monitoring the VFLR register. If the device is not already in reset then if a VF reset in progress is detected then notfiy user through callback and set into reset state. If the device is already in reset then poll for completion of reset. The watchdog is dis

[dpdk-dev] [PATCH v13 7/7] net/iavf: update doc with inline crypto support

2021-10-28 Thread Radu Nicolau
Update the PMD doc, feature matrix and release notes with the new inline crypto feature. Signed-off-by: Radu Nicolau --- doc/guides/nics/features/iavf.ini | 2 ++ doc/guides/nics/intel_vf.rst | 10 ++ doc/guides/rel_notes/release_21_11.rst | 1 + 3 files changed, 13 inse

[dpdk-dev] [PATCH v13 5/7] net/iavf: add xstats support for inline IPsec crypto

2021-10-28 Thread Radu Nicolau
Add per queue counters for maintaining statistics for inline IPsec crypto offload, which can be retrieved through the rte_security_session_stats_get() with more detailed errors through the rte_ethdev xstats. Signed-off-by: Declan Doherty Signed-off-by: Radu Nicolau Acked-by: Jingjing Wu --- dr

[dpdk-dev] [PATCH v13 4/7] net/iavf: add iAVF IPsec inline crypto support

2021-10-28 Thread Radu Nicolau
Add support for inline crypto for IPsec, for ESP transport and tunnel over IPv4 and IPv6, as well as supporting the offload for ESP over UDP, and inconjunction with TSO for UDP and TCP flows. Implement support for rte_security packet metadata Add definition for IPsec descriptors, extend support fo

[dpdk-dev] [PATCH v13 3/7] net/iavf: add support for asynchronous virt channel messages

2021-10-28 Thread Radu Nicolau
Add support for asynchronous virtual channel messages, specifically for inline IPsec messages. Signed-off-by: Declan Doherty Signed-off-by: Abhijit Sinha Signed-off-by: Radu Nicolau Acked-by: Jingjing Wu --- drivers/net/iavf/iavf.h | 25 +- drivers/net/iavf/iavf_vchnl.c | 140 +

[dpdk-dev] [PATCH v13 2/7] net/iavf: rework tx path

2021-10-28 Thread Radu Nicolau
Rework the TX path and TX descriptor usage in order to allow for better use of oflload flags and to facilitate enabling of inline crypto offload feature. Signed-off-by: Declan Doherty Signed-off-by: Abhijit Sinha Signed-off-by: Radu Nicolau Acked-by: Jingjing Wu --- drivers/net/iavf/iavf_rxtx

[dpdk-dev] [PATCH v13 1/7] common/iavf: add iAVF IPsec inline crypto support

2021-10-28 Thread Radu Nicolau
Add support for inline crypto for IPsec. Signed-off-by: Declan Doherty Signed-off-by: Abhijit Sinha Signed-off-by: Radu Nicolau --- drivers/common/iavf/iavf_type.h | 1 + drivers/common/iavf/virtchnl.h | 17 +- drivers/common/iavf/virtchnl_inline_ipsec.h | 553 +

[dpdk-dev] [PATCH v13 0/7] iavf: add iAVF IPsec inline crypto support

2021-10-28 Thread Radu Nicolau
Add support for inline crypto for IPsec, for ESP transport and tunnel over IPv4 and IPv6, as well as supporting the offload for ESP over UDP, and inconjunction with TSO for UDP and TCP flows. Radu Nicolau (7): common/iavf: add iAVF IPsec inline crypto support net/iavf: rework tx path net/iav

Re: [dpdk-dev] [PATCH v8 9/9] interrupts: extend event list

2021-10-28 Thread Ji, Kai
Hi Harman, This patch is causing QAT failed during interrupt init, the event list does not support interrupt count size zero in QAT case. There is also Bugzilla relate to this issue: https://bugs.dpdk.org/show_bug.cgi?id=843 Regards Kai > -Original Message- > From: dev On Behalf

Re: [dpdk-dev] [PATCH v1 1/2] vfio: make API return values consistent

2021-10-28 Thread Burakov, Anatoly
On 28-Oct-21 3:53 PM, Thomas Monjalon wrote: 28/10/2021 13:32, Ferruh Yigit: On 10/28/2021 12:11 PM, Xia, Chenbo wrote: -Original Message- From: Burakov, Anatoly Sent: Thursday, October 28, 2021 6:30 PM To: Xia, Chenbo ; dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v1 1/2] vfio: make AP

Re: [dpdk-dev] [PATCH] examples/multi_process: fix RX packets distribution

2021-10-28 Thread Burakov, Anatoly
On 28-Oct-21 4:14 PM, Gregory Etelson wrote: Hello Anatoly, ..snip.. b/examples/multi_process/client_server_mp/m p_server/main.c @@ -234,7 +234,7 @@ process_packets(uint32_t port_num __rte_unused, struct rte_mbuf *pkts[], uint16_t rx_count) { uint16_t i; - uin

Re: [dpdk-dev] [PATCH v7 2/4] net/ice/base: add function to set HW profile for raw flow

2021-10-28 Thread Ferruh Yigit
On 10/28/2021 10:13 AM, Junfeng Guo wrote: Based on the parser library, we can directly set HW profile and associate the main/ctrl vsi. This shared code function is not used by driver, will it be enabled later or is it for shared code sync, can you please clarify in the commit log. Signed-of

Re: [dpdk-dev] [PATCH v7 1/4] net/ice/base: add method to disable FDIR SWAP option

2021-10-28 Thread Ferruh Yigit
On 10/28/2021 10:13 AM, Junfeng Guo wrote: The SWAP Flag in the FDIR Programming Descriptor doesn't work, thus add a method to disable the FDIR SWAP option by setting the swap and inset register set with certain values. Can you please briefly describe why 'SWAP Flag in the FDIR Programming De

Re: [dpdk-dev] [PATCH v1 1/2] vfio: make API return values consistent

2021-10-28 Thread Thomas Monjalon
28/10/2021 13:32, Ferruh Yigit: > On 10/28/2021 12:11 PM, Xia, Chenbo wrote: > >> -Original Message- > >> From: Burakov, Anatoly > >> Sent: Thursday, October 28, 2021 6:30 PM > >> To: Xia, Chenbo ; dev@dpdk.org > >> Subject: Re: [dpdk-dev] [PATCH v1 1/2] vfio: make API return values > >>

Re: [dpdk-dev] [PATCH] net/iavf: fix build error

2021-10-28 Thread Ferruh Yigit
On 10/27/2021 10:51 AM, Radu Nicolau wrote: Fix Freebsd13 and Win10 build error. Fixes: 9e84ce6ecd27 ("net/iavf: add iAVF IPsec inline crypto support") Signed-off-by: Radu Nicolau Can you please squash this fix to the original set, in its new version? --- drivers/net/iavf/iavf_ipsec_cryp

[dpdk-dev] [PATCH v2] net/ice: fix performance issue for Rx timestamp

2021-10-28 Thread Simei Su
In Rx data path, it reads hardware registers per packet, resulting in big performance drop. This patch improves performance from two aspects: (1) replace per packet hardware register read by per burst. (2) reduce hardware register read time from 3 to 2 when the low value of time is not close to

Re: [dpdk-dev] [PATCH v12 0/7] iavf: add iAVF IPsec inline crypto support

2021-10-28 Thread Ferruh Yigit
On 10/26/2021 2:56 PM, Radu Nicolau wrote: Add support for inline crypto for IPsec, for ESP transport and tunnel over IPv4 and IPv6, as well as supporting the offload for ESP over UDP, and inconjunction with TSO for UDP and TCP flows. Radu Nicolau (7): common/iavf: add iAVF IPsec inline crypt

Re: [dpdk-dev] [PATCH v2 00/10] vdpa/sfc: introduce Xilinx vDPA driver

2021-10-28 Thread Maxime Coquelin
On 10/28/21 09:54, Vijay Srivastava wrote: This patch series introduces vDPA driver for Xilinx devices. The Xilinx vDPA (vhost data path acceleration) provides support for the Xilinx SN1022 SmartNICs. Vijay Kumar Srivastava (10): vdpa/sfc: introduce Xilinx vDPA driver vdpa/sfc: add supp

Re: [dpdk-dev] [PATCH] examples/multi_process: fix RX packets distribution

2021-10-28 Thread Burakov, Anatoly
On 26-Oct-21 10:50 AM, Gregory Etelson wrote: MP servers distributes RX packets between clients according to round-robin scheme. Current implementation always started packets distribution from the first client. That procedure resulted in uniform distribution in cases when RX packets number was a

[dpdk-dev] [PATCH v2] vhost: mark vDPA driver API as internal

2021-10-28 Thread Maxime Coquelin
This patch marks the vDPA driver APIs as internal and rename the corresponding header file to vdpa_driver.h. Signed-off-by: Maxime Coquelin --- Hi Techboard, Please vote for an exception for this unannounced API breakage. Changes in v2: == - Alphabetical ordering in version.map (Da

[dpdk-dev] [PATCH v3 4/4] vfio: add errno on unsupported platforms

2021-10-28 Thread Anatoly Burakov
Currently, when code is running on FreeBSD or Windows,, there is no way to distinguish between a geniune error and a "VFIO is unsupported" error. Fix the dummy implementations to also set the rte_errno flag. Cc: sta...@dpdk.org Signed-off-by: Anatoly Burakov Acked-by: Chenbo Xia Acked-by: Bruce

[dpdk-dev] [PATCH v3 3/4] vfio: fix documentation to match intended behavior

2021-10-28 Thread Anatoly Burakov
On FreeBSD, `rte_vfio_is_enabled()` and `rte_vfio_noiommu_is_enabled()` API calls will not return error, and will instead return 0. This is intentional, because the caller of this API does not care whether VFIO is supported at all, and will instead be interested in whether VFIO is enabled or not. H

[dpdk-dev] [PATCH v3 2/4] vfio: fix wrong return value for FreeBSD

2021-10-28 Thread Anatoly Burakov
On FreeBSD, `rte_vfio_clear_group()` was returning 0 even though this function is not valid for FreeBSD, and is called out to return error in doxygen comments. Fix the return value to match documentation. Cc: sta...@dpdk.org Signed-off-by: Anatoly Burakov --- lib/eal/freebsd/eal.c | 2 +- 1 file

[dpdk-dev] [PATCH v3 1/4] vfio: drop fallback Linux implementation

2021-10-28 Thread Anatoly Burakov
Currently, VFIO support for Linux is compiled unconditionally, and supported kernel versions start with 4.4, so VFIO is assumed to always be enabled. There is no way of disabling VFIO support at compile time anyway, so just drop the "VFIO not available" fallback code altogether. Signed-off-by: Ana

Re: [dpdk-dev] [PATCH v2 4/4] vfio: add errno on unsupported platforms

2021-10-28 Thread Burakov, Anatoly
On 28-Oct-21 2:49 PM, Anatoly Burakov wrote: Currently, when code is running on FreeBSD, there is no way to distinguish between a geniune error and a "VFIO is unsupported" error. Fix the dummy implementations to also set the rte_errno flag. Signed-off-by: Anatoly Burakov Acked-by: Chenbo Xia A

[dpdk-dev] [PATCH v2 1/1] vfio: add page-by-page mapping API

2021-10-28 Thread Anatoly Burakov
Currently, there is no way to map memory for DMA in a way that allows unmapping it partially later, because some IOMMU's do not support partial unmapping. There is a workaround of mapping all of these segments separately, but this is inconvenient and silly, so this commit adds a proper API that doe

Re: [dpdk-dev] [PATCH v2] doc: fix CI typo warnings

2021-10-28 Thread Walsh, Conor
> From: dev On Behalf Of Ray Kinsella > Sent: Tuesday 10 August 2021 15:34 > To: dev@dpdk.org > Cc: Richardson, Bruce ; Mcnamara, John > ; aaron.con...@redhat.com; m...@ashroe.eu > Subject: [dpdk-dev] [PATCH v2] doc: fix CI typo warnings > > Fix documentation typos that are generating spurious

[dpdk-dev] [PATCH v2 4/4] vfio: add errno on unsupported platforms

2021-10-28 Thread Anatoly Burakov
Currently, when code is running on FreeBSD, there is no way to distinguish between a geniune error and a "VFIO is unsupported" error. Fix the dummy implementations to also set the rte_errno flag. Signed-off-by: Anatoly Burakov Acked-by: Chenbo Xia Acked-by: Bruce Richardson --- lib/eal/freebsd

[dpdk-dev] [PATCH v2 3/4] vfio: fix documentation to match intended behavior

2021-10-28 Thread Anatoly Burakov
On FreeBSD, `rte_vfio_is_enabled()` and `rte_vfio_noiommu_is_enabled()` API calls will not return error, and will instead return 0. This is intentional, because the caller of this API does not care whether VFIO is supported at all, and will instead be interested in whether VFIO is enabled or not. H

[dpdk-dev] [PATCH v2 2/4] vfio: fix wrong return value for FreeBSD

2021-10-28 Thread Anatoly Burakov
On FreeBSD, `rte_vfio_clear_group()` was returning 0 even though this function is not valid for FreeBSD, and is called out to return error in doxygen comments. Fix the return value to match documentation. Cc: sta...@dpdk.org Signed-off-by: Anatoly Burakov --- lib/eal/freebsd/eal.c | 2 +- 1 file

[dpdk-dev] [PATCH v2 1/4] vfio: drop fallback Linux implementation

2021-10-28 Thread Anatoly Burakov
Currently, VFIO support for Linux is compiled unconditionally, and supported kernel versions start with 4.4, so VFIO is assumed to always be enabled. There is no way of disabling VFIO support at compile time anyway, so just drop the "VFIO not available" fallback code altogether. Signed-off-by: Ana

[dpdk-dev] DPDK Release Status Meeting 2021-10-28

2021-10-28 Thread Mcnamara, John
Release status meeting minutes 2021-10-28 = Agenda: * Release Dates * Subtrees * Roadmaps * LTS * Defects * Opens Participants: * ARM * Broadcom * Intel * Marvell * Nvidia * Red Hat Release Dates - * v21.11 dates: http://core.dpdk.org/roadmap

Re: [dpdk-dev] [PATCH] devtools: forbid additions of __reserved

2021-10-28 Thread Walsh, Conor
> From: dev On Behalf Of David Marchand > Sent: Saturday 23 October 2021 11:29 > To: dev@dpdk.org > Cc: dmitry.kozl...@gmail.com; Thomas Monjalon > Subject: [dpdk-dev] [PATCH] devtools: forbid additions of __reserved > > __reserved is a reserved keyword in Windows system headers. > > Signed-off

Re: [dpdk-dev] [PATCH v7 4/5] lib/bpf: use wait event scheme for Rx/Tx iteration

2021-10-28 Thread Ananyev, Konstantin
> Instead of polling for cbi->use to be updated, use wait event scheme. > > Signed-off-by: Feifei Wang > Reviewed-by: Ruifeng Wang > --- > lib/bpf/bpf_pkt.c | 9 +++-- > 1 file changed, 3 insertions(+), 6 deletions(-) > > diff --git a/lib/bpf/bpf_pkt.c b/lib/bpf/bpf_pkt.c > index 6e8248

Re: [dpdk-dev] [PATCH v2] devtools: clarify that lines up to 100 characters are ok

2021-10-28 Thread Walsh, Conor
> From: dev On Behalf Of Bruce Richardson > Sent: Wednesday 20 October 2021 15:26 > To: dev@dpdk.org > Cc: Andrew Rybchenko ; Richardson, > Bruce > Subject: [dpdk-dev] [PATCH v2] devtools: clarify that lines up to 100 > characters are ok > > Since we allow line lengths of up to 100, and the CI c

Re: [dpdk-dev] [PATCH v7 1/5] eal: add new definitions for wait scheme

2021-10-28 Thread Ananyev, Konstantin
> > diff --git a/lib/eal/include/generic/rte_pause.h > b/lib/eal/include/generic/rte_pause.h > index 668ee4a184..d0c5b5a415 100644 > --- a/lib/eal/include/generic/rte_pause.h > +++ b/lib/eal/include/generic/rte_pause.h > @@ -111,6 +111,34 @@ rte_wait_until_equal_64(volatile uint64_t *addr, > uin

Re: [dpdk-dev] [PATCH] doc: two typos in documentation

2021-10-28 Thread Walsh, Conor
Hi Henry, When correcting these tags the corresponding tags within the code must also be updated to match or it will break the literalinclude link and cause the warnings shown below. doc/guides/sample_app_ug/dma.rst:240: WARNING: end-before pattern not found: >8 End of starting to process for e

Re: [dpdk-dev] [PATCH v1 1/1] vfio: add page-by-page mapping API

2021-10-28 Thread Burakov, Anatoly
On 28-Oct-21 9:18 AM, David Marchand wrote: On Wed, Sep 29, 2021 at 12:19 PM Burakov, Anatoly wrote: @@ -2179,7 +2208,29 @@ rte_vfio_container_dma_map(int container_fd, uint64_t vaddr, uint64_t iova, return -1; } - return container_dma_map(vfio_cfg, vaddr, iova, len)

Re: [dpdk-dev] [PATCH] vhost: mark vDPA driver API as internal

2021-10-28 Thread Maxime Coquelin
On 10/28/21 14:38, David Marchand wrote: On Thu, Oct 28, 2021 at 2:03 PM Maxime Coquelin wrote: This patch marks the vDPA driver APIs as internal and rename the corresponding header file. Signed-off-by: Maxime Coquelin --- drivers/vdpa/ifc/ifcvf_vdpa.c| 2 +- drivers/vdpa/

Re: [dpdk-dev] [PATCH v1 1/2] vfio: make API return values consistent

2021-10-28 Thread Burakov, Anatoly
On 28-Oct-21 12:32 PM, Ferruh Yigit wrote: On 10/28/2021 12:11 PM, Xia, Chenbo wrote: -Original Message- From: Burakov, Anatoly Sent: Thursday, October 28, 2021 6:30 PM To: Xia, Chenbo ; dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v1 1/2] vfio: make API return values consistent Hi Ch

Re: [dpdk-dev] [PATCH] common/cnxk: fix build failure

2021-10-28 Thread Jerin Jacob
On Thu, Oct 28, 2021 at 12:31 PM Anoob Joseph wrote: > > > Subject: [PATCH] common/cnxk: fix build failure > > > > Fixing build failure with EXTRA_CFLAGS='-O1'. > > > > Fixes: d85f9749f915 ("common/cnxk: add hash generation API") > > > > Reported-by: Longfeng Liang > > Signed-off-by: Tejasree Kon

[dpdk-dev] [Bug 861] gcc12 build error, app/test

2021-10-28 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=861 Bug ID: 861 Summary: gcc12 build error, app/test Product: DPDK Version: 20.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal

[dpdk-dev] [Bug 860] gcc12 build error, net/ngbe

2021-10-28 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=860 Bug ID: 860 Summary: gcc12 build error, net/ngbe Product: DPDK Version: 20.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal

[dpdk-dev] [Bug 859] gcc12 build error, net/bnx2x

2021-10-28 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=859 Bug ID: 859 Summary: gcc12 build error, net/bnx2x Product: DPDK Version: 20.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Norma

[dpdk-dev] [Bug 858] gcc12 build error, net/failsafe

2021-10-28 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=858 Bug ID: 858 Summary: gcc12 build error, net/failsafe Product: DPDK Version: 20.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: No

  1   2   3   >