[dpdk-dev] [PATCH v1 6/6] crypto/ccp: updating ccp document

2019-10-11 Thread somalapuram
From: Amaranath Somalapuram Signed-off-by: Amaranath Somalapuram --- doc/guides/cryptodevs/ccp.rst | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/doc/guides/cryptodevs/ccp.rst b/doc/guides/cryptodevs/ccp.rst index 034d20367..a43fe92de 1006

Re: [dpdk-dev] [PATCH v2 0/9] net/qede/base: update FW to 8.40.25.0

2019-10-11 Thread Jerin Jacob
On Mon, Oct 7, 2019 at 1:44 AM Rasesh Mody wrote: > > Hi, > > This patch series updates the FW to 8.40.25.0 and includes corresponding > base driver changes. It also includes some enhancements and fixes. > The PMD version is bumped to 2.11.0.1. > > v2: >Addressed checkpatch issues >9/9 - p

Re: [dpdk-dev] packet data access bug in bpf and pdump libs

2019-10-11 Thread Morten Brørup
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ananyev, > Konstantin > Sent: Thursday, October 10, 2019 5:37 PM > > > -Original Message- > > From: Morten Brørup [mailto:m...@smartsharesystems.com] > > Sent: Thursday, October 10, 2019 8:30 AM > > > > > -

Re: [dpdk-dev] [PATCH] net/octeontx2: add set supported types op

2019-10-11 Thread Jerin Jacob
On Tue, Oct 8, 2019 at 2:30 PM wrote: > > From: Pavan Nikhilesh > > Add support to set supported ptypes for octeontx2. > > Signed-off-by: Pavan Nikhilesh > --- > This patch depends on the following series > http://patches.dpdk.org/project/dpdk/list/?series=6715 > > drivers/net/octeontx2/otx2_

[dpdk-dev] [PATCH v8 00/18] add PCIe AER disable and IRQ support for ipn3ke

2019-10-11 Thread Andy Pei
This patch set adds PCIe AER disable and IRQ support for ipn3ke. Disable PCIe AER is very useful when FPGA reload. IRQ is used very widely in interrupt process. For ipn3ke is connect to CPU with PCIe switch, driver needs to scan all PCIe devices of ipn3ke, it also can get all i40e of card, so ipn3

[dpdk-dev] [PATCH v8 01/18] net/i40e: i40e support ipn3ke FPGA port bonding

2019-10-11 Thread Andy Pei
In ipn3ke, each FPGA network side port bonding to an i40e pf, each i40e pf link status should get data from FPGA network, side port. This patch provide bonding relationship. Signed-off-by: Rosen Xu Signed-off-by: Andy Pei --- drivers/net/i40e/base/i40e_type.h | 3 +++ drivers/net/i40e/

[dpdk-dev] [PATCH v8 02/18] raw/ifpga/base: add irq support

2019-10-11 Thread Andy Pei
From: Tianfei zhang Add irq support for ifpga FME global error, port error and uint unit. We implmented this feature by vfio interrupt mechanism. To build this feature, CONFIG_RTE_EAL_VFIO should be enabled. Signed-off-by: Tianfei zhang Signed-off-by: Andy Pei --- config/common_base

[dpdk-dev] [PATCH v8 04/18] raw/ifpga/base: add SEU error support

2019-10-11 Thread Andy Pei
From: Tianfei zhang This patch exposes SEU error information to application then application could compare this information (128bit) with its own SMH file to know if this SEU is a fatal error or not. Signed-off-by: Tianfei zhang Signed-off-by: Andy Pei --- drivers/raw/ifpga/base/ifpga_defines

[dpdk-dev] [PATCH v8 03/18] raw/ifpga/base: clear pending bit

2019-10-11 Thread Andy Pei
From: Tianfei zhang Every defined bit in FME_ERROR0 is RW1C. Other reserved bits are always 0 when readout and it will plan to be RW1C if needed in future. So it is safe just write the read back value to clear all the errors. Signed-off-by: Tianfei zhang Signed-off-by: Andy Pei --- drivers/ra

[dpdk-dev] [PATCH v8 05/18] raw/ifpga/base: add device tree support

2019-10-11 Thread Andy Pei
From: Tianfei zhang In PAC N3000 card, this is a BMC chip which using MAX10 FPGA to manage the board configuration, like sensors, flash controller, QSFP, powers. And this is a SPI bus connected between A10 FPGA and MAX10, we can access the MAX10 registers over this SPI bus. In BMC, there are abo

[dpdk-dev] [PATCH v8 07/18] raw/ifpga/base: add sensor support

2019-10-11 Thread Andy Pei
From: Tianfei zhang The sensor devices are connected in MAX10 FPGA. we used the device tree to describe those sensor devices. Parse the device tree to get the sensor devices and add them into a list. Signed-off-by: Tianfei zhang Signed-off-by: Andy Pei --- drivers/raw/ifpga/base/opae_intel_ma

[dpdk-dev] [PATCH v8 06/18] raw/ifpga/base: align the send buffer for SPI

2019-10-11 Thread Andy Pei
From: Tianfei zhang The length of send buffer of SPI bus should be 4bytes align. Signed-off-by: Tianfei Zhang Signed-off-by: Andy Pei --- drivers/raw/ifpga/base/opae_spi_transaction.c | 40 --- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/drivers/raw/

[dpdk-dev] [PATCH v8 10/18] raw/ifpga: add SEU error handler

2019-10-11 Thread Andy Pei
From: Rosen Xu Add SEU interrupt support for FPGA. Signed-off-by: Tianfei zhang Signed-off-by: Rosen Xu Signed-off-by: Andy Pei --- drivers/raw/ifpga/ifpga_rawdev.c | 245 +++ 1 file changed, 245 insertions(+) diff --git a/drivers/raw/ifpga/ifpga_rawdev.c

[dpdk-dev] [PATCH v8 09/18] raw/ifpga/base: update SEU register definition

2019-10-11 Thread Andy Pei
From: Tianfei zhang Update the SEU registser definition. Signed-off-by: Tianfei zhang Signed-off-by: Andy Pei --- drivers/raw/ifpga/base/ifpga_defines.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/raw/ifpga/base/ifpga_defines.h b/drivers/raw/ifpga/base/ifpg

[dpdk-dev] [PATCH v8 08/18] raw/ifpga/base: introducing sensor APIs

2019-10-11 Thread Andy Pei
From: Tianfei zhang Introducing sensor APIs to PMD driver for PAC N3000 card. Those sensor APIs: 1. opae_mgr_for_each_sensor() 2. opae_mgr_get_sensor_by_name() 3. opae_mgr_get_sensor_by_id() 4. opae_mgr_get_sensor_value_by_name() 5. opae_mgr_get_sensor_value_by_id() 6. opae_mgr_get_sensor_value(

[dpdk-dev] [PATCH v8 11/18] raw/ifpga: add PCIe BDF devices tree scan

2019-10-11 Thread Andy Pei
From: Rosen Xu Add PCIe BDF devices tree scan for ipn3ke. Signed-off-by: Rosen Xu Signed-off-by: Andy Pei --- drivers/raw/ifpga/ifpga_rawdev.c | 551 ++- drivers/raw/ifpga/ifpga_rawdev.h | 16 ++ 2 files changed, 562 insertions(+), 5 deletions(-) diff --g

[dpdk-dev] [PATCH v8 12/18] net/ipn3ke: remove configuration for i40e port bonding

2019-10-11 Thread Andy Pei
From: Rosen Xu The ipn3ke board FPGA and i40e BDF scan has added in ifpga_rawdev, so it doesn't need to provide configuration for i40e port bonding. Signed-off-by: Rosen Xu Signed-off-by: Andy Pei --- drivers/net/ipn3ke/Makefile | 2 + drivers/net/ipn3ke/ipn3ke_ethdev.c | 2

[dpdk-dev] [PATCH v8 14/18] raw/ifpga/base: configure FEC mode

2019-10-11 Thread Andy Pei
From: Tianfei zhang We can change the PKVL FEC mode when the A10 NIOS FW initialization. The end-user can use this feature the change the FEC mode, the default mode is RS FEC mode. Signed-off-by: Tianfei zhang Signed-off-by: Andy Pei --- drivers/raw/ifpga/base/ifpga_fme.c | 42 +++

[dpdk-dev] [PATCH v8 15/18] raw/ifpga/base: clean fme errors

2019-10-11 Thread Andy Pei
From: Tianfei zhang Clean fme errors register when some fme errors occurred. Signed-off-by: Tianfei zhang Signed-off-by: Andy Pei --- drivers/raw/ifpga/base/ifpga_fme_error.c | 24 ++-- drivers/raw/ifpga/ifpga_rawdev.c | 22 ++ 2 files changed,

[dpdk-dev] [PATCH v8 17/18] raw/ifpga: add lightweight fpga image support

2019-10-11 Thread Andy Pei
if fpga image support lightweight feature, set afu uuid to all 0, ipn3ke representor will not be probed. Signed-off-by: Andy Pei --- drivers/raw/ifpga/ifpga_rawdev.c | 44 +--- 1 file changed, 32 insertions(+), 12 deletions(-) diff --git a/drivers/raw/ifpga/i

[dpdk-dev] [PATCH v8 16/18] raw/ifpga/base: add new API get board info

2019-10-11 Thread Andy Pei
From: Tianfei zhang Add new API to get the board info. opae_mgr_get_board_info() Signed-off-by: Tianfei zhang Signed-off-by: Andy Pei --- drivers/raw/ifpga/base/ifpga_api.c | 11 +++ drivers/raw/ifpga/base/ifpga_defines.h | 55 ++ drivers/raw/ifpga/base

[dpdk-dev] [PATCH v8 18/18] raw/ifpga/base: add multiple cards support

2019-10-11 Thread Andy Pei
From: Tianfei zhang In PAC N3000 card, there is one MAX10 chip in each card, and all of the sensors are connected to MAX10 chip. To support multiple cards in one server, we introducing a sensor device list under intel_max10_device instead of a global list. On the other hand, we using seperate int

[dpdk-dev] [PATCH v8 13/18] raw/ifpga/base: add secure support

2019-10-11 Thread Andy Pei
From: Tianfei zhang Add secure max10 device support. Signed-off-by: Tianfei zhang Signed-off-by: Andy Pei --- drivers/raw/ifpga/base/ifpga_defines.h| 2 + drivers/raw/ifpga/base/ifpga_fme.c| 26 -- drivers/raw/ifpga/base/opae_intel_max10.c | 136 +---

Re: [dpdk-dev] [PATCH 2/3] drivers: use RTE_DIM instead of ARRAY_SIZE

2019-10-11 Thread Hyong Youb Kim (hyonkim)
> -Original Message- > From: pbhagavat...@marvell.com > Sent: Friday, October 11, 2019 1:07 PM [...] > Subject: [dpdk-dev] [PATCH 2/3] drivers: use RTE_DIM instead of > ARRAY_SIZE > > From: Pavan Nikhilesh > > Use RTE_DIM instead of re-defining ARRAY_SIZE. > > Signed-off-by: Pavan Nikh

Re: [dpdk-dev] [PATCH 2/3] drivers: use RTE_DIM instead of ARRAY_SIZE

2019-10-11 Thread Igor Russkikh
> > [snip] > >>   drivers/net/sfc/base/ef10_ev.c    |  4 +-- >>   drivers/net/sfc/base/ef10_filter.c    | 12 >>   drivers/net/sfc/base/ef10_mac.c   | 18 +-- >>   drivers/net/sfc/base/ef10_nic.c   |  4 +-- >>   drivers/net/sfc/base/ef1

Re: [dpdk-dev] Minutes of Technical Board Meeting, 2019-09-25

2019-10-11 Thread David Marchand
On Fri, Sep 27, 2019 at 4:03 PM Bruce Richardson wrote: > 2. SPDX licenses (standing agenda item): > > Hemant provided an update on the gaps to be closed for achieving > use of SPDX tags alone (i.e. no license text in files) in 19.11. > Key gaps: > > * Issue identif

Re: [dpdk-dev] [PATCH v4 16/19] net/hinic: add hinic PMD doc files

2019-10-11 Thread Ferruh Yigit
On 10/10/2019 3:52 PM, Xiaoyun wang wrote: > Add new supported features to rst file and add features to ini file. > > Signed-off-by: Xiaoyun wang > --- > doc/guides/nics/features/hinic.ini | 2 ++ > doc/guides/rel_notes/release_19_11.rst | 9 + > 2 files changed, 11 insertions(+) >

Re: [dpdk-dev] [PATCH v4 00/19] Add advanced features for Huawei hinic pmd

2019-10-11 Thread Ferruh Yigit
On 10/10/2019 3:51 PM, Xiaoyun wang wrote: > This patch set adds advanced features for Huawei hinic pmd, > such as VLAN filter and VLAN offload, SR-IOV, FW version get, > set link down and up, Flow director for LACP, VRRP, BGP and so on. > > -- > v2: > - Fix RSS bugs for vxlan packets inner type

Re: [dpdk-dev] [PATCH 2/3] drivers: use RTE_DIM instead of ARRAY_SIZE

2019-10-11 Thread Ananyev, Konstantin
> Hi Pavan, > > > > > From: Pavan Nikhilesh > > > > Use RTE_DIM instead of re-defining ARRAY_SIZE. > > > > Signed-off-by: Pavan Nikhilesh > > --- > > drivers/bus/dpaa/base/qbman/qman.c| 6 ++-- > > drivers/bus/dpaa/include/compat.h | 5 > > drivers/crypto/dpaa2

Re: [dpdk-dev] 18.11.3 (LTS) patches review and test

2019-10-11 Thread Kevin Traynor
On 07/10/2019 21:01, Thinh Tran wrote: > Hi- > > IBM - DPDK on Power result > > *Basic PF on Mallanox: No new errors or regressions were seen. > *Performance: no degradation compared to 18.11.2 > > System tested: > - IBM Power9 Model 8335-101 CPU: 2.3 (pvr 004e 1203) > Tested NICs: > - Mella

Re: [dpdk-dev] [PATCH v4 1/1] fbarray: get fbarrays from containerized secondary

2019-10-11 Thread David Marchand
Some comments. The title does not reflect the observed issue. I understand that secondary processeses can't be started from a docker container. The patch title should reflect this. On Wed, Jul 24, 2019 at 10:20 AM wrote: > > From: Yasufumi Ogawa > > In secondary_msl_create_walk(), it creates a

Re: [dpdk-dev] [PATCH v4 01/19] net/hinic/base: add mbox command channel for SRIOV

2019-10-11 Thread Gavin Hu (Arm Technology China)
Hi Xiaoyun, Please pay attention to the coding style issue, and some other inline comments. For the bit operation functions, we are consolidating the bit operations functions into a common eal API family, when it is ready, the cpu_to_be32 and vice versa APIs scattered here and there can be replac

Re: [dpdk-dev] [PATCH] net/ice: correct lut type for RSS

2019-10-11 Thread Zhang, Qi Z
> -Original Message- > From: Su, Simei > Sent: Friday, October 11, 2019 1:12 PM > To: Zhang, Qi Z ; Yang, Qiming > ; Lu, Wenzhuo > Cc: dev@dpdk.org; Su, Simei ; sta...@dpdk.org > Subject: [PATCH] net/ice: correct lut type for RSS > > This patch changes RSS lut_type to corresponding mac

Re: [dpdk-dev] 18.11.3 (LTS) patches review and test

2019-10-11 Thread Kevin Traynor
On 08/10/2019 11:22, Yu, PingX wrote: > Kevin, > FYI. All build are passed in 18.11.3-RC2 except Win10 no support. No issues > are found now. > Great, thanks for confirming Ping. Kevin. > Regards, > Yu Ping > > -Original Message- > From: Kevin Traynor [mailto:ktray...@redhat.com] > S

Re: [dpdk-dev] 18.11.3 (LTS) patches review and test

2019-10-11 Thread Kevin Traynor
On 10/10/2019 19:39, Stokes, Ian wrote: > > > On 9/13/2019 5:31 PM, Kevin Traynor wrote: >> Hi all, >> >> Here is a list of patches targeted for LTS release 18.11.3. >> >> The planned date for the final release is 9th October. >> >> Please help with testing and validation of your use cases and re

Re: [dpdk-dev] [PATCH v11 3/9] vhost: add the inflight structure

2019-10-11 Thread Maxime Coquelin
On 10/9/19 10:48 PM, Jin Yu wrote: > This patch adds the inflight queue region structure include > the split and packed. > > Signed-off-by: Lin Li > Signed-off-by: Xun Ni > Signed-off-by: Yu Zhang > Signed-off-by: Jin Yu > --- > lib/librte_vhost/rte_vhost.h | 43 +++

[dpdk-dev] [PATCH v2 0/5] Add session-less, RSA, RSA-CRT to QAT

2019-10-11 Thread Arek Kusztal
This patchset adds session-less option, RSA algorithm, RSA-CRT algorithm to Intel QuickAssist Technology PMD. This patchset depends on the [v5] cryptodev: extend api of asymmetric crypto by session-less [1] [1] http://patchwork.dpdk.org/patch/60882/ v2: - fixed alg size problem in crt - fixed rs

[dpdk-dev] [PATCH v2 2/5] crypto/qat: add rsa implementation to asym pmd

2019-10-11 Thread Arek Kusztal
This commit adds rsa algorithm to asymmetric pmd using pair (n, d) private key Signed-off-by: Arek Kusztal --- doc/guides/cryptodevs/features/qat.ini | 2 + doc/guides/rel_notes/release_19_11.rst | 2 + .../qat/qat_adf/qat_pke_functionality_arrays.h | 18 ++ driv

[dpdk-dev] [PATCH v2 1/5] crypto/qat: add sessionless implementation to asym pmd

2019-10-11 Thread Arek Kusztal
This patch adds option to use asymmetric crypto pmd with session-less support. Signed-off-by: Arek Kusztal --- doc/guides/cryptodevs/features/qat.ini | 1 + doc/guides/rel_notes/release_19_11.rst | 4 + drivers/crypto/qat/qat_asym.c | 312 - drivers/c

[dpdk-dev] [PATCH v2 3/5] crypto/qat: add rsa crt implementation to asym pmd

2019-10-11 Thread Arek Kusztal
This commit extends RSA implementation by CRT option Signed-off-by: Arek Kusztal --- doc/guides/cryptodevs/features/qat.ini | 1 + doc/guides/rel_notes/release_19_11.rst | 2 + .../qat/qat_adf/qat_pke_functionality_arrays.h | 9 drivers/crypto/qat/qat_asym.c

[dpdk-dev] [PATCH v2 5/5] test/crypto: add rsa tests to qat

2019-10-11 Thread Arek Kusztal
This commit adds RSA tests to Intel QuickAssist Technology pmd test suite Signed-off-by: Arek Kusztal --- app/test/test_cryptodev_asym.c | 115 ++-- app/test/test_cryptodev_rsa_test_vectors.h | 213 + 2 files changed, 313 insertions(+), 15 dele

[dpdk-dev] [PATCH v2 4/5] test/crypto: add sessionless to asymmetric mod exp

2019-10-11 Thread Arek Kusztal
This commmit adds asymmetric sessionless tests to mod exp int test_cryptodev test file Signed-off-by: Arek Kusztal --- app/test/test_cryptodev_asym.c | 73 -- 1 file changed, 49 insertions(+), 24 deletions(-) diff --git a/app/test/test_cryptodev_asym.c b/

Re: [dpdk-dev] [PATCH v11 4/9] vhost: add two new messages to support a shared buffer

2019-10-11 Thread Maxime Coquelin
On 10/9/19 10:48 PM, Jin Yu wrote: > This patch introduces two new messages VHOST_USER_GET_INFLIGHT_FD > and VHOST_USER_SET_INFLIGHT_FD to support transferring a shared > buffer between qemu and backend. > > Signed-off-by: Lin Li > Signed-off-by: Xun Ni > Signed-off-by: Yu Zhang > Signed-off

Re: [dpdk-dev] [PATCH v11 5/9] vhost: checkout the resubmit inflight information

2019-10-11 Thread Maxime Coquelin
On 10/9/19 10:48 PM, Jin Yu wrote: > This patch shows how to checkout the inflight ring and construct > the resubmit information also include destroying resubmit info. > > Signed-off-by: Lin Li > Signed-off-by: Xun Ni > Signed-off-by: Yu Zhang > Signed-off-by: Jin Yu > --- > lib/librte_vho

Re: [dpdk-dev] [PATCH v11 6/9] vhost: add the APIs to operate inflight ring

2019-10-11 Thread Maxime Coquelin
On 10/9/19 10:48 PM, Jin Yu wrote: > This patch introduces three APIs to operate the inflight > ring. Three APIs are set, set last and clear. It includes > split and packed ring. > > Signed-off-by: Lin Li > Signed-off-by: Xun Ni > Signed-off-by: Yu Zhang > Signed-off-by: Jin Yu > --- > lib

Re: [dpdk-dev] [PATCH v11 7/9] vhost: add APIs for user getting inflight ring

2019-10-11 Thread Maxime Coquelin
On 10/9/19 10:48 PM, Jin Yu wrote: > This patch introduces two APIs. one is for getting inflgiht s/inflgiht/inflight/ > ring and the other is for getting base. > > Signed-off-by: Lin Li > Signed-off-by: Xun Ni > Signed-off-by: Yu Zhang > Signed-off-by: Jin Yu > --- > lib/librte_vhost/rte

Re: [dpdk-dev] [PATCH v11 8/9] vhost: add vring functions packed ring support

2019-10-11 Thread Maxime Coquelin
On 10/9/19 10:48 PM, Jin Yu wrote: > This patch add packed ring support in two APIs > so user can get the packed ring`. > > Signed-off-by: Lin Li > Signed-off-by: Xun Ni > Signed-off-by: Yu Zhang > Signed-off-by: Jin Yu > --- > lib/librte_vhost/vhost.c | 68 +---

Re: [dpdk-dev] [PATCH v11 9/9] vhost: add vhost-user-blk example which support inflight

2019-10-11 Thread Maxime Coquelin
On 10/9/19 10:48 PM, Jin Yu wrote: > A vhost-user-blk example that support inflight feature. It uses the > new APIs that introduced in the first patch, so it can show how these > APIs work to support inflight feature. > > Signed-off-by: Jin Yu > --- > V1 - add the case. > V2 - add the rte_vhos

Re: [dpdk-dev] [PATCH v5 3/5] ipsec: add SAD add/delete/lookup implementation

2019-10-11 Thread Akhil Goyal
> int > -rte_ipsec_sad_lookup(__rte_unused const struct rte_ipsec_sad *sad, > - __rte_unused const union rte_ipsec_sad_key *keys[], > - __rte_unused void *sa[], __rte_unused uint32_t n) > +rte_ipsec_sad_lookup(const struct rte_ipsec_sad *sad, > + const union

[dpdk-dev] rte_mempool_get_bulk uses either cache or common pool

2019-10-11 Thread Morten Brørup
The rte_mempool_get_bulk() documentation says: "If cache is enabled, objects will be retrieved first from cache, subsequently from the common pool." But __mempool_generic_get() only uses the cache if the request is smaller than the cache size. If not, objects will be retrieved from the common p

Re: [dpdk-dev] [PATCH v5 0/5] ipsec: add inbound SAD

2019-10-11 Thread Akhil Goyal
> -Original Message- > From: Vladimir Medvedkin > Sent: Thursday, October 10, 2019 10:19 PM > To: dev@dpdk.org > Cc: konstantin.anan...@intel.com; bernard.iremon...@intel.com; Akhil Goyal > > Subject: [PATCH v5 0/5] ipsec: add inbound SAD > > According to RFC 4301 IPSec implementation

Re: [dpdk-dev] [PATCH v3] build: add emag(arm64) platform and default config

2019-10-11 Thread Jerin Jacob
On Wed, Oct 9, 2019 at 8:15 AM Gavin Hu wrote: > > From: Jerry Hao OS > I think the subject can be changed to "build: add emag target " > config: add emag configuration > mk/machine: add emag machine configurations The above lines are not a sentence. Please make it as a sentence in the git c

[dpdk-dev] [PATCH v8 2/2] mbuf: add unit test for bulk alloc/free functions

2019-10-11 Thread Morten Brørup
Add unit test for functions for allocating and freeing a bulk of mbufs. Signed-off-by: Morten Brørup --- app/test/test_mbuf.c | 171 +++ 1 file changed, 171 insertions(+) diff --git a/app/test/test_mbuf.c b/app/test/test_mbuf.c index 2a97afe20..fbce0ca7c

[dpdk-dev] [PATCH v8 1/2] mbuf: add bulk free function

2019-10-11 Thread Morten Brørup
Add function for freeing a bulk of mbufs. Signed-off-by: Morten Brørup Acked-by: Konstantin Ananyev Reviewed-by: Andrew Rybchenko Acked-by: Stephen Hemminger --- v8: * Add unit test, covering both bulk alloc and bulk free. v7: * Squash multiple modifications into one. v6: * Remove __rte_alwa

[dpdk-dev] [PATCH v8 0/2] mbuf: add bulk free function

2019-10-11 Thread Morten Brørup
Add function for freeing a bulk of mbufs. Add unit test for functions for allocating and freeing a bulk of mbufs. --- v8: * Add unit test, covering both bulk alloc and bulk free. v7: * Squash multiple modifications into one. v6: * Remove __rte_always_inline from static function. The compiler w

Re: [dpdk-dev] [PATCH v4 01/14] vhost: add single packet enqueue function

2019-10-11 Thread Maxime Coquelin
On 10/9/19 3:38 PM, Marvin Liu wrote: > Add vhost enqueue function for single packet and meanwhile left space > for flush used ring function. > > Signed-off-by: Marvin Liu > Reviewed-by: Maxime Coquelin

Re: [dpdk-dev] [PATCH v2 0/3] examples/ipsec-secgw: set default

2019-10-11 Thread Akhil Goyal
Hi All, This patchset would need ack from more vendors as it will impact user experience on a key example application which is normally demonstrated to customers. IPSec library is still evolving and there are new functionality added every release. Atleast from NXP side we are not OK with this ch

Re: [dpdk-dev] [PATCH v4 02/14] vhost: unify unroll pragma parameter

2019-10-11 Thread Maxime Coquelin
On 10/9/19 3:38 PM, Marvin Liu wrote: > Add macro for unifying Clang/ICC/GCC unroll pragma format. Batch > functions were contained of several small loops which optimized by > compiler’s loop unrolling pragma. > > Signed-off-by: Marvin Liu > > diff --git a/lib/librte_vhost/Makefile b/lib/libr

Re: [dpdk-dev] [PATCH v4 03/14] vhost: add batch enqueue function for packed ring

2019-10-11 Thread Maxime Coquelin
On 10/9/19 3:38 PM, Marvin Liu wrote: > Batch enqueue function will first check whether descriptors are cache > aligned. It will also check prerequisites in the beginning. Batch > enqueue function not support chained mbufs, single packet enqueue > function will handle it. > > Signed-off-by: Mar

[dpdk-dev] [PATCH v2 1/5] crypto/octeontx: add device type mailbox routine

2019-10-11 Thread Anoob Joseph
From: Kanaka Durga Kotamarthy Add mailbox communication to query symmetric or asymmetric device type Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- drivers/common/cpt/cpt_common.h | 3 --- drivers/crypto/octeontx/otx_crypt

[dpdk-dev] [PATCH v2 0/5] add asym support in crypto_octeontx PMD

2019-10-11 Thread Anoob Joseph
This series adds asymmetric crypto support in 'crypto_octoentx' PMD. Changes in v2: * Squashed patches as directed by Akhil * Split the doc patch and added documentation along with feature * Added check for ASYM SESSIONLESS (not supported currently) * Made separate enqueue & dequeue routines for s

[dpdk-dev] [PATCH v2 3/5] common/cpt: add helper functions for asymmetric crypto

2019-10-11 Thread Anoob Joseph
From: Kanaka Durga Kotamarthy Add helper functions to get meta len for asymmetric operations Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- drivers/common/cpt/cpt_pmd_ops_helper.c | 15 + drivers/common/cpt/cpt_pmd_ops_help

[dpdk-dev] [PATCH v2 4/5] crypto/octeontx: add asymmetric enqueue/dequeue ops

2019-10-11 Thread Anoob Joseph
From: Sunila Sahu Add asymmetric crypto op enqueue & dequeue routines Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- drivers/common/cpt/cpt_common.h | 1 + drivers/common/cpt/cpt_mcode_defines.h | 20 ++ drivers/common/cp

[dpdk-dev] [PATCH v2 5/5] app/test: register octeontx PMD to asym testsuite

2019-10-11 Thread Anoob Joseph
From: Sunila Sahu Updated asymmetric crypto unit-test application to test asymmetric crypto operations in octeontx PMD Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- app/test/test_cryptodev_asym.c | 31 +++ do

[dpdk-dev] [PATCH v2 2/5] crypto/octeontx: add asymmetric session operations

2019-10-11 Thread Anoob Joseph
From: Kanaka Durga Kotamarthy Add asymmetric session setup and free functions. RSA and modexp operations are supported. Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- doc/guides/cryptodevs/features/octeontx.ini| 6 +- doc/guides/cr

Re: [dpdk-dev] [PATCH v4 04/14] vhost: add single packet dequeue function

2019-10-11 Thread Maxime Coquelin
On 10/9/19 3:38 PM, Marvin Liu wrote: > Add vhost single packet dequeue function for packed ring and meanwhile > left space for shadow used ring update function. > > Signed-off-by: Marvin Liu > Reviewed-by: Maxime Coquelin

Re: [dpdk-dev] [PATCH] doc: replace license text with SPDX tag in ARK nic

2019-10-11 Thread Ed Czeck
Thanks.Do not hesitate to message me directly about needed ACKs. Acked-by: Ed Czeck On Fri, Sep 27, 2019 at 5:06 AM Hemant Agrawal wrote: > Cc: Ed Czeck > Cc: John Miller > > Signed-off-by: Hemant Agrawal > --- > doc/guides/nics/ark.rst | 29 + > 1 file chan

[dpdk-dev] [PATCH v5] eventdev: flag to identify same destined packets enqueue

2019-10-11 Thread Nipun Gupta
This patch introduces a `flag` in the Eth TX adapter enqueue API. Some drivers may support burst functionality only with the packets having same destination device and queue. The flag `RTE_EVENT_ETH_TX_ADAPTER_ENQUEUE_SAME_DEST` can be used to indicate this so the underlying driver, for drivers to

Re: [dpdk-dev] [RFC PATCH 1/9] security: introduce CPU Crypto action type and API

2019-10-11 Thread Akhil Goyal
Hi Konstantin, > > Hi Akhil, > ..[snip] > > > > > > OK let us assume that you have a separate structure. But I have a > > > > > > few > > > queries: > > > > > > 1. how can multiple drivers use a same session > > > > > > > > > > As a short answer: they can't. > > > > > It is pretty much the sam

Re: [dpdk-dev] [PATCH v2 1/2] examples/ipsec-secgw: fix SAD selection logic

2019-10-11 Thread Ananyev, Konstantin
Hi Akhil, > > Ipsec-secgw example application fails to initialize when using default > > configuration file (ep0.cfg) in library mode (librte_ipsec enabled). > > > > The reason is that two of SP rules in ep0.cfg, one for IPv4 and one > > for IPv6, are using the same SPI number. When SA rules are

Re: [dpdk-dev] [PATCH 2/3] drivers: use RTE_DIM instead of ARRAY_SIZE

2019-10-11 Thread Ferruh Yigit
On 10/11/2019 10:32 AM, Ananyev, Konstantin wrote: > > >> Hi Pavan, >> >>> >>> From: Pavan Nikhilesh >>> >>> Use RTE_DIM instead of re-defining ARRAY_SIZE. >>> >>> Signed-off-by: Pavan Nikhilesh >>> --- >>> drivers/bus/dpaa/base/qbman/qman.c| 6 ++-- >>> drivers/bus/dpaa/include/c

Re: [dpdk-dev] [PATCH v2 1/2] examples/ipsec-secgw: fix SAD selection logic

2019-10-11 Thread Akhil Goyal
Hi Konstantin, > > Hi Akhil, > > > > Ipsec-secgw example application fails to initialize when using default > > > configuration file (ep0.cfg) in library mode (librte_ipsec enabled). > > > > > > The reason is that two of SP rules in ep0.cfg, one for IPv4 and one > > > for IPv6, are using the same

[dpdk-dev] [PATCH 1/2] event/dpaa: fix number of supported atomic flows

2019-10-11 Thread Nipun Gupta
The number of atomic flows supported was not returned correctly for DPAA driver. This patch fixes the same. Fixes: b08dc6430abd ("event/dpaa: add queue config get/set") Cc: sta...@dpdk.org Signed-off-by: Nipun Gupta --- drivers/event/dpaa/dpaa_eventdev.c | 1 + drivers/event/dpaa/dpaa_eventdev.

[dpdk-dev] [PATCH 2/2] event/dpaa: support Tx adapter

2019-10-11 Thread Nipun Gupta
This patch adds the support of Tx adapter for DPAA1 platform Signed-off-by: Nipun Gupta --- drivers/event/dpaa/dpaa_eventdev.c | 75 -- 1 file changed, 70 insertions(+), 5 deletions(-) diff --git a/drivers/event/dpaa/dpaa_eventdev.c b/drivers/event/dpaa/dpaa_eventde

Re: [dpdk-dev] [PATCH v5 10/10] doc: add application usage guide for l2fwd-event

2019-10-11 Thread Jerin Jacob
On Thu, Oct 3, 2019 at 2:29 AM wrote: > > From: Sunil Kumar Kori > > Add documentation for l2fwd-event example. > Update release notes. > > Signed-off-by: Sunil Kumar Kori # Please fix the typos through with the following command aspell --lang=en_US --check doc/guides/sample_app_ug/l2_forward_

Re: [dpdk-dev] [PATCH v4 13/14] vhost: check whether disable software pre-fetch

2019-10-11 Thread Maxime Coquelin
On 10/9/19 3:38 PM, Marvin Liu wrote: > Disable software pre-fetch actions on Skylake and later platforms. > Hardware can fetch needed data for vhost, additional software pre-fetch > will impact performance. > > Signed-off-by: Marvin Liu > > diff --git a/lib/librte_vhost/Makefile b/lib/librte

Re: [dpdk-dev] [PATCH 1/3] app/test: use RTE_DIM instead of ARRAY_SIZE

2019-10-11 Thread Eads, Gage
> -Original Message- > From: pbhagavat...@marvell.com [mailto:pbhagavat...@marvell.com] > Sent: Thursday, October 10, 2019 11:07 PM > To: Doherty, Declan ; Eads, Gage > ; Olivier Matz > Cc: dev@dpdk.org; Pavan Nikhilesh > Subject: [dpdk-dev] [PATCH 1/3] app/test: use RTE_DIM instead of

Re: [dpdk-dev] [PATCH v4 03/14] vhost: add batch enqueue function for packed ring

2019-10-11 Thread Maxime Coquelin
On 10/9/19 3:38 PM, Marvin Liu wrote: > Batch enqueue function will first check whether descriptors are cache > aligned. It will also check prerequisites in the beginning. Batch > enqueue function not support chained mbufs, single packet enqueue > function will handle it. > > Signed-off-by: Mar

Re: [dpdk-dev] [PATCH v6 2/4] examples/ipsec-secgw: add fallback session feature

2019-10-11 Thread Akhil Goyal
Hi All, > > Inline processing is limited to a specified subset of traffic. It is > often unable to handle more complicated situations, such as fragmented > traffic. When using inline processing such traffic is dropped. > > Introduce fallback session for inline processing allowing processing > pac

Re: [dpdk-dev] [PATCH v3 1/3] lib/ring: add peek API

2019-10-11 Thread Ananyev, Konstantin
> -Original Message- > From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] > Sent: Friday, October 11, 2019 6:04 AM > To: Ananyev, Konstantin ; > step...@networkplumber.org; paul...@linux.ibm.com > Cc: Wang, Yipeng1 ; Medvedkin, Vladimir > ; Ruifeng Wang (Arm Technology >

Re: [dpdk-dev] [PATCH v5 01/10] examples/l2fwd-event: add default poll mode routines

2019-10-11 Thread Jerin Jacob
On Thu, Oct 3, 2019 at 2:28 AM wrote: > > From: Pavan Nikhilesh > > Add the default l2fwd poll mode routines similar to examples/l2fwd. > > Signed-off-by: Sunil Kumar Kori > Signed-off-by: Pavan Nikhilesh > --- > MAINTAINERS | 5 + > examples/Makefile

Re: [dpdk-dev] [PATCH v1 6/6] crypto/ccp: updating ccp document

2019-10-11 Thread Akhil Goyal
Hi, > > From: Amaranath Somalapuram > > Signed-off-by: Amaranath Somalapuram > --- Title should be "crypto/ccp: fix documentation" Please add an appropriate description to the patch. This patch is a fix and should also have fixes tag and also cc to sta...@dpdk.org > doc/guides/cryptodevs/c

Re: [dpdk-dev] [PATCH v5 08/10] examples/l2fwd-event: add eventdev main loop

2019-10-11 Thread Jerin Jacob
On Thu, Oct 3, 2019 at 2:29 AM wrote: > > From: Pavan Nikhilesh > > Add event dev main loop based on enabled l2fwd options and eventdev > capabilities. > > Signed-off-by: Pavan Nikhilesh > --- > examples/l2fwd-event/l2fwd_common.c | 6 + > examples/l2fwd-event/l2fwd_common.h | 2 + > exampl

Re: [dpdk-dev] [PATCH v6 2/4] examples/ipsec-secgw: add fallback session feature

2019-10-11 Thread Ananyev, Konstantin
Hi Akhil, > > > > Inline processing is limited to a specified subset of traffic. It is > > often unable to handle more complicated situations, such as fragmented > > traffic. When using inline processing such traffic is dropped. > > > > Introduce fallback session for inline processing allowing pro

Re: [dpdk-dev] [PATCH v2 0/3] examples/ipsec-secgw: set default

2019-10-11 Thread Iremonger, Bernard
Hi Akhil, With this patch applied the legacy code path in the ipsec-secgw application is still available. The default code path is now to use librte_ipsec. The "-l 0" option at startup allows the legacy code path to be used. Both code paths are still available. Regards, Bernard > -Origina

Re: [dpdk-dev] [PATCH v6 1/3] vhost: translate incoming log address to gpa

2019-10-11 Thread Maxime Coquelin
On 10/9/19 1:54 PM, Adrian Moreno wrote: > When IOMMU is enabled the incoming log address is in IOVA space. In that > case, look in IOTLB table and translate the resulting HVA to GPA. > > If IOMMU is not enabled, the incoming log address is already a GPA so no > transformation is needed. > > F

Re: [dpdk-dev] [PATCH v6 2/3] vhost: convert buffer addresses to GPA for logging

2019-10-11 Thread Maxime Coquelin
On 10/9/19 1:54 PM, Adrian Moreno wrote: > Add IOVA versions of dirty page logging functions. > > Note that the API facing rte_vhost_log_write is not modified. > So, make explicit that it expects the address in GPA space. > > Fixes: 69c90e98f483 ("vhost: enable IOMMU support") > Cc: maxime.coq

Re: [dpdk-dev] [PATCH v6 3/3] vhost: prevent zero copy mode if iommu is on

2019-10-11 Thread Maxime Coquelin
On 10/9/19 1:54 PM, Adrian Moreno wrote: > The simultaneous use of dequeue_zero_copy and IOMMU is problematic. > Not only because IOVA_VA mode is not supported but also because the > potential invalidation of guest pages while the buffers are in use, > is not handled. > > Prevent these two feat

Re: [dpdk-dev] [PATCH v2 0/3] examples/ipsec-secgw: set default

2019-10-11 Thread Thomas Monjalon
11/10/2019 14:40, Akhil Goyal: > Hi All, > > This patchset would need ack from more vendors as it will impact user > experience > on a key example application which is normally demonstrated to customers. > > IPSec library is still evolving and there are new functionality added every > release.

Re: [dpdk-dev] [PATCH v3] net/bonding: fix selection logic

2019-10-11 Thread Chas Williams
This looks better. While reviewing this I noticed that a few lines: case AGG_STABLE: if (default_slave == slaves_count) new_agg_id = slave_id; < else new_agg_id = slaves[default_slave];

Re: [dpdk-dev] [PATCH v2 8/9] net/qede/base: update the FW to 8.40.25.0

2019-10-11 Thread Ferruh Yigit
On 10/6/2019 9:14 PM, Rasesh Mody wrote: > This patch updates the FW to 8.40.25.0 and corresponding base driver > changes. It also updates the PMD version to 2.11.0.1. The FW updates > consists of enhancements and fixes as described below. > > - VF RX queue start ramrod can get stuck due to compl

Re: [dpdk-dev] [PATCH] kni: add ability to set min/max MTU

2019-10-11 Thread Ferruh Yigit
On 9/19/2019 12:22 PM, Igor Ryzhov wrote: > Starting with kernel version 4.10, there are new min/max MTU values in > net_device structure, which are set to ETH_MIN_MTU and ETH_DATA_LEN by > default. We should be able to change these values to allow MTU more than > 1500 to be set on KNI. > > Signed

Re: [dpdk-dev] [PATCH v2 8/9] net/qede/base: update the FW to 8.40.25.0

2019-10-11 Thread Rasesh Mody
>From: Ferruh Yigit >Sent: Friday, October 11, 2019 9:14 AM > >On 10/6/2019 9:14 PM, Rasesh Mody wrote: >> This patch updates the FW to 8.40.25.0 and corresponding base driver >> changes. It also updates the PMD version to 2.11.0.1. The FW updates >> consists of enhancements and fixes as described

Re: [dpdk-dev] 18.11.3 (LTS) patches review and test

2019-10-11 Thread Ju-Hyoung Lee
Is there any other partners have done DPDK performance test with different OS distro? I wonder if this is distro-specific or Azure-specific. Ju -Original Message- From: Abhishek Marathe Sent: Friday, October 11, 2019 9:30 AM To: Kevin Traynor ; sta...@dpdk.org Cc: dev@dpdk.org; Akhil G

[dpdk-dev] [PATCH 01/10] test/crypto: fix PDCP test support

2019-10-11 Thread Hemant Agrawal
use session_priv_mpool instead of session pool Fixes: d883e6e7131b ("test/crypto: add PDCP C-Plane encap cases") Signed-off-by: Hemant Agrawal --- app/test/test_cryptodev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev

[dpdk-dev] [PATCH 00/10] NXP DPAAx crypto fixes

2019-10-11 Thread Hemant Agrawal
This patch series largely content 1. fixes in crypto drivers 2. supprot ESN like cases 3. enabling snow/ZUC for dpaa_sec Hemant Agrawal (7): test/crypto: fix PDCP test support crypto/dpaa2_sec: fix ipv6 support test/crypto: increase test cases support for dpaax test/crypto: add test to tes

[dpdk-dev] [PATCH 02/10] crypto/dpaa2_sec: fix ipv6 support

2019-10-11 Thread Hemant Agrawal
HW PDB Option was being overwritten. Fixes: 53982ba2805d ("crypto/dpaa2_sec: support IPv6 tunnel for protocol offload") Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/crypto/dpaa2_se

[dpdk-dev] [PATCH 03/10] crypto/dpaa_sec: fix to check for aead as well

2019-10-11 Thread Hemant Agrawal
From: Vakul Garg The code shall also check aead as non auth-cipher case Fixes: 1f14d500bce1 ("crypto/dpaa_sec: support IPsec protocol offload") Cc: sta...@dpdk.org Signed-off-by: Vakul Garg --- drivers/crypto/dpaa_sec/dpaa_sec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --

[dpdk-dev] [PATCH 04/10] crypto/dpaa2_sec: enhance gcm descs to not skip aadt

2019-10-11 Thread Hemant Agrawal
From: Vakul Garg The GCM descriptors needlessly skip auth_only_len bytes from output buffer. Due to this, workarounds have to be made in dpseci driver code. Also this leads to failing of one cryptodev test case for gcm. In this patch, we change the descriptor construction and adjust dpseci driver

[dpdk-dev] [PATCH 06/10] test/crypto: increase test cases support for dpaax

2019-10-11 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- app/test/test_cryptodev.c | 132 -- 1 file changed, 113 insertions(+), 19 deletions(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 879b31ceb..c4c730495 100644 --- a/app/test/test_cryptodev.c +++ b/

  1   2   >