[dpdk-dev] [PATCH] vfio: remove unused variable

2020-05-16 Thread wangyunjian
From: Yunjian Wang The 'group_status' has never been used and can be removed. Fixes: 94c0776b1bad ("vfio: support hotplug") Cc: sta...@dpdk.org Signed-off-by: Yunjian Wang --- lib/librte_eal/linux/eal_vfio.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/librte_eal/linux/eal_vfio.c

[dpdk-dev] [PATCH 1/6] common/octeontx2: fix out of bounds access

2020-05-16 Thread Anoob Joseph
Coverity issue: 354230, 354231 Fixes: f44e71637755 ("net/octeontx2: add security session operations") Fixes: 3fe4d07d1678 ("crypto/octeontx2: enable CPT to share QP with ethdev") Signed-off-by: Anoob Joseph --- drivers/common/octeontx2/otx2_sec_idev.c | 4 ++-- 1 file changed, 2 insertions(+),

[dpdk-dev] [PATCH 0/6] improvements to OCTEON TX crypto PMDs

2020-05-16 Thread Anoob Joseph
This series adds multiple optimizations and improvements to OCTEON TX crypto PMDs and OCTEON TX2 security support. Ankur Dwivedi (2): crypto/octeontx2: enable non-byte aligned data feature crypto/octeontx: enable non-byte aligned data feature Anoob Joseph (3): common/octeontx2: fix out of

[dpdk-dev] [PATCH 0/6] improvements to OCTEON TX crypto PMDs

2020-05-16 Thread Anoob Joseph
This series adds multiple optimizations and improvements to OCTEON TX crypto PMDs and OCTEON TX2 security support. Ankur Dwivedi (2): crypto/octeontx2: enable non-byte aligned data feature crypto/octeontx: enable non-byte aligned data feature Anoob Joseph (3): common/octeontx2: fix out of

[dpdk-dev] [PATCH 3/6] crypto/octeontx2: enable non-byte aligned data feature

2020-05-16 Thread Anoob Joseph
From: Ankur Dwivedi The OCTEON TX2 crypto PMD supports non-byte aligned data as input for SNOW and ZUC algos. Adding the same to the feature list. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph --- doc/guides/cryptodevs/features/octeontx2.ini | 1 + drivers/crypto/octeontx2/otx2_cry

[dpdk-dev] [PATCH 1/6] common/octeontx2: fix out of bounds access

2020-05-16 Thread Anoob Joseph
Coverity issue: 354230, 354231 Fixes: f44e71637755 ("net/octeontx2: add security session operations") Fixes: 3fe4d07d1678 ("crypto/octeontx2: enable CPT to share QP with ethdev") Signed-off-by: Anoob Joseph --- drivers/common/octeontx2/otx2_sec_idev.c | 4 ++-- 1 file changed, 2 insertions(+),

[dpdk-dev] [PATCH 5/6] crypto/octeontx: enable non-byte aligned data feature

2020-05-16 Thread Anoob Joseph
From: Ankur Dwivedi The OCTEON TX crypto PMD supports non-byte aligned data as input for SNOW and ZUC algos. Adding the same to the feature list. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph --- doc/guides/cryptodevs/features/octeontx.ini | 1 + drivers/crypto/octeontx/otx_cryptod

[dpdk-dev] [PATCH 2/6] net/octeontx2: increase max packet length for Inline IPsec Rx

2020-05-16 Thread Anoob Joseph
From: Tejasree Kondoj Update max packet length supported by Inline IPsec Rx to NIX_MAX_FRS Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/net/octeontx2/otx2_ethdev_sec.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/octeontx2/otx2_e

[dpdk-dev] [PATCH 4/6] crypto/octeontx2: improve error handling in session configure

2020-05-16 Thread Anoob Joseph
Session configure should return -ENOTSUP in case of unsupported xform requests. Moving the validation of combinations out of cpt, as the feature support will not be same across OCTEON TX and OCTEON TX2. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph --- drivers/crypto/octeontx2/otx2_c

[dpdk-dev] [PATCH 6/6] crypto/octeontx: redesign sym sessionless code path

2020-05-16 Thread Anoob Joseph
Cleanup sessionless code path and improve error handling. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph --- drivers/common/cpt/cpt_ucode.h | 75 -- drivers/crypto/octeontx/otx_cryptodev_ops.c | 209 +++- 2 files changed, 115 insertions(+)

Re: [dpdk-dev] Fwd: Re: [PATCH v2 2/2] net/bonding: fix MAC address when one port resets

2020-05-16 Thread Wei Hu (Xavier)
On 2020/5/16 16:59, Wei Hu (Xavier) wrote: Forwarded Message Subject: Re: [dpdk-dev] [PATCH v2 2/2] net/bonding: fix MAC address when one port resets Date: Fri, 15 May 2020 11:46:30 +0100 From: Ferruh Yigit To: Wei Hu (Xavier) , Chas Williams <3ch...@gmail.com> CC: dev

Re: [dpdk-dev] [PATCH v6] abi: provide experimental alias of API for old apps

2020-05-16 Thread Neil Horman
On Fri, May 15, 2020 at 04:01:53PM +0100, Ray Kinsella wrote: > From: Ferruh Yigit > > On v20.02 some APIs matured and symbols moved from EXPERIMENTAL to > DPDK_20.0.1 block. > > This had the affect of breaking the applications that were using these > APIs on v19.11. Although there is no modific

Re: [dpdk-dev] [PATCH v1 0/9] bug fixes for bnxt PMD

2020-05-16 Thread Ajit Khaparde
On Fri, May 15, 2020 at 11:45 AM Ajit Khaparde wrote: > Patchset with fixes. > The patch [1/9] enhances the log message in case of a FW command > timeout. The rest of the patches address a perf regression. > Recent commits caused a regression in performance because > bnxt structure became too bi

Re: [dpdk-dev] [PATCH v2 2/2] net/bonding: fix MAC address when one port resets

2020-05-16 Thread Wei Hu (Xavier)
On 2020/5/16 16:59, Wei Hu (Xavier) wrote: Forwarded Message Subject: Re: [dpdk-dev] [PATCH v2 2/2] net/bonding: fix MAC address when one port resets Date: Fri, 15 May 2020 11:46:30 +0100 From: Ferruh Yigit To: Wei Hu (Xavier) , Chas Williams <3ch...@gmail.com> CC: dev

Re: [dpdk-dev] [PATCH] doc: add required Linux capabilities in mlx5 guide

2020-05-16 Thread Moshe Levi
Hi Raslan, PSB > -Original Message- > From: Raslan Darawsheh > Sent: Thursday, May 14, 2020 11:24 AM > To: Thomas Monjalon ; dev@dpdk.org > Cc: Adrian Chiris ; Moshe Levi > ; Matan Azrad ; Shahaf > Shuler ; Slava Ovsiienko > ; John McNamara > ; Marko Kovacevic > > Subject: RE: [dpdk-dev

[dpdk-dev] incorrect vlan_tci in rte mbuf

2020-05-16 Thread Yan, Xiaoping (NSB - CN/Hangzhou)
Hi, I'm using i40e vf, dpdk 18.11, x86_64 CPU (rx function in use is i40e_recv_scattered_pkts_vec_avx2) When enable hw vlan strip: * If packet fit in one mbuf segment, the vlan_tci field is correct * If packets are stored in several mbuf segment, the vlan_tci of last segment is correct,

Re: [dpdk-dev] [PATCH] net/mlx5: fix left shift extension of doorbell bitmap

2020-05-16 Thread Matan Azrad
From: Bing Zhao: > The doorbell record is organized with page and bitmap. When some new > doorbell needs to be associated with a queue, the bit will be set in the > bitmap to indicate the corresponding doorbell occupied. A counter is used to > record the number of doorbell occupied to speed up th

Re: [dpdk-dev] [PATCH] net/mlx5: fix shared counter search with nested index

2020-05-16 Thread Matan Azrad
From: Suanming Mou: > Currently, the shared counter search uses the wrong nested index which is > used by the pool index. The incorrect nested index using causes the search > go to incorrect counter pool is not existed. > > Add the counter index to fix the incorrect nested use case. > > Fixes: