[dpdk-dev] [PATCH 3/3] crypto/snow3g: use IPSec library

2019-12-11 Thread Pablo de Lara
Link against Intel IPSec Multi-buffer library, which added support for SNOW3G-UEA2 and SNOW3G-UIA2 from version v0.53, moving from libSSO SNOW3G library. Signed-off-by: Pablo de Lara --- devtools/test-build.sh | 4 +- doc/guides/cryptodevs/snow3g.rst | 58 +

[dpdk-dev] [PATCH] maintainers: update for OCTEONTX

2019-12-11 Thread jerinj
From: Jerin Jacob Harman thankfully accepted to replace myself as maintainer for OCTEONTX ethdev PMD. Signed-off-by: Jerin Jacob --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 4395d8df1..55b7a57ff 100644 --- a/MAINTAINERS +++

Re: [dpdk-dev] [PATCH v2 0/2] Handle mixed algorithms on GEN3 QAT

2019-12-11 Thread Trahe, Fiona
> -Original Message- > From: Dybkowski, AdamX > Sent: Wednesday, December 11, 2019 2:10 PM > To: dev@dpdk.org; Trahe, Fiona ; akhil.go...@nxp.com; > Kusztal, ArkadiuszX > > Cc: Dybkowski, AdamX > Subject: [PATCH v2 0/2] Handle mixed algorithms on GEN3 QAT > > v2: > * Added release n

Re: [dpdk-dev] How to manage new APIs added after major ABI release?

2019-12-11 Thread Neil Horman
On Wed, Dec 11, 2019 at 01:30:07PM +, Ferruh Yigit wrote: > On 12/11/2019 1:11 PM, Neil Horman wrote: > > On Tue, Dec 10, 2019 at 11:56:28AM +, Ferruh Yigit wrote: > >> Hi, > >> > >> With new process, the major ABI releases will be compatible until it is > >> deprecated (until next LTS for

[dpdk-dev] [PATCH v3 0/4] Add dual threading in QAT PMD

2019-12-11 Thread Arek Kusztal
Remove the limitation whereby enqueue and dequeue must be done in same thread. The inflight calculation is reworked to be thread-safe for 2 threads - note this is not general multi-thread support, i.e all enqueues to a qp must still be done in one thread and all dequeues must be done in one thread,

[dpdk-dev] [PATCH v3 3/4] common/qat: add dual thread support

2019-12-11 Thread Arek Kusztal
From: Fiona Trahe Remove the limitation whereby enqueue and dequeue must be done in same thread. The inflight calculation is reworked to be thread-safe for 2 threads - note this is not general multi-thread support, i.e all enqueues to a qp must still be done in one thread and all dequeues must be

[dpdk-dev] [PATCH v3 2/4] common/qat: move max inflights param into qp

2019-12-11 Thread Arek Kusztal
From: Fiona Trahe The max_inflights parameter is moved from qat_queue to qat_qp as it's a more appropriate location. Signed-off-by: Fiona Trahe Signed-off-by: Arek Kusztal --- drivers/common/qat/qat_qp.c | 23 --- drivers/common/qat/qat_qp.h | 2 +- 2 files changed, 13 in

[dpdk-dev] [PATCH v3 1/4] common/qat: remove tail write coalescing feature

2019-12-11 Thread Arek Kusztal
From: Fiona Trahe The feature Coalescing Tail Writes on Enqueue is removed as it is not thread-safe and a dual-thread feature will be added shortly. Signed-off-by: Fiona Trahe Signed-off-by: Arek Kusztal --- drivers/common/qat/qat_qp.c | 16 +++- drivers/common/qat/qat_qp.h | 6 -

[dpdk-dev] [PATCH v3 4/4] crypto/qat: add minimum enq threshold to qat pmd

2019-12-11 Thread Arek Kusztal
This patch adds minimum enqueue threshold to Intel QuickAssist Technology PMD. It is an optimisation, configured by a command line option, which can be used to reduce MMIO write occurrences. Signed-off-by: Fiona Trahe Signed-off-by: Arek Kusztal --- doc/guides/cryptodevs/qat.rst | 18

Re: [dpdk-dev] [PATCH v3 0/4] Add dual threading in QAT PMD

2019-12-11 Thread Trahe, Fiona
> -Original Message- > From: Kusztal, ArkadiuszX > Sent: Wednesday, December 11, 2019 2:50 PM > To: dev@dpdk.org > Cc: akhil.go...@nxp.com; Trahe, Fiona ; Doherty, Declan > ; Kusztal, ArkadiuszX > Subject: [PATCH v3 0/4] Add dual threading in QAT PMD > > Remove the limitation whereby

Re: [dpdk-dev] How to manage new APIs added after major ABI release?

2019-12-11 Thread Thomas Monjalon
11/12/2019 14:30, Ferruh Yigit: > On 12/11/2019 1:11 PM, Neil Horman wrote: > > On Tue, Dec 10, 2019 at 11:56:28AM +, Ferruh Yigit wrote: > >> Hi, > >> > >> With new process, the major ABI releases will be compatible until it is > >> deprecated (until next LTS for now), > >> like current ABI ve

[dpdk-dev] [PATCH v2] build: fix soname info for 19.11 compatiblity

2019-12-11 Thread Bruce Richardson
The soname for each stable ABI version should be just the ABI version major number without the minor number. Unfortunately both major and minor were used causing version 20.1 to be incompatible with 20.0. This patch fixes the issue by switching from 2-part to 3-part ABI version numbers so that we

Re: [dpdk-dev] How to manage new APIs added after major ABI release?

2019-12-11 Thread Bruce Richardson
On Wed, Dec 11, 2019 at 04:02:16PM +0100, Thomas Monjalon wrote: > 11/12/2019 14:30, Ferruh Yigit: > > On 12/11/2019 1:11 PM, Neil Horman wrote: > > > On Tue, Dec 10, 2019 at 11:56:28AM +, Ferruh Yigit wrote: > > >> Hi, > > >> > > >> With new process, the major ABI releases will be compatible u

Re: [dpdk-dev] [PATCH] maintainers: update for OCTEONTX

2019-12-11 Thread Harman Kalra
On Wed, Dec 11, 2019 at 07:53:42PM +0530, jer...@marvell.com wrote: > From: Jerin Jacob > > Harman thankfully accepted to replace myself as maintainer for OCTEONTX > ethdev PMD. > Acked-by: Harman Kalra > Signed-off-by: Jerin Jacob > --- > MAINTAINERS | 2 +- > 1 file changed, 1 insertion(+)

Re: [dpdk-dev] How to manage new APIs added after major ABI release?

2019-12-11 Thread Ferruh Yigit
On 12/11/2019 2:34 PM, Neil Horman wrote: > On Wed, Dec 11, 2019 at 01:30:07PM +, Ferruh Yigit wrote: >> On 12/11/2019 1:11 PM, Neil Horman wrote: >>> On Tue, Dec 10, 2019 at 11:56:28AM +, Ferruh Yigit wrote: Hi, With new process, the major ABI releases will be compatible unt

Re: [dpdk-dev] [PATCH v2 1/7] net/fm10k: add i2c sbus registers definition

2019-12-11 Thread Jerin Jacob
On Wed, Dec 11, 2019 at 3:22 PM Xiaojun Liu wrote: > > To support switch management, add the following files: > Add fm10k/switch/fm10k_debug.h(define log Macros). > Add fm10k/switch/fm10k_regs.h(define all the registers). > Add fm10k/switch/fm10k_switch.h(define switch Macros and APIs). > Add fm10

Re: [dpdk-dev] How to manage new APIs added after major ABI release?

2019-12-11 Thread Ferruh Yigit
On 12/11/2019 3:02 PM, Thomas Monjalon wrote: > 11/12/2019 14:30, Ferruh Yigit: >> On 12/11/2019 1:11 PM, Neil Horman wrote: >>> On Tue, Dec 10, 2019 at 11:56:28AM +, Ferruh Yigit wrote: Hi, With new process, the major ABI releases will be compatible until it is deprecated (

[dpdk-dev] [PATCH] test/compress: add cycle-count mode to the perf tool

2019-12-11 Thread Artur Trybula
This commit adds cycle-count mode to the compression perf tool. The new mode enhances the compression performance tool to allow cycle-count measurement of both hardware and softwate PMDs. Signed-off-by: Artur Trybula --- app/test-compress-perf/Makefile | 3 +- app/test-compress-p

[dpdk-dev] BCM57414 VF Mode: max_rx_em_flows value is inconsistent

2019-12-11 Thread Christophe Grosse
Hello, I am using DPDK 18.11.5 from dpdk-stable repository with a Broadcom network adapter in VF mode : Broadcom Limited BCM57414 NetXtreme-E 10Gb/25Gb RDMA Ethernet Controller (rev 01) # ./bnxtnvm listdev Broadcom P225p NetXtreme-E Dual-port 10Gb/25Gb Ethernet PCIe Adapter #1 Device Interface N

Re: [dpdk-dev] How to manage new APIs added after major ABI release?

2019-12-11 Thread Bruce Richardson
On Wed, Dec 11, 2019 at 03:46:10PM +, Ferruh Yigit wrote: > On 12/11/2019 3:02 PM, Thomas Monjalon wrote: > > 11/12/2019 14:30, Ferruh Yigit: > >> On 12/11/2019 1:11 PM, Neil Horman wrote: > >>> On Tue, Dec 10, 2019 at 11:56:28AM +, Ferruh Yigit wrote: > Hi, > > With new proc

[dpdk-dev] [PATCH 0/1] Refactor crypto unit tests.

2019-12-11 Thread Adam Dybkowski
This patch is a first step to refactor the overly complex symmetric crypto unit tests. It merges many separate arrays of the tests for these PMDs: null, aesni_mb, aesni_gcm, openssl, qat, sw_snow3g, sw_kasumi, sw_zuc into one big array that's then used when running unit tests on these PMDs. Indivi

[dpdk-dev] [PATCH 2/4] examples/ipsec-secgw: implement inbound SAD

2019-12-11 Thread Vladimir Medvedkin
Add initial support for librte_ipsec SAD library Signed-off-by: Vladimir Medvedkin --- examples/ipsec-secgw/ipsec.h | 11 ++ examples/ipsec-secgw/sad.c | 90 examples/ipsec-secgw/sad.h | 74 3 files changed

[dpdk-dev] [PATCH 1/4] ipsec: move ipsec sad name length into .h

2019-12-11 Thread Vladimir Medvedkin
Move IPSEC_SAD_NAMESIZE into public header and rename it to RTE_IPSEC_SAD_NAMESIZE Signed-off-by: Vladimir Medvedkin --- lib/librte_ipsec/ipsec_sad.c | 20 ++-- lib/librte_ipsec/rte_ipsec_sad.h | 2 ++ 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/lib/libr

[dpdk-dev] [PATCH 3/4] examples/ipsec-secgw: integrate inbound SAD

2019-12-11 Thread Vladimir Medvedkin
Integrate ipsec SAD support into secgw app: 1. Use SAD library for inbound SA lookup 2. Changes in struct sa_ctx: - sa array allocates dynamically depending on number of configured sa - All SA's are kept one by one without using SPI2IDX 3. SP's userdata now contain index of SA in sa_ctx instea

[dpdk-dev] [PATCH 4/4] examples/ipsec-secgw: get rid of maximum sa limitation

2019-12-11 Thread Vladimir Medvedkin
Parse config file and save SA's into linked list instead of flat array with predefined size. Signed-off-by: Vladimir Medvedkin --- examples/ipsec-secgw/sa.c | 78 +-- 1 file changed, 48 insertions(+), 30 deletions(-) diff --git a/examples/ipsec-secgw/

Re: [dpdk-dev] How to manage new APIs added after major ABI release?

2019-12-11 Thread Ferruh Yigit
On 12/11/2019 3:55 PM, Bruce Richardson wrote: > On Wed, Dec 11, 2019 at 03:46:10PM +, Ferruh Yigit wrote: >> On 12/11/2019 3:02 PM, Thomas Monjalon wrote: >>> 11/12/2019 14:30, Ferruh Yigit: On 12/11/2019 1:11 PM, Neil Horman wrote: > On Tue, Dec 10, 2019 at 11:56:28AM +, Ferruh Y

Re: [dpdk-dev] [PATCH] ethdev: add L2TPv3 header to flow API

2019-12-11 Thread Sexton, Rory
Hi Ori, See comments below. Regards, Rory > > > > > > +/** > > > > > > + * RTE_FLOW_ITEM_TYPE_L2TPV3. > > > > > > + * > > > > > > + * Matches a L2TPv3 header. > > > > > > + */ > > > > > > +struct rte_flow_item_l2tpv3 { > > > > > > + rte_be32_t session_id; /**< Session ID. */ }; > > > > > > > >

Re: [dpdk-dev] [PATCH v5] build: add dockerfile for building docker image

2019-12-11 Thread Halim, Abdul
> -Original Message- > From: Ruifeng Wang (Arm Technology China) > Sent: Wednesday, December 11, 2019 6:45 AM > To: Halim, Abdul ; dev@dpdk.org > Cc: Kinsella, Ray ; yasufu...@gmail.com; nd > > Subject: RE: [PATCH v5] build: add dockerfile for building docker image > > > > -Origi

[dpdk-dev] [PATCH v6] build: add dockerfile for building docker image

2019-12-11 Thread Abdul Halim
Adding a Dockerfile with Ubuntu bionic base image to build dpdk as shared library. This docker image could be used as base image to build and run dpdk applications in containers. Signed-off-by: Abdul Halim --- v2: * renamed Dockerfile name from Dockerfile.ubuntu to Dockerfile.bionic * added

Re: [dpdk-dev] [PATCH 1/4] ipsec: move ipsec sad name length into .h

2019-12-11 Thread Medvedkin, Vladimir
Self NACK for series Forgot cover letter, will resend again. On 11/12/2019 16:13, Vladimir Medvedkin wrote: Move IPSEC_SAD_NAMESIZE into public header and rename it to RTE_IPSEC_SAD_NAMESIZE Signed-off-by: Vladimir Medvedkin --- lib/librte_ipsec/ipsec_sad.c | 20 ++-- l

[dpdk-dev] [PATCH 0/4] integrate librte_ipsec SAD into ipsec-secgw

2019-12-11 Thread Vladimir Medvedkin
This series integrates SA database (SAD) capabilities from ipsec library. The goal is to make ipsec-secgw RFC compliant regarding inbound SAD. Also patch series removes hardcoded limitation for maximum number of SA's. Vladimir Medvedkin (4): ipsec: move ipsec sad name length into .h examples/i

[dpdk-dev] [PATCH 1/4] ipsec: move ipsec sad name length into .h

2019-12-11 Thread Vladimir Medvedkin
Move IPSEC_SAD_NAMESIZE into public header and rename it to RTE_IPSEC_SAD_NAMESIZE Signed-off-by: Vladimir Medvedkin --- lib/librte_ipsec/ipsec_sad.c | 20 ++-- lib/librte_ipsec/rte_ipsec_sad.h | 2 ++ 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/lib/libr

[dpdk-dev] [PATCH 2/4] examples/ipsec-secgw: implement inbound SAD

2019-12-11 Thread Vladimir Medvedkin
Add initial support for librte_ipsec SAD library Signed-off-by: Vladimir Medvedkin --- examples/ipsec-secgw/ipsec.h | 11 ++ examples/ipsec-secgw/sad.c | 90 examples/ipsec-secgw/sad.h | 74 3 files changed

[dpdk-dev] [PATCH 3/4] examples/ipsec-secgw: integrate inbound SAD

2019-12-11 Thread Vladimir Medvedkin
Integrate ipsec SAD support into secgw app: 1. Use SAD library for inbound SA lookup 2. Changes in struct sa_ctx: - sa array allocates dynamically depending on number of configured sa - All SA's are kept one by one without using SPI2IDX 3. SP's userdata now contain index of SA in sa_ctx instea

[dpdk-dev] [PATCH 4/4] examples/ipsec-secgw: get rid of maximum sa limitation

2019-12-11 Thread Vladimir Medvedkin
Parse config file and save SA's into linked list instead of flat array with predefined size. Signed-off-by: Vladimir Medvedkin --- examples/ipsec-secgw/sa.c | 78 +-- 1 file changed, 48 insertions(+), 30 deletions(-) diff --git a/examples/ipsec-secgw/

Re: [dpdk-dev] [PATCH v5] build: add dockerfile for building docker image

2019-12-11 Thread Ray Kinsella
On 11/12/2019 10:53, Halim, Abdul wrote: > > >> -Original Message- >> From: Ray Kinsella >> Sent: Tuesday, December 10, 2019 5:45 PM >> To: dev@dpdk.org; Halim, Abdul >> Subject: Re: [dpdk-dev] [PATCH v5] build: add dockerfile for building docker >> image >> >> >> >> On 10/12/2019 13

[dpdk-dev] [RFC v2] mlx5/net: hint PMD not to inline packet

2019-12-11 Thread Viacheslav Ovsiienko
Some PMDs inline the mbuf data buffer directly to device transmit descriptor. This is in order to save the overhead of the PCI headers imposed when the device DMA reads the data by buffer pointer. For some devices it is essential in order to provide the full bandwidth. However, there are cases whe

Re: [dpdk-dev] [PATCH] ethdev: allow multiple security sessions to use one rte flow

2019-12-11 Thread Anoob Joseph
Hi Konstantin, Please see inline. Thanks, Anoob > -Original Message- > From: dev On Behalf Of Ananyev, Konstantin > Sent: Wednesday, December 11, 2019 4:36 PM > To: Anoob Joseph ; Akhil Goyal ; > Adrien Mazarguil ; Doherty, Declan > ; Yigit, Ferruh ; Jerin > Jacob > Kollanukkaran ; Tho

Re: [dpdk-dev] BCM57414 VF Mode: max_rx_em_flows value is inconsistent

2019-12-11 Thread Ajit Khaparde
On Wed, Dec 11, 2019 at 7:57 AM Christophe Grosse < christophe.gro...@6wind.com> wrote: > Hello, > > I am using DPDK 18.11.5 from dpdk-stable repository with a Broadcom > network adapter in VF mode : > Broadcom Limited BCM57414 NetXtreme-E 10Gb/25Gb RDMA Ethernet > Controller (rev 01) > # ./bnxtnv

[dpdk-dev] [PATCH v4 2/3] build: add abi checks to meson

2019-12-11 Thread Kevin Laatz
This patch adds a script to generate ABI dump files. These files will be required to perform ABI compatibility checks during the build later in the patchset. This script should be run on a DPDK version with a stable ABI. Since this is a tool designed for human use, we simplify it to just work off

[dpdk-dev] [PATCH v4 3/3] build: clean up experimental syms check

2019-12-11 Thread Kevin Laatz
This patch cleans up the meson build files in lib and drivers by moving the custom target for checking the experimental syms next to the abi compat checks. This also removes the dependency on the check for the shared build, which was not required by anything, but was only added to force the experim

[dpdk-dev] [PATCH v4 0/3] Add ABI compatibility checks to the meson build

2019-12-11 Thread Kevin Laatz
With the recent changes made to stabilize ABI versioning in DPDK, it will become increasingly important to check patches for ABI compatibility. We propose adding the ABI compatibility checking to be done as part of the build. The advantages to adding the ABI compatibility checking to the build are

[dpdk-dev] [PATCH] eal/linux: fix build when VFIO is disabled

2019-12-11 Thread Ali Alnubani
The header linux/version.h isn't included when CONFIG_RTE_EAL_VFIO is explicitly disabled. LINUX_VERSION_CODE and KERNEL_VERSION are therefore undefined, causing the build failure: lib/librte_eal/linux/eal/eal.c: In function ‘rte_eal_init’: lib/librte_eal/linux/eal/eal.c:1076:32: error: "LINUX

[dpdk-dev] [PATCH] app/test-fib: add test-fib application

2019-12-11 Thread Vladimir Medvedkin
Introduce new application to provide user to evaluate and perform custom functional and performance tests for FIB library. Signed-off-by: Vladimir Medvedkin --- app/test-fib/Makefile| 21 + app/test-fib/main.c | 1262 ++ app/test-fib/meson.b

Re: [dpdk-dev] RFC - adding filter to packet capture API

2019-12-11 Thread Morten Brørup
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ananyev, Konstantin > Sent: Monday, December 9, 2019 2:42 PM > > > In the process of updating packet capture to take a filter program, there > > is one open question about API/ABI. > > > > The example is: > > > >

Re: [dpdk-dev] [PATCH] net/i40e: Add new customized pctype for l2tpv3

2019-12-11 Thread Xing, Beilei
> -Original Message- > From: Sexton, Rory > Sent: Wednesday, December 4, 2019 6:11 AM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Xing, Beilei ; > Sexton, Rory ; adrien.mazarg...@6wind.com; Jagus, > DariuszX > Subject: [PATCH] net/i40e: Add new customized pctype for l2tpv3 It's not only add

Re: [dpdk-dev] [PATCH] maintainers: adjust maintainership of intel tree

2019-12-11 Thread Zhang, Qi Z
> -Original Message- > From: dev On Behalf Of Xiaolong Ye > Sent: Wednesday, December 11, 2019 5:13 PM > To: Thomas Monjalon > Cc: dev@dpdk.org; Ye, Xiaolong > Subject: [dpdk-dev] [PATCH] maintainers: adjust maintainership of intel tree > > Currently I am the major committer of dpdk-

[dpdk-dev] [PATCH v3] doc: introduce openwrt how-to guide

2019-12-11 Thread Xiaolong Ye
This doc describes how to enable DPDK on openwrt in both virtual and physical x86 environment. Signed-off-by: Xiaolong Ye --- V3 changes: 1. emphasize target select in `OpenWrt configuration` section v2 changes: 1. add meson build steps for dpdk 2. replace steps about build openwrt and runnin

[dpdk-dev] [PATCH] net/ixgbe: fixed port can not link up in FreeBSD

2019-12-11 Thread Lunyuan Cui
In FreeBSD environment, nic_uio drivers do not support interrupts, rte_intr_callback_register() will fail to register interrupts. We can not make link status to change from down to up by interrupt callback. So we need to wait for the controller to acquire link when ports start. Through multiple tes

[dpdk-dev] Question regarding device reset handling with igb_uio

2019-12-11 Thread Santoshkumar Karanappa Rastapur
Hi, I have a question related to igb_uio. (I have also opened a bug for this https://bugs.dpdk.org/show_bug.cgi?id=361 ). >From the below function call traces, vfio-pci module frees/allocates msi-x vector table as part of interrupt disable/enable. Where as igb-uio module, only masks/unmasks t

Re: [dpdk-dev] [PATCH 04/14] examples/ipsec-secgw: add Rx adapter support

2019-12-11 Thread Anoob Joseph
Hi Akhil, Please see inline. Thanks, Anoob > -Original Message- > From: Akhil Goyal > Sent: Wednesday, December 11, 2019 5:04 PM > To: Anoob Joseph ; Radu Nicolau > ; Thomas Monjalon > Cc: Jerin Jacob Kollanukkaran ; Narayana Prasad Raju > Athreya ; Ankur Dwivedi ; > Archana Muniganti

[dpdk-dev] [PATCH] net/iavf: fix Rx total stats

2019-12-11 Thread Jiaqi Min
Rx total statistics error when packets above the jumbo frame. The patch fixed the issue. Fixes: f4a41a6953af ("net/avf: support stats") Cc: sta...@dpdk.org Signed-off-by: Jiaqi Min --- drivers/net/iavf/iavf_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net

Re: [dpdk-dev] [PATCH v6] build: add dockerfile for building docker image

2019-12-11 Thread Ruifeng Wang (Arm Technology China)
> -Original Message- > From: Abdul Halim > Sent: Thursday, December 12, 2019 00:39 > To: dev@dpdk.org > Cc: ray.kinse...@intel.com; yasufu...@gmail.com; Ruifeng Wang (Arm > Technology China) ; Abdul Halim > > Subject: [PATCH v6] build: add dockerfile for building docker image > > Adding

Re: [dpdk-dev] [PATCH] net/ena: initialize PCI info in eth_ena_dev_init

2019-12-11 Thread Michał Krawczyk
wt., 10 gru 2019 o 23:37 David Harton napisał(a): > > Network drivers were originally modified to initialize PCI info with > commit eeefe73f0af1 ("drivers: copy PCI device info to ethdev data"). > Modifying net/ena to conform. > > Signed-off-by: David Harton Acked-by: Michal Krawczyk > --- > d

Re: [dpdk-dev] [PATCH] net/ice: fix packet type table

2019-12-11 Thread Ye Xiaolong
On 12/10, Shougang Wang wrote: >According to comms package, index 94 should be MAC_IPV6_ICMP, >not MAC_IPV4_ICMP. This patch fix the issue. > >Fixes: 4cf29798b4c9 ("net/ice: fix packet type table") >Cc: sta...@dpdk.org > >Signed-off-by: Shougang Wang >--- > drivers/net/ice/ice_rxtx.c | 2 +- > 1 fi

[dpdk-dev] [PATCH] maintainers: adjust maintainership of intel tree

2019-12-11 Thread Xiaolong Ye
Currently I am the major committer of dpdk-next-net-intel tree. Signed-off-by: Xiaolong Ye --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 4395d8df1..1bbbf13d7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -37,8 +37,8 @@ M: Ajit

Re: [dpdk-dev] [PATCH 1/9] app/testpmd: parse flow command line for ESP

2019-12-11 Thread Iremonger, Bernard
Hi Ori, > > Subject: [dpdk-dev] [PATCH 1/9] app/testpmd: parse flow command line > > for ESP > > > > add ITEM_ESP > > add ITEM_ESP_SPI > > add debug to cmdline_flow.c > > improve debug in config.c > > > > Signed-off-by: Bernard Iremonger > > --- > > app/test-pmd/cmdline_flow.c | 37 > > +++

[dpdk-dev] [PATCH v2 0/7] support switch management

2019-12-11 Thread Xiaojun Liu
To avoid configuration for both kernel driver and userspace SDK outside DPDK, we add switch management in FM10K DPDK PMD driver. To enable switch management, you need add CONFIG_RTE_FM10K_MANAGEMENT=y in config/common_linux when building. Xiaojun Liu (7): net/fm10k: add i2c sbus registers defin

[dpdk-dev] [PATCH v2 5/7] net/fm10k: add switch initialization

2019-12-11 Thread Xiaojun Liu
Modify fm10k/fm10k_ethdev.c. Split dev init to 2 parts. First only register the port in switch management; second init hook will be called after all the pf are registered and switch initialization. It will finish dev init. Also add switch interrupt support. To avoid configuration for both kernel d

[dpdk-dev] [PATCH v2 1/7] net/fm10k: add i2c sbus registers definition

2019-12-11 Thread Xiaojun Liu
To support switch management, add the following files: Add fm10k/switch/fm10k_debug.h(define log Macros). Add fm10k/switch/fm10k_regs.h(define all the registers). Add fm10k/switch/fm10k_switch.h(define switch Macros and APIs). Add fm10k/switch/fm10k_i2c.h(define I2C interfaces). Add fm10k/switch/fm

[dpdk-dev] [PATCH v2 4/7] net/fm10k: add flow and switch management

2019-12-11 Thread Xiaojun Liu
To support switch management, add the following new files: Add fm10k/switch/fm10k_flow.h. Add fm10k/switch/fm10k_flow.c(support dpdk flow operations) Add fm10k/switch/fm10k_switch.c(support switch management) Modify fm10k/Makefile(add fm10k_flow.c and fm10k_switch.c). To avoid configuration for bo

[dpdk-dev] [PATCH v2 6/7] net/fm10k: add mirror and filter ctrl

2019-12-11 Thread Xiaojun Liu
Modify fm10k/fm10k_ethdev.c. Add fm10k_mirror_rule_set/fm10k_mirror_rule_reset to support mirror operation. Add fm10k_dev_filter_ctrl to support flow operation. To avoid configuration for both kernel driver and userspace SDK outside DPDK, we add switch management in FM10K DPDK PMD driver. To enabl

[dpdk-dev] [PATCH v2 3/7] net/fm10k: add config ffu statistics support

2019-12-11 Thread Xiaojun Liu
To support switch management, add the following new files: Add fm10k/switch/fm10k_config.h. Add fm10k/switch/fm10k_config.c(support switch configuration) Add fm10k/switch/fm10k_ffu.h Add fm10k/switch/fm10k_ffu.c(support switch ffu rule) Add fm10k/switch/fm10k_stats.h Add fm10k/switch/fm10k_stats.c(

[dpdk-dev] [PATCH v2 7/7] net/fm10k: add dpdk port mapping

2019-12-11 Thread Xiaojun Liu
Modify fm10k/fm10k_ethdev.c. Add dpdk port and pf mapping, so the dpdk port can map to a specific pf and 1 dpdk port can map to 2 pf to get total 100G throughput. To avoid configuration for both kernel driver and userspace SDK outside DPDK, we add switch management in FM10K DPDK PMD driver. To ena

Re: [dpdk-dev] [PATCH] app/testpmd: support unequal number of RXQ and TXQ

2019-12-11 Thread Ananyev, Konstantin
> -Original Message- > From: dev On Behalf Of Hemant Agrawal > Sent: Wednesday, December 11, 2019 5:30 AM > To: dev@dpdk.org > Cc: Jun Yang > Subject: [dpdk-dev] [PATCH] app/testpmd: support unequal number of RXQ and TXQ > > From: Jun Yang > > The existing forwarding mode usages the

[dpdk-dev] [PATCH] net/i40e: fix port close in FreeBSD

2019-12-11 Thread Chenxu Di
FreeBSD OS doesn't support igb_uio interrupt, so it will fail when unregister the interrupt callback in port close. We can fix the issue by passing -ENOENT when check the return value of unregister interrupt callback function. Fixes: ac89d46096d5 ("net/i40e: release port upon close") Cc: sta...@dp

Re: [dpdk-dev] [PATCH] app/testpmd: support unequal number of RXQ and TXQ

2019-12-11 Thread Jerin Jacob
On Wed, Dec 11, 2019 at 3:29 PM Ananyev, Konstantin wrote: > > > > > -Original Message- > > From: dev On Behalf Of Hemant Agrawal > > Sent: Wednesday, December 11, 2019 5:30 AM > > To: dev@dpdk.org > > Cc: Jun Yang > > Subject: [dpdk-dev] [PATCH] app/testpmd: support unequal number of RX

[dpdk-dev] [PATCH] build: fix soname info for 19.11 compatiblity

2019-12-11 Thread Bruce Richardson
The soname for each stable ABI version should be just the ABI version major number without the minor number. Unfortunately both major and minor were used causing version 20.1 to be incompatible with 20.0. This patch fixes the issue by switching from 2-part to 3-part ABI version numbers so that we

Re: [dpdk-dev] [PATCH v5] build: add dockerfile for building docker image

2019-12-11 Thread Halim, Abdul
> -Original Message- > From: Ray Kinsella > Sent: Tuesday, December 10, 2019 5:45 PM > To: dev@dpdk.org; Halim, Abdul > Subject: Re: [dpdk-dev] [PATCH v5] build: add dockerfile for building docker > image > > > > On 10/12/2019 13:55, Abdul Halim wrote: > > Adding a Dockerfile with Ub

Re: [dpdk-dev] [PATCH] doc: fix build with python 3.8

2019-12-11 Thread Thomas Monjalon
10/12/2019 14:33, Robin Jarry: > 2019-12-10, Thomas Monjalon: > > 10/12/2019 13:00, Bruce Richardson: > > > On Mon, Dec 09, 2019 at 10:00:00PM +0100, Thomas Monjalon wrote: > > > > After upgrading to python-3.8.0, a syntax mismatch is revealed: > > > > > > > > doc/guides/conf.py:240: SyntaxWarning

[dpdk-dev] [PATCH v2] doc: fix build with python 3.8

2019-12-11 Thread Thomas Monjalon
After upgrading to python-3.8.0, a syntax mismatch is revealed: doc/guides/conf.py:240: SyntaxWarning: "is not" with a literal. Did you mean "!="? if value is not '': Removing "is not ''" seems the right thing to do. A patch may also be needed in the RTD theme package: https://github.com

Re: [dpdk-dev] [PATCH] build: fix soname info for 19.11 compatiblity

2019-12-11 Thread Luca Boccassi
On Wed, 2019-12-11 at 10:26 +, Bruce Richardson wrote: > The soname for each stable ABI version should be just the ABI version > major > number without the minor number. Unfortunately both major and minor > were > used causing version 20.1 to be incompatible with 20.0. > > This patch fixes the

Re: [dpdk-dev] [PATCH] ethdev: allow multiple security sessions to use one rte flow

2019-12-11 Thread Ananyev, Konstantin
> > > > > > The rte_security API which enables inline protocol/crypto feature > > > mandates that for every security session an rte_flow is created. This > > > would internally translate to a rule in the hardware which would do > > > packet classification. > > > > > > In rte_securty, one SA would

Re: [dpdk-dev] [PATCH] build: fix soname info for 19.11 compatiblity

2019-12-11 Thread Thomas Monjalon
11/12/2019 12:04, Luca Boccassi: > On Wed, 2019-12-11 at 10:26 +, Bruce Richardson wrote: > > The soname for each stable ABI version should be just the ABI version > > major > > number without the minor number. Unfortunately both major and minor > > were > > used causing version 20.1 to be inco

Re: [dpdk-dev] [PATCH] build: fix soname info for 19.11 compatiblity

2019-12-11 Thread Bruce Richardson
On Wed, Dec 11, 2019 at 11:04:01AM +, Luca Boccassi wrote: > On Wed, 2019-12-11 at 10:26 +, Bruce Richardson wrote: > > The soname for each stable ABI version should be just the ABI version > > major > > number without the minor number. Unfortunately both major and minor > > were > > used c

Re: [dpdk-dev] [PATCH] build: fix soname info for 19.11 compatiblity

2019-12-11 Thread Bruce Richardson
On Wed, Dec 11, 2019 at 12:08:25PM +0100, Thomas Monjalon wrote: > 11/12/2019 12:04, Luca Boccassi: > > On Wed, 2019-12-11 at 10:26 +, Bruce Richardson wrote: > > > The soname for each stable ABI version should be just the ABI version > > > major > > > number without the minor number. Unfortuna

Re: [dpdk-dev] [PATCH v2] doc: fix build with python 3.8

2019-12-11 Thread Bruce Richardson
On Wed, Dec 11, 2019 at 12:01:40PM +0100, Thomas Monjalon wrote: > After upgrading to python-3.8.0, a syntax mismatch is revealed: > > doc/guides/conf.py:240: SyntaxWarning: "is not" with a literal. > Did you mean "!="? > if value is not '': > > Removing "is not ''" seems the right thing

Re: [dpdk-dev] [PATCH] build: fix soname info for 19.11 compatiblity

2019-12-11 Thread Ferruh Yigit
On 12/11/2019 10:26 AM, Bruce Richardson wrote: > The soname for each stable ABI version should be just the ABI version major > number without the minor number. Unfortunately both major and minor were > used causing version 20.1 to be incompatible with 20.0. > > This patch fixes the issue by switc

Re: [dpdk-dev] [PATCH] build: fix soname info for 19.11 compatiblity

2019-12-11 Thread Ferruh Yigit
On 12/11/2019 11:14 AM, Bruce Richardson wrote: > On Wed, Dec 11, 2019 at 12:08:25PM +0100, Thomas Monjalon wrote: >> 11/12/2019 12:04, Luca Boccassi: >>> On Wed, 2019-12-11 at 10:26 +, Bruce Richardson wrote: The soname for each stable ABI version should be just the ABI version major

Re: [dpdk-dev] [PATCH] build: fix soname info for 19.11 compatiblity

2019-12-11 Thread Ferruh Yigit
On 12/11/2019 11:11 AM, Bruce Richardson wrote: > On Wed, Dec 11, 2019 at 11:04:01AM +, Luca Boccassi wrote: >> On Wed, 2019-12-11 at 10:26 +, Bruce Richardson wrote: >>> The soname for each stable ABI version should be just the ABI version >>> major >>> number without the minor number. Unf

Re: [dpdk-dev] [PATCH 04/14] examples/ipsec-secgw: add Rx adapter support

2019-12-11 Thread Akhil Goyal
Hi Anoob, I have just started looking into this patchset. Will be doing a detailed review soon. But an initial comment. Why do you need 1-1 mapping between event queue and ethdev queue. All eth and crypto queues will be attached to eventdev. And there may be single event queue Or multiple but n

Re: [dpdk-dev] [PATCH] ethdev: add L2TPv3 header to flow API

2019-12-11 Thread Sexton, Rory
Hi Ori, See my comments below. Regards, Rory >> >>> One general question why do we want to support only v3 and not also v2? >> l2tpv3 is more widely used as a tunneling protocol hence it's inclusion. >> A specific example is the cable industry where DOCSIS cable traffic is >> encapsulated usin

Re: [dpdk-dev] [PATCH v1] net/axgbe: Add a HW quirk for register definitions

2019-12-11 Thread Ferruh Yigit
On 12/10/2019 3:29 PM, Selwin Sebastian wrote: > V1000/R1000 processors are using the same PCI ids for the network > device but has altered register definitions for determining the > window settings for the indirect PCS access.Add support to check > for this hardware and if found use the new regist

Re: [dpdk-dev] How to manage new APIs added after major ABI release?

2019-12-11 Thread Neil Horman
On Tue, Dec 10, 2019 at 11:56:28AM +, Ferruh Yigit wrote: > Hi, > > With new process, the major ABI releases will be compatible until it is > deprecated (until next LTS for now), > like current ABI version is 20 in DPDK_19.11 and DPDK versions until > DPDK_20.11 > will be ABI compatible with

Re: [dpdk-dev] [PATCH] build: fix soname info for 19.11 compatiblity

2019-12-11 Thread Bruce Richardson
On Wed, Dec 11, 2019 at 11:15:29AM +, Ferruh Yigit wrote: > On 12/11/2019 10:26 AM, Bruce Richardson wrote: > > The soname for each stable ABI version should be just the ABI version major > > number without the minor number. Unfortunately both major and minor were > > used causing version 20.1

Re: [dpdk-dev] How to manage new APIs added after major ABI release?

2019-12-11 Thread Thomas Monjalon
11/12/2019 14:11, Neil Horman: > On Tue, Dec 10, 2019 at 11:56:28AM +, Ferruh Yigit wrote: > > Hi, > > > > With new process, the major ABI releases will be compatible until it is > > deprecated (until next LTS for now), > > like current ABI version is 20 in DPDK_19.11 and DPDK versions until

Re: [dpdk-dev] [PATCH] ethdev: add L2TPv3 header to flow API

2019-12-11 Thread Ori Kam
Hi Rory, PSB > -Original Message- > From: Sexton, Rory > Sent: Wednesday, December 11, 2019 1:36 PM > To: Ori Kam ; dev@dpdk.org > Cc: Zhang, Qi Z ; Xing, Beilei ; > Adrien Mazarguil ; Jagus, DariuszX > > Subject: RE: [dpdk-dev] [PATCH] ethdev: add L2TPv3 header to flow API > > Hi Ori,

Re: [dpdk-dev] How to manage new APIs added after major ABI release?

2019-12-11 Thread Ferruh Yigit
On 12/11/2019 1:11 PM, Neil Horman wrote: > On Tue, Dec 10, 2019 at 11:56:28AM +, Ferruh Yigit wrote: >> Hi, >> >> With new process, the major ABI releases will be compatible until it is >> deprecated (until next LTS for now), >> like current ABI version is 20 in DPDK_19.11 and DPDK versions un

Re: [dpdk-dev] How to manage new APIs added after major ABI release?

2019-12-11 Thread Neil Horman
On Tue, Dec 10, 2019 at 02:36:43PM +, Bruce Richardson wrote: > On Tue, Dec 10, 2019 at 12:40:53PM +, Ferruh Yigit wrote: > > On 12/10/2019 12:04 PM, Bruce Richardson wrote: > > > On Tue, Dec 10, 2019 at 11:56:28AM +, Ferruh Yigit wrote: > > >> Hi, > > >> > > >> With new process, the ma

[dpdk-dev] [PATCH v2 1/2] crypto/qat: handle mixed hash-cipher requests on GEN3 QAT

2019-12-11 Thread Adam Dybkowski
This patch implements handling mixed encrypted digest hash-cipher requests (e.g. SNOW3G + ZUC or ZUC + AES CTR) possible when running on GEN3 QAT. Such algorithm combinations are not supported on GEN1/GEN2 hardware. Signed-off-by: Adam Dybkowski --- doc/guides/cryptodevs/qat.rst | 2

[dpdk-dev] [PATCH v2 2/2] test/crypto: add more tests for mixed encypted-digest

2019-12-11 Thread Adam Dybkowski
This patch adds unit tests for QAT PMD for mixed encrypted-digest cases, involving SNOW3G UIA2, ZUC EIA3, AES CMAC and NULL auth algorithms together with SNOW3G UEA2, ZUC EEA3, AES CTR and NULL cipher algorithms in various combinations. Signed-off-by: Adam Dybkowski --- app/test/test_cryptodev.c

[dpdk-dev] [PATCH v2 0/2] Handle mixed algorithms on GEN3 QAT

2019-12-11 Thread Adam Dybkowski
v2: * Added release notes update. Adam Dybkowski (2): crypto/qat: handle mixed hash-cipher requests on GEN3 QAT test/crypto: add more tests for mixed encypted-digest app/test/test_cryptodev.c| 470 ++- app/test/test_cryptodev_mixed_test_vectors.h | 1320 +

[dpdk-dev] [PATCH 0/3] Use Intel IPSec MB library in Wireless PMDs

2019-12-11 Thread Pablo de Lara
The three Intel SW Crypto PMDs supporting SNOW3G, ZUC and KASUMI link against libSSO libraries. The Intel IPSec Multi-buffer library recently integrated the code from these libraries, in version v0.53. This library can be downloaded from https://github.com/intel/intel-ipsec-mb. KASUMI, SNOW3G and

[dpdk-dev] [PATCH 1/3] crypto/zuc: use IPSec library

2019-12-11 Thread Pablo de Lara
Link against Intel IPSec Multi-buffer library, which added support for ZUC-EEA3 and ZUC-EIA3 from version v0.53, moving from libSSO ZUC library. Signed-off-by: Pablo de Lara --- devtools/test-build.sh | 6 ++-- doc/guides/cryptodevs/zuc.rst | 52

[dpdk-dev] [PATCH 2/3] crypto/kasumi: use IPSec library

2019-12-11 Thread Pablo de Lara
Link against Intel IPSec Multi-buffer library, which added support for KASUMI-F8 and KASUMI-F9 from version v0.53, moving from libSSO KASUMI library. Signed-off-by: Pablo de Lara --- devtools/test-build.sh | 6 +-- doc/guides/cryptodevs/kasumi.rst | 62