[dpdk-dev] [PATCH v2] doc: fix description on intel VFs

2017-04-10 Thread Jingjing Wu
This patch corrects the description on Physical and Virtual Function Infrastructure of Intel NICs. The RSS part description should belong to ixgbe but not i40e. This patch also add more notes to describe the queue number on Intel X710/XL710 NICs. Fixes: b9fcaeec5fc0 ("doc: add ixgbe VF RSS guide")

Re: [dpdk-dev] [PATCH v2] mempool/dpaa2: add DPAA2 hardware offloaded mempool

2017-04-10 Thread Hemant Agrawal
Hi Olivier, On 4/11/2017 1:28 AM, Olivier MATZ wrote: Hi Hemant, On Sun, 9 Apr 2017 13:29:46 +0530 Hemant Agrawal wrote: DPAA2 Hardware Mempool handlers allow enqueue/dequeue from NXP's QBMAN hardware block. CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS is set to 'dpaa2', if the pool is enabled. This

Re: [dpdk-dev] net/i40e: fix hash input set issue on X722

2017-04-10 Thread Wu, Jingjing
> -Original Message- > From: Guo, Jia > Sent: Thursday, April 6, 2017 10:35 AM > To: Zhang, Helin ; Wu, Jingjing > Cc: dev@dpdk.org; Guo, Jia > Subject: [dpdk-dev] net/i40e: fix hash input set issue on X722 > > Since there are some new pctypes on X722, but recently they have not been >

[dpdk-dev] [PATCH] net/virtio: fix queue notify

2017-04-10 Thread Xiao Wang
According to spec, we should write virtqueue index into the notify address, rather than 1. Besides, some HW backend may rely on the data written to identify which queue need to serve. Fixes: 6ba1f63b5ab0 ("virtio: support specification 1.0") Cc: sta...@dpdk.org Signed-off-by: Xiao Wang --- driv

[dpdk-dev] [PATCH] net/enic: remove initialization of some mbuf fields

2017-04-10 Thread John Daley
Remove initialization of next and nb_segs mbuf fields in the Rx path since they are now initialized in the mbuf pool. See commit 8f094a9ac5d7 ("mbuf: set mbuf fields while in pool"). Signed-off-by: John Daley --- drivers/net/enic/enic_rxtx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/

Re: [dpdk-dev] [PATCH v4 1/3] lib/librte_ether: add support for port reset

2017-04-10 Thread Thomas Monjalon
2017-04-06 09:02, Ananyev, Konstantin: > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Zhao1, Wei > > From: Thomas Monjalon [mailto:thomas.monja...@6wind.com] > > > 2017-04-06 02:57, Zhao1, Wei: > > > > > /** > > > > > > + * Reset an ethernet device when it's not working. One scenario > >

Re: [dpdk-dev] [dpdk-dev 1/2] lib: fix ipv6 tunnel csum issue

2017-04-10 Thread Thomas Monjalon
2017-04-05 12:48, Jeff Guo: > When packet is flag of "PKT_TX_OUTER_IPV6", it also need to be > considered to be tunnel case, in order to calculate the correct > csum value. > > Fixes: 2b76648872c9 ("net/e1000: add Tx preparation") > Signed-off-by: Jeff Guo Series applied, thanks

Re: [dpdk-dev] [dpdk-stable] [dpdk-dev v4 1/3] examples: enable HW CRC strip by default

2017-04-10 Thread Thomas Monjalon
2017-04-08 13:56, Jeff Guo: > Since VF can not disable/enable HW CRC strip for non-DPDK PF drivers, > and kernel driver almost default enable that feature, if disable it in > example app's rxmode, VF driver will report the VF launch failure. So > this patch default to enable HW CRC strip to let VF

Re: [dpdk-dev] [PATCH v2 1/2] test/mempool_perf: Free mempool on exit

2017-04-10 Thread Olivier MATZ
Hi Santosh, On Mon, 10 Apr 2017 01:13:43 +0530 santosh wrote: > Hi Olivier, > > On Monday 10 April 2017 12:47 AM, Shukla, Santosh wrote: > > > > > > > > > *From:* Olivier Matz > > *Sent:* Friday, April 7, 2017 9:

Re: [dpdk-dev] [PATCH v2] mempool/dpaa2: add DPAA2 hardware offloaded mempool

2017-04-10 Thread Olivier MATZ
Hi Hemant, On Sun, 9 Apr 2017 13:29:46 +0530 Hemant Agrawal wrote: > DPAA2 Hardware Mempool handlers allow enqueue/dequeue from NXP's > QBMAN hardware block. > CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS is set to 'dpaa2', if the pool > is enabled. > > This memory pool currently supports packet mbuf ty

[dpdk-dev] [PATCH v2] net/thunderx: use rte version of byteorder.h

2017-04-10 Thread Jerin Jacob
The base code was using native GCC macros for endian detection. Change to portable rte_byteorder.h based endian detection. Fixes: 262d43fe20ee ("net/thunderx/base: add HW register definitions") Suggested-by: Thomas Monjalon Signed-off-by: Jerin Jacob --- v2: Change a instance(drivers/net/thunde

[dpdk-dev] Fwd: |WARNING| pw23442 [PATCH] net/tap: add support for fixed mac addresses

2017-04-10 Thread Wiles, Keith
Begin forwarded message: From: mailto:checkpa...@dpdk.org>> Subject: |WARNING| pw23442 [PATCH] net/tap: add support for fixed mac addresses Date: April 10, 2017 at 1:20:18 PM CDT To: mailto:test-rep...@dpdk.org>> Cc: Keith Wiles mailto:keith.wi...@intel.com>> Test-Label: checkpatch Test-Status:

[dpdk-dev] [PATCH] net/tap: add support for fixed mac addresses

2017-04-10 Thread Keith Wiles
Support for a fixed MAC address for testing with the last octet incrementing by one for each interface defined with the new 'mac=fixed' string on the --vdev option. The default option is still to randomize the MAC address for each tap interface. Signed-off-by: Keith Wiles --- doc/guides/nics/tap

Re: [dpdk-dev] [PATCH v2 0/2] reduce writes to mbuf in ixgbe vRX

2017-04-10 Thread Ferruh Yigit
On 4/10/2017 4:59 PM, Konstantin Ananyev wrote: > Based on Olivier's mbuf rework patchset, and makes some > improvement to the ixgbe driver taking account of the rework. > It also removes a build-time option that seems unnecessary. > > changes in v2: > Fix build error for "default" cpu. > Fix buil

[dpdk-dev] [PATCH v4 2/3] net/e1000: new xstats API add ID support for e1000

2017-04-10 Thread Jacek Piasecki
To achieve functionality of retrieving only specific statistics given by application there are two new functions added: eth_igb_xstats_get_by_ids() which retrieve values of statistics specified by ids array and eth_igb_xstats_get_names_by_ids() which retrieve names of statistics specified by ids ar

[dpdk-dev] [PATCH v4 3/3] net/ixgbe: new xstats API add ID support for ixgbe

2017-04-10 Thread Jacek Piasecki
To achieve functionality of retrieving only specific statistics given by application there are two new functions added: ixgbe_dev_xstats_get_by_ids() which retrieve values of statistics specified by ids array and ixgbe_dev_xstats_get_names_by_ids() which retrieve names of statistics specified by id

[dpdk-dev] [PATCH v4 1/3] ethdev: new xstats API add retrieving by ID

2017-04-10 Thread Jacek Piasecki
Extended xstats API in ethdev library to allow grouping of stats logically so they can be retrieved per logical grouping managed by the application. Changed existing functions rte_eth_xstats_get_names and rte_eth_xstats_get to use a new list of arguments: array of ids and array of values. ABI vers

[dpdk-dev] [PATCH v2 1/2] net/ixgbe: eliminate mbuf write on rearm

2017-04-10 Thread Konstantin Ananyev
With the mbuf rework, we now have 8 contiguous bytes to be rearmed in the mbuf just before the 8-bytes of olflags. If we don't do the rearm write inside the descriptor ring replenishment function, and delay it to receiving the packet, we can do a single 16B write inside the RX function to set both

[dpdk-dev] [PATCH v2 2/2] net/ixgbe: remove option to disable offload flags

2017-04-10 Thread Konstantin Ananyev
Having packets received without any offload flags given in the mbuf is not very useful, and performance tests with testpmd indicates little benefit is got with the current code by turning off the flags. This makes the build-time option pointless, so we can remove it. Signed-off-by: Konstantin Anan

[dpdk-dev] [PATCH v2 0/2] reduce writes to mbuf in ixgbe vRX

2017-04-10 Thread Konstantin Ananyev
Based on Olivier's mbuf rework patchset, and makes some improvement to the ixgbe driver taking account of the rework. It also removes a build-time option that seems unnecessary. changes in v2: Fix build error for "default" cpu. Fix build error when CONFIG_RTE_IXGBE_RX_OLFLAGS_ENABLE=n Konstantin

[dpdk-dev] [PATCH v4 0/3] Extended xstats API in ethdev library to allow grouping of stats

2017-04-10 Thread Jacek Piasecki
Extended xstats API in ethdev library to allow grouping of stats logically so they can be retrieved per logical grouping managed by the application. Changed existing functions rte_eth_xstats_get_names and rte_eth_xstats_get to use a new list of arguments: array of ids and array of values. ABI vers

[dpdk-dev] [PATCH] event/sw: fix hashing of flow on ordered ingress

2017-04-10 Thread Harry van Haaren
The flow id of packets was not being hashed on ingress on an ordered queue. Fix by applying same hashing as is applied in the atomic queue case. The hashing itself is broken out into a macro to avoid duplication of code. Fixes: 617995dfc5b2 ("event/sw: add scheduling logic") Signed-off-by: Harry

Re: [dpdk-dev] [PATCH 2/2] net/ark: report hardware status during PMD init

2017-04-10 Thread Ferruh Yigit
On 4/10/2017 1:26 PM, Ed Czeck wrote: > Expose additional fpga status registers and report > conditions during PMD init > > Signed-off-by: Ed Czeck > --- > drivers/net/ark/ark_ethdev.c | 9 + > drivers/net/ark/ark_rqp.c| 6 ++ > drivers/net/ark/ark_rqp.h| 4 +++- > 3 files ch

[dpdk-dev] [PATCH] crypto/scheduler: fix queue pair configuration

2017-04-10 Thread Fan Zhang
This patch fixes the queue pair configuration for the scheduler PMD. The queue pairs of a scheduler may have different nb_descriptors sizes, which was not the case. Also, the maximum available objects in a queue pair is 1 object smaller than nb_descriptors. This patch fixes these issues. Fixes: 49

[dpdk-dev] [PATCH] crypto/scheduler: fix capability update

2017-04-10 Thread Fan Zhang
Fixes: 31439ee72b2c ("crypto/scheduler: add API implementations") Signed-off-by: Fan Zhang --- drivers/crypto/scheduler/rte_cryptodev_scheduler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/scheduler/rte_cryptodev_scheduler.c b/drivers/crypto/scheduler/rte

[dpdk-dev] [PATCH] app/test-crypto-perf: fix crypto operation resubmission

2017-04-10 Thread Fan Zhang
This patch fixes the crypto operation resubmission problem in crypto perferformance test. Originally, when needed crypto ops amount is smaller than the enqueued crypto ops in the last round, one or more processed crypto operations will be re-enqueued. Fixes: f8be1786b1b8 ("app/crypto-perf: introdu

Re: [dpdk-dev] next technical board meeting, 2017-04-10

2017-04-10 Thread Wiles, Keith
> On Apr 10, 2017, at 9:43 AM, Dumitrescu, Cristian > wrote: > > It will start in 15 mins. I assumed it was in the am like last time. > >> -Original Message- >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wiles, Keith >> Sent: Monday, April 10, 2017 3:34 PM >> To: Yuanhan Li

Re: [dpdk-dev] [PATCH] mk: fix quoting for ARM mtune argument

2017-04-10 Thread Thomas Monjalon
2017-04-10 14:28, Jan Viktorin: > On Mon, 10 Apr 2017 14:18:51 +0200 > Pascal Mazon wrote: > > > The mtune argument needs an unquoted argument, otherwise the compiler > > complains: > > > > arm-buildroot-linux-gnueabi-gcc.br_real: error: > > unrecognized argument in option ‘-mtune="cortex-

Re: [dpdk-dev] [PATCH 1/2] doc: update szedata2 guide

2017-04-10 Thread Thomas Monjalon
> > NICs are available from Netcope under the names NFB-*. > > Change names and direct the links to Netcope web. > > > > Signed-off-by: Matej Vido > > Acked-by: John McNamara Series applied, thanks

Re: [dpdk-dev] next technical board meeting, 2017-04-10

2017-04-10 Thread Dumitrescu, Cristian
It will start in 15 mins. > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wiles, Keith > Sent: Monday, April 10, 2017 3:34 PM > To: Yuanhan Liu > Cc: dev@dpdk.org; techbo...@dpdk.org; Jerin Jacob > > Subject: Re: [dpdk-dev] next technical board meeting, 2017-0

Re: [dpdk-dev] next technical board meeting, 2017-04-10

2017-04-10 Thread Wiles, Keith
Did this meeting take place and meet quorum? What is the out come of the meeting? > On Apr 10, 2017, at 1:49 AM, Yuanhan Liu wrote: > > Hi all, > > The last techboard meeting was canceled, and it's been rescheduled to > today, 10th Apr, at 3pm UTC. I should have sent it out a bit earlier. > So

[dpdk-dev] [PATCH 2/3] examples/ip_reassembly: limit max frame size

2017-04-10 Thread Andriy Berestovskyy
Some PMDs do not support 9,5K jumbo frames, so the example fails. Limit the frame size to the maximum supported by the underlying NIC. Signed-off-by: Andriy Berestovskyy --- examples/ip_reassembly/main.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/ip_reassem

[dpdk-dev] [PATCH 3/3] examples/ipv4_multicast: limit max frame size

2017-04-10 Thread Andriy Berestovskyy
Some PMDs do not support 9,5K jumbo frames, so the example fails. Limit the frame size to the maximum supported by the underlying NIC. Signed-off-by: Andriy Berestovskyy --- examples/ipv4_multicast/main.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/ipv4_m

[dpdk-dev] [PATCH 1/3] examples/ip_fragmentation: limit max frame size

2017-04-10 Thread Andriy Berestovskyy
Some PMDs do not support 9,5K jumbo frames, so the example fails. Limit the frame size to the maximum supported by the underlying NIC. Signed-off-by: Andriy Berestovskyy --- examples/ip_fragmentation/main.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/ip_f

[dpdk-dev] [PATCH v2 4/4] net/ena: calculate partial checksum if DF bit is disabled

2017-04-10 Thread Marcin Wojtas
From: Michal Krawczyk When TSO is disabled we still have to calculate partial checksum if DF bit if turned off. This is caused by firmware bug. First of all, we must make sure that we are dealing with IPV4 packet. If not, we will just skip further checking of this packet and move to the next one

[dpdk-dev] [PATCH v2 1/4] net/ena: fix incorrect Rx descriptors allocation

2017-04-10 Thread Marcin Wojtas
From: Michal Krawczyk When application tried to allocate 1024 descriptors, device was not initializing properly. This patch solves it by avoiding allocation of all descriptors in the ring in one attempt. At least one descriptor must remain unused in the HW ring. Fixes: 1173fca25af9 ("ena: add p

[dpdk-dev] [PATCH v2 3/4] net/ena: cleanup if refilling of rx descriptors fails

2017-04-10 Thread Marcin Wojtas
From: Michal Krawczyk If wrong number of descriptors for refilling was passed to the Rx repopulate function, there was memory leak which caused memory pool to run out of resources in longer go. In case of fail when refilling Rx descriptors, all additional mbufs have to be released. Fixes: 1173f

[dpdk-dev] [PATCH v2 2/4] net/ena: fix delayed cleanup of Rx descriptors

2017-04-10 Thread Marcin Wojtas
From: Michal Krawczyk On RX path, after receiving bunch of packets, variable tracking available descriptors in HW queue was not updated. To fix this issue, variable tracking used descriptors must be updated after receiving packets - it must be reduced by the amount of received descriptors in cur

[dpdk-dev] [PATCH v2 0/4] Ena PMD fixes

2017-04-10 Thread Marcin Wojtas
Hi, I sent second version of a patchset with various fixes for ena PMD. All remarks after v1 review have been taken into account. Details can be found in the changelog below. We are looking forward to any comments or remarks. Best regards, Marcin Changelog: v1 -> v2 * 1/4: - Part of the c

Re: [dpdk-dev] [PATCH v3 2/2] ethdev: add hierarchical scheduler API

2017-04-10 Thread Jerin Jacob
-Original Message- > Date: Fri, 7 Apr 2017 17:47:40 + > From: "Dumitrescu, Cristian" > To: Jerin Jacob > CC: "dev@dpdk.org" , "thomas.monja...@6wind.com" > , "balasubramanian.manoha...@cavium.com" > , "hemant.agra...@nxp.com" > , "shreyansh.j...@nxp.com" > > Subject: RE: [PATCH v

Re: [dpdk-dev] [PATCH] crypto/qat: fix capabilities for D15xx device

2017-04-10 Thread Trahe, Fiona
> -Original Message- > From: Kusztal, ArkadiuszX > Sent: Monday, April 10, 2017 2:20 PM > To: dev@dpdk.org > Cc: Trahe, Fiona ; De Lara Guarch, Pablo > ; Griffin, John ; > Jain, Deepak K ; Kusztal, ArkadiuszX > > Subject: [PATCH] crypto/qat: fix capabilities for D15xx device > > This co

Re: [dpdk-dev] [PATCH] crypto/qat: fix capabilities for D15xx device

2017-04-10 Thread De Lara Guarch, Pablo
> -Original Message- > From: Jain, Deepak K > Sent: Monday, April 10, 2017 2:41 PM > To: Kusztal, ArkadiuszX; dev@dpdk.org > Cc: Trahe, Fiona; De Lara Guarch, Pablo; Griffin, John > Subject: RE: [PATCH] crypto/qat: fix capabilities for D15xx device > > > > -Original Message- > >

Re: [dpdk-dev] [PATCH] crypto/qat: fix capabilities for D15xx device

2017-04-10 Thread Jain, Deepak K
> -Original Message- > From: Kusztal, ArkadiuszX > Sent: Monday, April 10, 2017 2:20 PM > To: dev@dpdk.org > Cc: Trahe, Fiona ; De Lara Guarch, Pablo > ; Griffin, John ; > Jain, Deepak K ; Kusztal, ArkadiuszX > > Subject: [PATCH] crypto/qat: fix capabilities for D15xx device > > This com

Re: [dpdk-dev] [PATCH v2] net/ixgbe: ensure link status is updated

2017-04-10 Thread Ferruh Yigit
On 4/3/2017 2:23 PM, Laurent Hardy wrote: > Hi Wei, > Thanks for your reply. > > If autoneg is false, then we set a default speed to the highest value > before performing the link setup. > You are right, there is no relevant reason to keep this check on speed > mask> should be: > +

[dpdk-dev] [PATCH] crypto/qat: fix capabilities for D15xx device

2017-04-10 Thread Arek Kusztal
This commit fixes capabilities for Intel(R) QuickAssist Technology D15xx device Fixes: 259310f3a984 ("crypto/qat: support device D15xx") Signed-off-by: Arek Kusztal --- drivers/crypto/qat/rte_qat_cryptodev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/qat/rte_qat_cryptode

Re: [dpdk-dev] [PATCH] net/i40e: sync the changes for vector PMD between x86 and arm64

2017-04-10 Thread Ferruh Yigit
On 4/6/2017 9:33 AM, Jianbo Liu wrote: > Porting two changes from x86 SSE implematation. > net/i40e: fix checksum flag in x86 vector Rx > net/i40e: eliminate mbuf write on rearm > > Signed-off-by: Jianbo Liu Applied to dpdk-next-net/master, thanks.

Re: [dpdk-dev] [PATCH v2 0/2] reduce writes in i40e driver

2017-04-10 Thread Ferruh Yigit
On 4/6/2017 12:32 PM, Bruce Richardson wrote: > this set is based upon Olivier's mbuf rework patchset, and makes some > improvement to the i40e driver taking account of the rework. It also > removes a build-time option that seems unnecessary. > > V2: Eliminate one checkpatch warning, and remove #i

Re: [dpdk-dev] [PATCH v7 00/13] Introducing NXP dpaa2_sec based cryptodev pmd

2017-04-10 Thread Akhil Goyal
Hi All, On 4/10/2017 6:00 PM, akhil.go...@nxp.com wrote: From: Akhil Goyal Based over the DPAA2 PMD driver [1], this series of patches introduces the DPAA2_SEC PMD which provides DPDK crypto driver for NXP's DPAA2 CAAM Hardware accelerator. SEC is NXP DPAA2 SoC's security engine for cryptogra

[dpdk-dev] [PATCH v7 10/13] doc: add NXP dpaa2 sec in cryptodev

2017-04-10 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- doc/guides/cryptodevs/dpaa2_sec.rst | 232 +++ doc/guides/cryptodevs/features/dpaa2_sec.ini | 34 doc/guides/cryptodevs/index.rst | 1 + doc/guides/nics/dpaa2.rst

[dpdk-dev] [PATCH v7 13/13] test/test: add dpaa2 sec crypto functional test

2017-04-10 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- test/test/test_cryptodev.c | 106 + test/test/test_cryptodev_blockcipher.c | 3 + test/test/test_cryptodev_blockcipher.h | 1 + 3 files changed, 110 insertions(+) diff

[dpdk-dev] [PATCH v7 11/13] maintainers: claim responsibility for dpaa2 sec pmd

2017-04-10 Thread akhil.goyal
From: Akhil Goyal update MAINTAINERS file to add responsibility for dpaa2 sec pmd Signed-off-by: Akhil Goyal --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4b05cfc..65af322 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -450,6 +450,12 @

[dpdk-dev] [PATCH v7 12/13] test/test: add dpaa2 sec crypto performance test

2017-04-10 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- test/test/test_cryptodev_perf.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/test/test/test_cryptodev_perf.c b/test/test/test_cryptodev_perf.c index 7f1adf8..9cdbc39 100644 --- a/test/t

[dpdk-dev] [PATCH v7 09/13] crypto/dpaa2_sec: statistics support

2017-04-10 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 76 + 1 file changed, 76 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index 29346df..c8971c0 10064

[dpdk-dev] [PATCH v7 08/13] crypto/dpaa2_sec: add crypto operation support

2017-04-10 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 1210 +++ drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 143 2 files changed, 1353 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpa

[dpdk-dev] [PATCH v7 07/13] bus/fslmc: add packet frame list entry definitions

2017-04-10 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 25 + drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 + 2 files changed, 26 insertions(+) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dp

[dpdk-dev] [PATCH v7 01/13] cryptodev: add cryptodev type for dpaa2 sec

2017-04-10 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- lib/librte_cryptodev/rte_cryptodev.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/librte_cryptodev/rte_cryptodev.h b/lib/librte_cryptodev/rte_cryptodev.h index f5fba13..88aeb87 100644 --- a/lib/librte_cryptodev/rte_cryptodev.h +++

[dpdk-dev] [PATCH v7 02/13] crypto/dpaa2_sec: add dpaa2 sec poll mode driver

2017-04-10 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal --- config/common_base | 8 + config/defconfig_arm64-dpaa2-linuxapp-gcc | 12 ++ drivers/Makefile | 1 + drivers/bus/Makefile

[dpdk-dev] [PATCH v7 04/13] crypto/dpaa2_sec: add basic crypto operations

2017-04-10 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 182 1 file changed, 182 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpsec

[dpdk-dev] [PATCH v7 03/13] crypto/dpaa2_sec: add mc dpseci object support

2017-04-10 Thread akhil.goyal
From: Akhil Goyal add support for dpseci object in MC driver. DPSECI represent a crypto object in DPAA2. Signed-off-by: Cristian Sovaiala Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/Makefile| 2 + drivers/crypto/dpaa2_sec/mc/dpseci.c | 551 +++

[dpdk-dev] [PATCH v7 00/13] Introducing NXP dpaa2_sec based cryptodev pmd

2017-04-10 Thread akhil.goyal
From: Akhil Goyal Based over the DPAA2 PMD driver [1], this series of patches introduces the DPAA2_SEC PMD which provides DPDK crypto driver for NXP's DPAA2 CAAM Hardware accelerator. SEC is NXP DPAA2 SoC's security engine for cryptographic acceleration and offloading. It implements block encryp

Re: [dpdk-dev] [PATCH] mk: fix quoting for ARM mtune argument

2017-04-10 Thread Jan Viktorin
On Mon, 10 Apr 2017 14:18:51 +0200 Pascal Mazon wrote: > The mtune argument needs an unquoted argument, otherwise the compiler > complains: > > arm-buildroot-linux-gnueabi-gcc.br_real: error: > unrecognized argument in option ‘-mtune="cortex-a9"’ > > Fixes: 02a8686263de ("mk: introduce AR

[dpdk-dev] [PATCH 2/2] net/ark: report hardware status during PMD init

2017-04-10 Thread Ed Czeck
Expose additional fpga status registers and report conditions during PMD init Signed-off-by: Ed Czeck --- drivers/net/ark/ark_ethdev.c | 9 + drivers/net/ark/ark_rqp.c| 6 ++ drivers/net/ark/ark_rqp.h| 4 +++- 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/dri

[dpdk-dev] [PATCH 1/2] net/ark: update packet Rx path to set mbuf time stamp field

2017-04-10 Thread Ed Czeck
Time stamp was carried in the packet meta data, but not place in the mbuf. The new time stamp field is the proper destination. Remove the setting of data offset since this is done by rte_pktmbuf_free() Signed-off-by: Ed Czeck --- drivers/net/ark/ark_ethdev_rx.c | 3 ++- 1 file changed, 2 insert

[dpdk-dev] [PATCH] mk: fix quoting for ARM mtune argument

2017-04-10 Thread Pascal Mazon
The mtune argument needs an unquoted argument, otherwise the compiler complains: arm-buildroot-linux-gnueabi-gcc.br_real: error: unrecognized argument in option ‘-mtune="cortex-a9"’ Fixes: 02a8686263de ("mk: introduce ARMv7 architecture") Fixes: 4a7e4626975a ("mk: introduce NXP dpaa2 archit

Re: [dpdk-dev] [PATCH v2 1/2] net/liquidio/base: fix mbox command initialization

2017-04-10 Thread Ferruh Yigit
On 4/10/2017 8:18 AM, Shijith Thotton wrote: > Initialize mail box command to request VF FLR. Data field was > uninitialized before as it was not required and caused the following > error during scan. > > Reported by Coverity scan: > 1384518 Uninitialized scalar variable > > Fixes: cdb166963cae (

Re: [dpdk-dev] [PATCH v2 3/3] net/i40e: add missing 25G link speed

2017-04-10 Thread Zhang, Qi Z
Confirmed, thanks. > -Original Message- > From: Yigit, Ferruh > Sent: Monday, April 10, 2017 5:53 PM > To: Zhang, Qi Z > Cc: Wu, Jingjing ; Zhang, Helin > ; dev@dpdk.org; sta...@dpdk.org > Subject: Re: [PATCH v2 3/3] net/i40e: add missing 25G link speed > > On 4/9/2017 7:05 PM, Qi Zhang

Re: [dpdk-dev] [PATCH v2] mem: balanced allocation of hugepages

2017-04-10 Thread Thomas Monjalon
2017-04-10 11:04, Ilya Maximets: > Currently EAL allocates hugepages one by one not paying > attention from which NUMA node allocation was done. > > Such behaviour leads to allocation failure if number of > available hugepages for application limited by cgroups > or hugetlbfs and memory requested

Re: [dpdk-dev] [PATCH] app: don't try to build test-crypto-perf if cryptodev disabled

2017-04-10 Thread Thomas Monjalon
2017-04-10 09:51, De Lara Guarch, Pablo: > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ilya Maximets > > > > This fixes build in following configuration: > > > > CONFIG_RTE_LIBRTE_CRYPTODEV=n > > CONFIG_RTE_APP_CRYPTO_PERF=y > > > > Fixes: f8be1786b1b8 ("app/crypto-perf: introdu

[dpdk-dev] [PATCH] app/crypto-perf: fix length for wireless algos

2017-04-10 Thread Pablo de Lara
When SNOW3G/KASUMI/ZUC algorithms are used, ciphering and authentication lengths have to be passed as bits and not as bytes. Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application") Signed-off-by: Pablo de Lara --- app/test-crypto-perf/cperf_ops.c | 32 +++

Re: [dpdk-dev] [PATCH v2 3/3] net/i40e: add missing 25G link speed

2017-04-10 Thread Ferruh Yigit
On 4/9/2017 7:05 PM, Qi Zhang wrote: > Add missing 25G link speed decode in i40evf_dev_link_update. > > Cc: sta...@dpdk.org > > Signed-off-by: Qi Zhang Fixes: 75d133dd3296 ("net/i40e: enable 25G device") Added above fixes line, but I am not sure about it, can you please confirm? Thanks, ferru

Re: [dpdk-dev] [PATCH v2 0/3] net/i40e: fix wrong VF link speed

2017-04-10 Thread Ferruh Yigit
On 4/9/2017 7:05 PM, Qi Zhang wrote: > VF link speed is not correct due to encode mismatch between > VF and PF, the patch set fix this issue. > > v2: > - fix checkpatch warning. > > Qi Zhang (3): > net/i40e: remove duplicate code > net/i40e: fix wrong VF link speed > net/i40e: add missing

Re: [dpdk-dev] [PATCH] app: don't try to build test-crypto-perf if cryptodev disabled

2017-04-10 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ilya Maximets > Sent: Monday, April 10, 2017 9:14 AM > To: dev@dpdk.org; Doherty, Declan > Cc: Heetae Ahn; Thomas Monjalon; Ilya Maximets > Subject: [dpdk-dev] [PATCH] app: don't try to build test-crypto-perf if >

Re: [dpdk-dev] Working of pipeline in a given config file and regarding user-defined actions in IP_PIPELINE application

2017-04-10 Thread Dumitrescu, Cristian
Hi Nidhia, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Nidhia Varghese > Sent: Monday, April 10, 2017 8:27 AM > To: Singh, Jasvinder > Cc: dev@dpdk.org; us...@dpdk.org > Subject: Re: [dpdk-dev] Working of pipeline in a given config file and > regarding user

Re: [dpdk-dev] [PATCH 02/11] kni: remove unnecessary cast of void pointers

2017-04-10 Thread Ferruh Yigit
On 4/7/2017 6:44 PM, Stephen Hemminger wrote: > Remove unnecessary casts of void * pointers to a specfic type. > > Signed-off-by: Stephen Hemminger Acked-by: Ferruh Yigit

[dpdk-dev] [PATCH] app: don't try to build test-crypto-perf if cryptodev disabled

2017-04-10 Thread Ilya Maximets
This fixes build in following configuration: CONFIG_RTE_LIBRTE_CRYPTODEV=n CONFIG_RTE_APP_CRYPTO_PERF=y Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application") Signed-off-by: Ilya Maximets --- app/Makefile | 5 - 1 file changed, 4 insertions(+), 1 de

Re: [dpdk-dev] [PATCH] mem: balanced allocation of hugepages

2017-04-10 Thread Ilya Maximets
On 10.04.2017 10:51, Sergio Gonzalez Monroy wrote: > On 10/04/2017 08:11, Ilya Maximets wrote: >> On 07.04.2017 18:44, Thomas Monjalon wrote: >>> 2017-04-07 18:14, Ilya Maximets: Hi All. I wanted to ask (just to clarify current status): Will this patch be included in current r

[dpdk-dev] [PATCH v2] mem: balanced allocation of hugepages

2017-04-10 Thread Ilya Maximets
Currently EAL allocates hugepages one by one not paying attention from which NUMA node allocation was done. Such behaviour leads to allocation failure if number of available hugepages for application limited by cgroups or hugetlbfs and memory requested not only from the first socket. Example:

Re: [dpdk-dev] [PATCH 1/2] doc: update szedata2 guide

2017-04-10 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Matej Vido > Sent: Friday, April 7, 2017 9:13 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH 1/2] doc: update szedata2 guide > > NICs are available from Netcope under the names NFB-*. > Change names and direc

Re: [dpdk-dev] [PATCH 2/2] doc: add QinQ flow information to testpmd

2017-04-10 Thread Mcnamara, John
> -Original Message- > From: Iremonger, Bernard > Sent: Friday, April 7, 2017 4:15 PM > To: dev@dpdk.org > Cc: Xing, Beilei ; Lu, Wenzhuo > ; Mcnamara, John ; > Iremonger, Bernard > Subject: [PATCH 2/2] doc: add QinQ flow information to testpmd > > Add information on validating and crea

Re: [dpdk-dev] [PATCH 1/2] doc: release note for QinQ cloud filter

2017-04-10 Thread Mcnamara, John
> -Original Message- > From: Iremonger, Bernard > Sent: Friday, April 7, 2017 4:15 PM > To: dev@dpdk.org > Cc: Xing, Beilei ; Lu, Wenzhuo > ; Mcnamara, John ; > Iremonger, Bernard > Subject: [PATCH 1/2] doc: release note for QinQ cloud filter > > Signed-off-by: Bernard Iremonger Acked

Re: [dpdk-dev] [PATCH] doc: pvp: fix typo in host's testpmd command line

2017-04-10 Thread Mcnamara, John
> -Original Message- > From: Maxime Coquelin [mailto:maxime.coque...@redhat.com] > Sent: Friday, April 7, 2017 4:06 PM > To: dev@dpdk.org; Mcnamara, John > Cc: jfrei...@redhat.com; Maxime Coquelin > Subject: [PATCH] doc: pvp: fix typo in host's testpmd command line > > This patch adds

Re: [dpdk-dev] [PATCH] mem: balanced allocation of hugepages

2017-04-10 Thread Sergio Gonzalez Monroy
On 10/04/2017 08:11, Ilya Maximets wrote: On 07.04.2017 18:44, Thomas Monjalon wrote: 2017-04-07 18:14, Ilya Maximets: Hi All. I wanted to ask (just to clarify current status): Will this patch be included in current release (acked by maintainer) and then I will upgrade it to hybrid logic or I

Re: [dpdk-dev] [PATCH] doc: fix build error in DPAA2 PMD guide

2017-04-10 Thread Mcnamara, John
> -Original Message- > From: Shreyansh Jain [mailto:shreyansh.j...@nxp.com] > Sent: Monday, April 10, 2017 5:55 AM > To: Yigit, Ferruh ; Hemant Agrawal > > Cc: dev@dpdk.org; Mcnamara, John ; Shreyansh Jain > > Subject: [PATCH] doc: fix build error in DPAA2 PMD guide > > Signed-off-by:

Re: [dpdk-dev] Working of pipeline in a given config file and regarding user-defined actions in IP_PIPELINE application

2017-04-10 Thread Nidhia Varghese
Hi Jasvinder, Thanks for your help. What I understood from the programmer's guide is that, port action handler can be assigned to each input/output port to define actions to be executed on each input packet that is received by the port. But one pipeline can have more than one input and output por

[dpdk-dev] [PATCH v2 2/2] net/liquidio: fix null pointer check

2017-04-10 Thread Shijith Thotton
Fix null pointer check in release Rx/Tx queue APIs. Reported by Coverity scan: 1423923 Dereference before null check 1423924 Dereference before null check Fixes: 9a30013b9884 ("net/liquidio: add API to release Rx queue") Fixes: cf6bfcbea178 ("net/liquidio: add API to release Tx queue") Signed-of

[dpdk-dev] [PATCH v2 1/2] net/liquidio/base: fix mbox command initialization

2017-04-10 Thread Shijith Thotton
Initialize mail box command to request VF FLR. Data field was uninitialized before as it was not required and caused the following error during scan. Reported by Coverity scan: 1384518 Uninitialized scalar variable Fixes: cdb166963cae ("net/liquidio: add API for VF FLR") Signed-off-by: Shijith T

Re: [dpdk-dev] [PATCH] mem: balanced allocation of hugepages

2017-04-10 Thread Ilya Maximets
On 07.04.2017 18:44, Thomas Monjalon wrote: > 2017-04-07 18:14, Ilya Maximets: >> Hi All. >> >> I wanted to ask (just to clarify current status): >> Will this patch be included in current release (acked by maintainer) >> and then I will upgrade it to hybrid logic or I will just prepare v3 >> with h