[dpdk-dev] [PATCH v3 12/13] crypto/dpaa2_sec: use aes-ctr initial counter as 1

2019-11-05 Thread Hemant Agrawal
From: Vakul Garg As per RFC3686, the initial aes-ctr counter value should be '1' for use in ipsec. The patches changes SEC descriptor for using correct counter value. In addition, it drops a redundant parameter for passing IV while creating the descriptor. Signed-off-by: Vakul Garg --- drivers

[dpdk-dev] [PATCH v3 11/13] crypto/dpaa_sec: use macros in queue attach and detach

2019-11-05 Thread Hemant Agrawal
From: Gagandeep Singh Align the cleanup and allocation for the queues. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa_sec/dpaa_sec.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.c b/drivers/crypto/dpaa_sec/dpaa_sec.c ind

[dpdk-dev] [PATCH v3 09/13] crypto/dpaa2_sec: enable warning with truncated sha256

2019-11-05 Thread Hemant Agrawal
This patch throw the warning when using truncted digest len for SHA256 case. Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 4 drivers/crypto/dpaa_sec/dpaa_sec.c | 4 2 files changed, 8 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpaa2

[dpdk-dev] [PATCH v3 08/13] test/cryptodev: enable additional cases for dpaax

2019-11-05 Thread Hemant Agrawal
This patch enables short buffer and 12 bit IV AES-CTR cases for dpaax_sec pmds. Signed-off-by: Vakul Garg Signed-off-by: Hemant Agrawal --- app/test/test_cryptodev_aes_test_vectors.h | 24 +++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/app/test/test_crypto

[dpdk-dev] [PATCH v3 10/13] crypto/dpaa2_sec: remove unwanted context type check

2019-11-05 Thread Hemant Agrawal
From: Gagandeep Singh This patch remove redundant checks. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 17 ++--- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_se

Re: [dpdk-dev] [PATCH] examples/l3fwd: use correct IP reserved address range

2019-11-05 Thread Hemant Agrawal
> -Original Message- > From: dev On Behalf Of Stephen Hemminger > Sent: Tuesday, November 5, 2019 9:39 PM > To: dev@dpdk.org > Cc: Stephen Hemminger ; Ferruh Yigit > > Subject: [dpdk-dev] [PATCH] examples/l3fwd: use correct IP reserved > address range > > The original patch used incorrec

[dpdk-dev] [PATCH v2] net/bnx2x: fix meson build failure

2019-11-05 Thread Rasesh Mody
Use kernel headers for __le* types to avoid potential conflicts resulting in redefinition errors for Linux build environments. Add check for FreeBSD execution environments. Without this fix, aarch64 builds can fail with error [1] below. [1] In file included from ../drivers/net/bnx2x/bnx2x.h:22,

[dpdk-dev] [PATCH] net/ice/base: fix wrong ptype bitmap for GRE

2019-11-05 Thread Qi Zhang
The ptype bitmap calculation for GRE packet is modified by misktake due to commit: fc845a9d78ce ("net/ice/base: fix ptype mapping pollution from GTP flow") which is target for GTP packet. The patch rollback that part of code. Fixes: fc845a9d78ce ("net/ice/base: fix ptype mapping pollution from GTP

Re: [dpdk-dev] [PATCH v6 00/12] lib: add RIB and FIB liraries

2019-11-05 Thread David Marchand
On Wed, Nov 6, 2019 at 12:14 AM Thomas Monjalon wrote: > > 01/11/2019 16:21, Vladimir Medvedkin: > > This is heavily reworked version of previous RIB library series: > > https://mails.dpdk.org/archives/dev/2018-April/099492.html > > > > app/test/Makefile | 7 + > > app/test/aut

[dpdk-dev] [PATCH v2] net/ice/base: fix wrong ptype bitmap for GRE

2019-11-05 Thread Qi Zhang
The ptype bitmap calculation for GRE packet is modified by misktake due to commit: fc845a9d78ce ("net/ice/base: fix ptype mapping pollution from GTP flow") which is target for GTP packet. The patch rollback that part of code. Fixes: fc845a9d78ce ("net/ice/base: fix ptype mapping pollution from GTP

[dpdk-dev] [PATCH v2] net/i40e: fix device hotplug remove

2019-11-05 Thread Di ChenxuX
testpmd will occur infinite loops when device hotplug remove. We can fix the issue by using the pci generic remove function Fixes: ac89d46096d5 ("net/i40e: release port upon close") Signed-off-by: Di ChenxuX v2: change the code in driver. --- drivers/net/i40e/i40e_ethdev.c | 12 +--- 1

[dpdk-dev] [PATCH] net/ixgbe: fix device hotplug remove

2019-11-05 Thread Di ChenxuX
testpmd will occur infinite loops when device hotplug remove. We can fix the issue by using the pci generic remove function Fixes: f2f4990eff94 ("net/ixgbe: release port upon close") Signed-off-by: Di ChenxuX --- drivers/net/ixgbe/ixgbe_ethdev.c | 11 +-- 1 file changed, 1 insertion(+),

[dpdk-dev] [PATCH v2] net/ice/base: fix wrong ptype bitmap for GRE

2019-11-05 Thread Qi Zhang
The ptype bitmap calculation for GRE packet is modified by misktake due to commit: fc845a9d78ce ("net/ice/base: fix ptype mapping pollution from GTP flow") which is target for GTP packet. The patch rollback that part of code. Fixes: fc845a9d78ce ("net/ice/base: fix ptype mapping pollution from GTP

[dpdk-dev] [PATCH v3] net/ice/base: fix wrong ptype bitmap for GRE

2019-11-05 Thread Qi Zhang
The ptype bitmap calculation for GRE packet is modified by misktake due to commit fc845a9d78ce ("net/ice/base: fix ptype mapping pollution from GTP flow") which is target for GTP packet. The patch rollback that part of code. Fixes: fc845a9d78ce ("net/ice/base: fix ptype mapping pollution from GTP

[dpdk-dev] 答复: [PATCH v2] bus/pci: resolve multiple NICs address conflicts

2019-11-05 Thread Wangyu (Eric)
In 64K pagesize system, DPDK will read the size NIC need in uio/uio1/maps/map1/size, when the size small than pagesize(e.g.,82599 is 16K), dev->mem_resource[i].len will be 16K, but the mmap function applies for at least 1 page size, which is 64K. Then second NIC mmap, start address is first N

Re: [dpdk-dev] [PATCH 1/2] ethdev: add flow action type update as an offload

2019-11-05 Thread Andrew Rybchenko
On 11/5/19 7:37 PM, Ori Kam wrote: > > >> -Original Message- >> From: Andrew Rybchenko >> Sent: Tuesday, November 5, 2019 1:31 PM >> To: Ori Kam ; Thomas Monjalon >> >> Cc: dev@dpdk.org; pbhagavat...@marvell.com; ferruh.yi...@intel.com; >> jer...@marvell.com; John McNamara ; Marko >> Ko

Re: [dpdk-dev] [PATCH] net/octeontx2: fix compilation with x86_x32

2019-11-05 Thread Jerin Jacob
On Wed, Nov 6, 2019 at 6:13 AM Gavin Hu (Arm Technology China) wrote: > > Reviewed-by: Gavin Hu Applied to dpdk-next-net-mrvl/master. Thanks

Re: [dpdk-dev] [PATCH v1 1/1] net/octeontx2: add SDP interface support

2019-11-05 Thread Jerin Jacob
On Wed, Oct 30, 2019 at 7:38 PM Subrahmanyam Nilla wrote: > > System DPI Packet Interface Unit (SDP) is a co-processor > of OCTEON TX2 which provides PCIe endpoint support for a > remote host to DMA packets into and out of the OCTEON TX2 SoC. > SDP interface comes in to live only when it is connec

[dpdk-dev] [PATCH v6 1/3] security: add anti replay window size

2019-11-05 Thread Hemant Agrawal
At present the ipsec xfrom is missing the important step to configure the anti replay window size. The newly added field will also help in to enable or disable the anti replay checking, if available in offload by means of non-zero or zero value. Signed-off-by: Hemant Agrawal Acked-by: Konstantin

[dpdk-dev] [PATCH v6 3/3] crypto/dpaa2_sec: enable anti replay window config

2019-11-05 Thread Hemant Agrawal
This patch usages the anti replay window size to config the anti replay checking in decap path for lookaside IPSEC offload Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 21 + drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 6 -- drivers/c

[dpdk-dev] [PATCH v6 2/3] ipsec: remove redundant replay_win_sz

2019-11-05 Thread Hemant Agrawal
The rte_security lib has introduced replay_win_sz, so it can be removed from the rte_ipsec lib. The relaved tests,app are also update to reflect the usages. Note that esn and anti-replay fileds were earlier used only for ipsec library, they were enabling the libipsec by default. With this change

Re: [dpdk-dev] [PATCH v15 3/7] ethdev: add validation to offloads set by PMD

2019-11-05 Thread Matan Azrad
From: Andrew Rybchenko > On 11/5/19 5:05 PM, Matan Azrad wrote: > > From: Andrew Rybchenko > >> On 11/3/19 6:16 PM, Matan Azrad wrote > >>> From: Andrew Rybchenko > On 11/3/19 9:57 AM, Matan Azrad wrote: > > Hi > > > > From: Andrew Rybchenko > >> On 10/31/19 7:33 PM, Pavan Ni

Re: [dpdk-dev] [PATCH v6 2/3] ipsec: remove redundant replay_win_sz

2019-11-05 Thread Akhil Goyal
Hi Konstantin, I had requested some changes in v5 which are there in this patch. Could you please review this again? I plan to merge it today. Thanks, Akhil > The rte_security lib has introduced replay_win_sz, > so it can be removed from the rte_ipsec lib. > > The relaved tests,app are also upd

Re: [dpdk-dev] [PATCH v6 3/3] crypto/dpaa2_sec: enable anti replay window config

2019-11-05 Thread Akhil Goyal
> > This patch usages the anti replay window size to config > the anti replay checking in decap path for lookaside > IPSEC offload > > Signed-off-by: Hemant Agrawal > --- Acked-by: Akhil Goyal

[dpdk-dev] [PATCH] net/ice: fix segmentation fault for RSS init

2019-11-05 Thread Simei Su
This patch fixes core dump issue when entering safe mode with a wrong package file. Fixes: 5ad3db8d4bdd ("net/ice: enable advanced RSS") Signed-off-by: Simei Su --- drivers/net/ice/ice_hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ice/ice_hash.c b/driver

[dpdk-dev] [PATCH] crypto/dpaa2_sec: add retry timeout in packet enqueue API

2019-11-05 Thread Nipun Gupta
This patch adds retry in the DPAA2 SEC packet enqueue API Signed-off-by: Nipun Gupta --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 27 +++-- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/

Re: [dpdk-dev] [PATCH v2] bus/pci: resolve multiple NICs address conflicts

2019-11-05 Thread David Marchand
On Wed, Nov 6, 2019 at 7:16 AM Wangyu (Eric) wrote: > > > In 64K pagesize system, DPDK will read the size NIC need in > uio/uio1/maps/map1/size, when the size small than pagesize(e.g.,82599 is > 16K), dev->mem_resource[i].len will be 16K, but the mmap function applies for > at least 1 page siz

Re: [dpdk-dev] [PATCH 1/2] ethdev: add flow action type update as an offload

2019-11-05 Thread Ori Kam
> -Original Message- > From: Andrew Rybchenko > Sent: Wednesday, November 6, 2019 8:41 AM > To: Ori Kam ; Thomas Monjalon > > Cc: dev@dpdk.org; pbhagavat...@marvell.com; ferruh.yi...@intel.com; > jer...@marvell.com; John McNamara ; Marko > Kovacevic ; Adrien Mazarguil > ; david.march...

Re: [dpdk-dev] [EXT] [PATCH v3 1/1] test/compress: unit tests refactoring

2019-11-05 Thread Akhil Goyal
Hi Artur, > > > -- > > > Core engine refactoring (test_deflate_comp_decomp function). > > > Smaller specialized functions created. > > > > > > Signed-off-by: Artur Trybula > > > --- Could you please close these comments by today?

Re: [dpdk-dev] [PATCH] net/mlx5: introduce mlx5 hash list

2019-11-05 Thread Bing Zhao
Hi Stephen, Many thanks for your reviewing and comments. PSB. BR. Bing > -Original Message- > From: Stephen Hemminger > Sent: Wednesday, November 6, 2019 1:25 AM > To: Bing Zhao > Cc: Ori Kam ; Slava Ovsiienko > ; Raslan Darawsheh > ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] net/m

Re: [dpdk-dev] [PATCH v6 00/12] lib: add RIB and FIB liraries

2019-11-05 Thread Thomas Monjalon
06/11/2019 06:50, David Marchand: > On Wed, Nov 6, 2019 at 12:14 AM Thomas Monjalon wrote: > > Applied, thanks > > The added tests are timeouting: > https://travis-ci.com/DPDK/dpdk/jobs/253293904 > 47/86 DPDK:fast-tests / rib_autotest TIMEOUT 30.01 s > 48/86 DPDK:fast-tests / rib6_autote

<    1   2   3