Re: [dpdk-dev] [PATCH v4 00/16] add net mrvl pmd driver

2017-10-10 Thread Tomasz Duszynski
On Tue, Oct 10, 2017 at 01:25:42AM +0100, Ferruh Yigit wrote: > On 10/9/2017 9:59 PM, Ferruh Yigit wrote: > > On 10/9/2017 4:00 PM, Tomasz Duszynski wrote: > >> Hello, > >> > >> This patch series introduces the net driver for Marvell Armada 7k/8k > >> SoCs along with documentation. > >> > >> Below

Re: [dpdk-dev] [PATCH] bus/dpaa: fix memory allocation during bus scan

2017-10-10 Thread Thomas Monjalon
10/10/2017 09:01, Shreyansh Jain: > Fixes: 5b22cf744689 ("bus/dpaa: introducing FMan configurations") > Fixes: 37f9b54bd3cf ("net/dpaa: support Tx and Rx queue setup") These lines should appear after the explanation. > Cc: shreyansh.j...@nxp.com > > With the IOVA auto detection changes, bus scan

Re: [dpdk-dev] [PATCH] net/bnxt: fix compilation

2017-10-10 Thread Kavanagh, Mark B
>From: Yigit, Ferruh >Sent: Monday, October 9, 2017 6:34 PM >To: Kavanagh, Mark B ; dev@dpdk.org >Cc: ajit.khapa...@broadcom.com >Subject: Re: [PATCH] net/bnxt: fix compilation > >On 10/9/2017 2:59 PM, Mark Kavanagh wrote: >> As of 5ef3b79fdfe6f, compilation of DPDK fails with the following >> erro

[dpdk-dev] [PATCH v8 2/3] app/testpmd: add Rx HW timestamp

2017-10-10 Thread Raslan Darawsheh
Add enabling/disabling Rx HW timestamp from command line and parameter. Signed-off-by: Raslan Darawsheh Acked-by: Yongseok Koh --- app/test-pmd/cmdline.c| 15 --- app/test-pmd/config.c | 8 app/test-pmd/parameters.c | 5 + app/test-pmd/rxonly.c | 2 ++ ap

[dpdk-dev] [PATCH v8 1/3] ethdev: add Rx HW timestamp capability

2017-10-10 Thread Raslan Darawsheh
Add a new offload capability flag for Rx HW timestamp and enabling/disabling this via rte_eth_rxmode. Signed-off-by: Raslan Darawsheh Reviewed-by: Shahaf Shuler --- Changes in v7: - Updated features.rst to use both rx_offload_capa,rx_queue_offload_capa - Updated default.ini to have Timestamp off

[dpdk-dev] [PATCH v8 3/3] net/mlx5: add Rx HW timestamp

2017-10-10 Thread Raslan Darawsheh
Expose Rx HW timestamp to packet mbufs. Signed-off-by: Raslan Darawsheh --- Changes in V8: - Rebasing the work on top of next-net Changes in v7: - Rebasing the work on top ot c814b93b ("net/mlx5: add vectorized Rx/Tx burst for ARM") - Adding the timestamp code for ARM NEON Changes in v6: - Reb

Re: [dpdk-dev] [PATCH v2] examples/l3fwd: pass flow arguments when start app

2017-10-10 Thread Wu, Jingjing
> -Original Message- > From: Wu, Jingjing > Sent: Thursday, October 5, 2017 4:36 PM > To: Stephen Hemminger ; Li, Xiaoyun > > Cc: dev@dpdk.org > Subject: RE: [dpdk-dev] [PATCH v2] examples/l3fwd: pass flow arguments when > start app > > > > > -Original Message- > > From: Steph

Re: [dpdk-dev] [PATCH v4] vfio: fix sPAPR IOMMU DMA window size

2017-10-10 Thread Jonas Pfefferle1
Hi Thomas, Can you please apply this patch? Thanks, Jonas Alexey Kardashevskiy wrote on 08/10/2017 08:03:17 AM: > From: Alexey Kardashevskiy > To: Jonas Pfefferle , anatoly.bura...@intel.com > Cc: dev@dpdk.org > Date: 08/10/2017 08:03 AM > Subject: Re: [PATCH v4] vfio: fix sPAPR IOMMU DMA win

Re: [dpdk-dev] Mellanox ConnectX-5 crashes and mbuf leak

2017-10-10 Thread Martin Weiser
Hi Yongseok, I can confirm that this patch fixes the crashes and freezing in my tests so far. We still see an issue that once the mbufs run low and reference counts are used as well as freeing of mbufs in processing lcores happens we suddenly lose a large amount of mbufs that will never return to

Re: [dpdk-dev] [PATCH v3 2/4] cryptodev: move initialization

2017-10-10 Thread De Lara Guarch, Pablo
> -Original Message- > From: Jan Blunck [mailto:jblu...@gmail.com] On Behalf Of Jan Blunck > Sent: Friday, October 6, 2017 9:40 AM > To: dev@dpdk.org > Cc: Doherty, Declan ; De Lara Guarch, Pablo > > Subject: [PATCH v3 2/4] cryptodev: move initialization > > Signed-off-by: Jan Blunck

Re: [dpdk-dev] [PATCH v3 3/4] cryptodev: rework dependency on vdev header

2017-10-10 Thread De Lara Guarch, Pablo
> -Original Message- > From: Jan Blunck [mailto:jblu...@gmail.com] On Behalf Of Jan Blunck > Sent: Friday, October 6, 2017 9:40 AM > To: dev@dpdk.org > Cc: Doherty, Declan ; De Lara Guarch, Pablo > > Subject: [PATCH v3 3/4] cryptodev: rework dependency on vdev header > > The rte_cryptod

Re: [dpdk-dev] [PATCH v3 4/4] cryptodev: move parameter parsing to its own header

2017-10-10 Thread De Lara Guarch, Pablo
> -Original Message- > From: Jan Blunck [mailto:jblu...@gmail.com] On Behalf Of Jan Blunck > Sent: Friday, October 6, 2017 9:40 AM > To: dev@dpdk.org > Cc: Doherty, Declan ; De Lara Guarch, Pablo > > Subject: [PATCH v3 4/4] cryptodev: move parameter parsing to its own > header > > This

Re: [dpdk-dev] [PATCH] net/i40e: fix unexpected mbuf free in vPMD

2017-10-10 Thread Bruce Richardson
+Roger Melton On Tue, Oct 10, 2017 at 09:22:05AM -0400, Qi Zhang wrote: > vPMD tx does not set sw_ring's mbuf to NULL after free it. > So to prevent same mbuf be free again, we need more carefully > check in i40e_tx_queue_release_mbufs. > > Fixes: b4669bb95038 ("i40e: add vector Tx") > Cc: sta...

Re: [dpdk-dev] [PATCH] net/bonding: strengthen the judgment of lacp packets

2017-10-10 Thread Doherty, Declan
On 03/10/2017 4:49 PM, Ferruh Yigit wrote: On 9/19/2017 5:09 AM, zengganghui wrote: Local LACP packets do not have VLANs, and ethertype must be ETHER_TYPE_SLOW. But when the PMD supports VLAN strip, you cannot directly determine the ethertype from the packet, but depends on whether the VLAN is

Re: [dpdk-dev] [PATCH] bus/dpaa: fix memory allocation during bus scan

2017-10-10 Thread Shreyansh Jain
On Tuesday 10 October 2017 01:09 PM, Thomas Monjalon wrote: 10/10/2017 09:01, Shreyansh Jain: Fixes: 5b22cf744689 ("bus/dpaa: introducing FMan configurations") Fixes: 37f9b54bd3cf ("net/dpaa: support Tx and Rx queue setup") These lines should appear after the explanation. Ok. That I missed -

[dpdk-dev] [PATCH v2] bus/dpaa: fix memory allocation during bus scan

2017-10-10 Thread Shreyansh Jain
With the IOVA auto detection changes, bus scan is performed before memory initialization. DPAA bus scan must not use rte_malloc in its path. Fixes: cf408c22476c ("eal: auto detect IOVA mode") Cc: santosh.shu...@caviumnetworks.com Signed-off-by: Shreyansh Jain --- v2: Changed the Fixes line to c

[dpdk-dev] [PATCH] ring: guarantee ordering of cons/prod loading when doing enqueue/dequeue

2017-10-10 Thread Jia He
Before this patch: In __rte_ring_move_cons_head() ... do { /* Restore n as it may change every loop */ n = max; *old_head = r->cons.head;//1st load const uint32_t prod_tail = r->prod.tail; //2nd load In weak m

[dpdk-dev] [PATCH v8 0/5] net/softnic: sw fall-back pmd for traffic mgmt and others

2017-10-10 Thread Jasvinder Singh
The SoftNIC PMD is intended to provide SW fall-back options for specific ethdev APIs in a generic way to the NICs not supporting those features. Currently, the only implemented ethdev API is Traffic Management (TM), but other ethdev APIs such as rte_flow, traffic metering & policing, etc can be ea

[dpdk-dev] [PATCH v8 2/5] net/softnic: add traffic management support

2017-10-10 Thread Jasvinder Singh
Add ethdev Traffic Management API support to SoftNIC PMD. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh Acked-by: Lu, Wenzhuo Acked-by: Cristian Dumitrescu Acked-by: Thomas Monjalon --- v7 changes: - fix checkpatch warning v5 changes: - change function name rte_pmd_soft

[dpdk-dev] [PATCH v8 1/5] net/softnic: add softnic PMD

2017-10-10 Thread Jasvinder Singh
Add SoftNIC PMD to provide SW fall-back for ethdev APIs. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh Acked-by: Cristian Dumitrescu Acked-by: Thomas Monjalon --- v8 changes: - rebase on dpdk-next-net - fix merge conflict v7 changes: - rebase on dpdk-next-net - change po

[dpdk-dev] [PATCH v8 3/5] net/softnic: add TM capabilities ops

2017-10-10 Thread Jasvinder Singh
Implement ethdev TM capability APIs in SoftNIC PMD. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh Acked-by: Lu, Wenzhuo Acked-by: Cristian Dumitrescu Acked-by: Thomas Monjalon --- drivers/net/softnic/rte_eth_softnic.c | 12 +- drivers/net/softnic/rte_eth_soft

[dpdk-dev] [PATCH v8 5/5] app/testpmd: add traffic management forwarding mode

2017-10-10 Thread Jasvinder Singh
This commit extends the testpmd application with new forwarding engine that demonstrates the use of ethdev traffic management APIs and softnic PMD for QoS traffic management. In this mode, 5-level hierarchical tree of the QoS scheduler is built with the help of ethdev TM APIs such as shaper profil

[dpdk-dev] [PATCH v8 4/5] net/softnic: add TM hierarchy related ops

2017-10-10 Thread Jasvinder Singh
Implement ethdev TM hierarchy related APIs in SoftNIC PMD. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh Acked-by: Lu, Wenzhuo Acked-by: Cristian Dumitrescu Acked-by: Thomas Monjalon --- v7 change: - fix checkpatch warnings v5 change: - add macro for the tc period - add

Re: [dpdk-dev] [PATCH v7 5/5] app/testpmd: add traffic management forwarding mode

2017-10-10 Thread Singh, Jasvinder
> > > +static int > > +softport_tm_subport_node_add(portid_t port_id, struct tm_hierarchy > *h, > > + struct rte_tm_error *error) > > +{ > > + uint32_t subport_parent_node_id, subport_node_id; > > + struct rte_tm_node_params snp; > > + struct rte_tm_shaper_params ssp; > > + uint32_t pr

Re: [dpdk-dev] [PATCH v7 1/5] net/softnic: add softnic PMD

2017-10-10 Thread Singh, Jasvinder
> <...> > > > --- a/doc/guides/rel_notes/release_17_11.rst > > +++ b/doc/guides/rel_notes/release_17_11.rst > > @@ -81,6 +81,7 @@ New Features > >See the :ref:`Membership Library ` documentation in > >the Programmers Guide document, for more information. > > > > +<<< a3dabd30369bd73017

Re: [dpdk-dev] [PATCH v3 1/4] crypto/mrvl: add mrvl crypto pmd driver

2017-10-10 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Tomasz Duszynski > Sent: Saturday, October 7, 2017 9:28 PM > To: dev@dpdk.org > Cc: m...@semihalf.com; d...@marvell.com; nsams...@marvell.com; > jianbo@linaro.org; Tomasz Duszynski ; Jacek Siuda > > Subject:

Re: [dpdk-dev] [PATCH v3 1/4] crypto/mrvl: add mrvl crypto pmd driver

2017-10-10 Thread Tomasz Duszynski
On Tue, Oct 10, 2017 at 10:16:42AM +, De Lara Guarch, Pablo wrote: > > > > -Original Message- > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Tomasz Duszynski > > Sent: Saturday, October 7, 2017 9:28 PM > > To: dev@dpdk.org > > Cc: m...@semihalf.com; d...@marvell.com; nsams...@

Re: [dpdk-dev] [PATCH v3 4/4] test: add mrvl crypto pmd unit tests

2017-10-10 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Tomasz Duszynski > Sent: Saturday, October 7, 2017 9:28 PM > To: dev@dpdk.org > Cc: m...@semihalf.com; d...@marvell.com; nsams...@marvell.com; > jianbo@linaro.org; Tomasz Duszynski ; Jacek Siuda > > Subject:

Re: [dpdk-dev] [PATCH v3 4/4] test: add mrvl crypto pmd unit tests

2017-10-10 Thread Tomasz Duszynski
On Tue, Oct 10, 2017 at 10:44:06AM +, De Lara Guarch, Pablo wrote: > > > > -Original Message- > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Tomasz Duszynski > > Sent: Saturday, October 7, 2017 9:28 PM > > To: dev@dpdk.org > > Cc: m...@semihalf.com; d...@marvell.com; nsams...@

Re: [dpdk-dev] [PATCH] net/i40e: fix unexpected mbuf free in vPMD

2017-10-10 Thread Roger B. Melton
Hi Bruce, I can.  It will take a day or 2 to get the results. Regards, Roger On 10/10/17 4:48 AM, Bruce Richardson wrote: +Roger Melton On Tue, Oct 10, 2017 at 09:22:05AM -0400, Qi Zhang wrote: vPMD tx does not set sw_ring's mbuf to NULL after free it. So to prevent same mbuf be free again,

[dpdk-dev] [PATCH V2 2/5] test: update due to api changes in librte_table

2017-10-10 Thread Cristian Dumitrescu
Signed-off-by: Cristian Dumitrescu --- Changes in V2: - None test/test/test_table.c | 1 + test/test/test_table.h | 3 +- test/test/test_table_combined.c | 140 + test/test/test_table_tables.c | 148 +

[dpdk-dev] [PATCH V2 0/5] table: add key mask for hash tables

2017-10-10 Thread Cristian Dumitrescu
Main changes: 1. The key_mask parameter is added to all the hash tables that were previously missing it, as well to the hash compute function. This was first started in DPDK 2.0, but was only implemented for a couple of hash tables. The benefit of this approach is that it allows for bette

[dpdk-dev] [PATCH V2 3/5] test-pipeline: update due to api changes in librte_table

2017-10-10 Thread Cristian Dumitrescu
Signed-off-by: Cristian Dumitrescu --- Changes in V2: - None test/test-pipeline/main.h | 5 +- test/test-pipeline/pipeline_hash.c | 107 + 2 files changed, 18 insertions(+), 94 deletions(-) diff --git a/test/test-pipeline/main.h b/test/test-pipelin

[dpdk-dev] [PATCH V2 4/5] ip_pipeline: update due to api changes in librte_table

2017-10-10 Thread Cristian Dumitrescu
Signed-off-by: Cristian Dumitrescu --- Changes in V2: - Added one file that was not picked up in V2 by mistake (hash_func.h) - Fixed minor style issue examples/ip_pipeline/pipeline/hash_func.h | 178 - .../pipeline/pipeline_flow_classification.c| 12 +- .../

[dpdk-dev] [PATCH V2 5/5] deprecation: removed the librte_table notice

2017-10-10 Thread Cristian Dumitrescu
Signed-off-by: Cristian Dumitrescu --- doc/guides/rel_notes/deprecation.rst | 6 -- 1 file changed, 6 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index f4269f0..dd0213b 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guid

Re: [dpdk-dev] [PATCH] examples/ipsec-secgw: fix rte flow egress

2017-10-10 Thread De Lara Guarch, Pablo
> -Original Message- > From: Boris Pismenny [mailto:bor...@mellanox.com] > Sent: Sunday, September 17, 2017 1:17 PM > To: dev@dpdk.org > Cc: akhil.go...@nxp.com; Doherty, Declan ; De > Lara Guarch, Pablo ; > hemant.agra...@nxp.com; Nicolau, Radu ; > bor...@mellanox.com; avia...@mellanox.c

Re: [dpdk-dev] [PATCH v3 3/4] cryptodev: rework dependency on vdev header

2017-10-10 Thread Jan Blunck
On Tue, Oct 10, 2017 at 10:47 AM, De Lara Guarch, Pablo wrote: > > >> -Original Message- >> From: Jan Blunck [mailto:jblu...@gmail.com] On Behalf Of Jan Blunck >> Sent: Friday, October 6, 2017 9:40 AM >> To: dev@dpdk.org >> Cc: Doherty, Declan ; De Lara Guarch, Pablo >> >> Subject: [PATCH

[dpdk-dev] [PATCH v2] net/i40e: fix uninitialized variable

2017-10-10 Thread Yong Wang
In func i40evf_dev_link_update(), "new_link.link_autoneg" is used in func call i40evf_dev_atomic_write_link_status(), but is uninitialized. Fixes: 2a73125b7041 ("i40evf: fix link info update") Cc: sta...@dpdk.org Signed-off-by: Yong Wang --- v2 change: set it by checking link_speeds of

[dpdk-dev] [PATCH 2/4] net/dpaa2: add API's to support event eth adapter

2017-10-10 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/net/dpaa2/dpaa2_ethdev.c| 67 + drivers/net/dpaa2/dpaa2_ethdev.h| 15 +++ drivers/net/dpaa2/dpaa2_rxtx.c | 20 + drivers/net/dpaa2/rte_pmd_dpaa2_version.map | 7 +++ 4 files change

[dpdk-dev] [PATCH 1/4] drivers: add queue parameter in event processing callback

2017-10-10 Thread Nipun Gupta
For event dequeues for ethernet queues, a dpaa2_queue structure is required to get the configuration for that ethernet queue. Based on this configuration the rte_event is to be filled at the ingress side. Signed-off-by: Nipun Gupta --- These patches are based on the below patch series: http://dpd

[dpdk-dev] [PATCH 4/4] event/dpaa2: improve the err handling and log msg

2017-10-10 Thread Nipun Gupta
Signed-off-by: Hemant Agrawal --- drivers/event/dpaa2/dpaa2_eventdev.c | 9 + drivers/event/dpaa2/dpaa2_hw_dpcon.c | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c index ca782c3..7cb5d43 100

[dpdk-dev] [PATCH 3/4] event/dpaa2: support event eth adapter

2017-10-10 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/event/Makefile | 4 +- drivers/event/dpaa2/Makefile | 2 + drivers/event/dpaa2/dpaa2_eventdev.c | 96 +++- drivers/event/dpaa2/dpaa2_eventdev.h | 8 +++ 4 files changed, 107 insertions(+), 3 deletions(

Re: [dpdk-dev] [PATCH] net/i40e: fix unexpected mbuf free in vPMD

2017-10-10 Thread Bruce Richardson
On Tue, Oct 10, 2017 at 07:05:33AM -0400, Roger B. Melton wrote: > Hi Bruce, > > I can.  It will take a day or 2 to get the results. > > Regards, > Roger > Thanks. Keep us posted. We want to ensure we have the best fix possible for the issue in this release. /Bruce > > On 10/10/17 4:48 AM, B

Re: [dpdk-dev] [PATCH] net/i40e: fix unexpected mbuf free in vPMD

2017-10-10 Thread Roger B. Melton
On 10/10/17 7:39 AM, Bruce Richardson wrote: On Tue, Oct 10, 2017 at 07:05:33AM -0400, Roger B. Melton wrote: Hi Bruce, I can.  It will take a day or 2 to get the results. Regards, Roger Thanks. Keep us posted. We want to ensure we have the best fix possible for the issue in this release.

[dpdk-dev] [PATCH v4 2/4] doc: add mrvl crypto pmd documentation

2017-10-10 Thread Tomasz Duszynski
Add documentation for the MRVL CRYPTO PMD driver. Signed-off-by: Jacek Siuda Signed-off-by: Tomasz Duszynski --- v4: * Updated documentation. v3: * Updated documentation. doc/guides/cryptodevs/features/mrvl.ini | 42 +++ doc/guides/cryptodevs/index.rst | 1 + doc/guides/cry

Re: [dpdk-dev] [PATCH v2 01/12] lib/rte_security: add security library

2017-10-10 Thread Akhil Goyal
Hi Konstantin, On 10/9/2017 7:12 PM, Ananyev, Konstantin wrote: Hi Akhil, -Original Message- From: Akhil Goyal [mailto:akhil.go...@nxp.com] Sent: Friday, October 6, 2017 7:11 PM To: Ananyev, Konstantin ; dev@dpdk.org Cc: Doherty, Declan ; De Lara Guarch, Pablo ; hemant.agra...@nxp.com

[dpdk-dev] [PATCH v4 0/4] add crypto mrvl pmd driver

2017-10-10 Thread Tomasz Duszynski
Hello, This patch series introduces crypto driver for Marvell Armada 7k/8k SoCs along with documentation and crypto pmd driver tests. Below you can find the list of features which crypto pmd supports: * Symmetric crypto * Sym operation chaining * AES CBC (128) * AES CBC (192) * AES CBC (256) * AE

[dpdk-dev] [PATCH v4 1/4] crypto/mrvl: add mrvl crypto pmd driver

2017-10-10 Thread Tomasz Duszynski
Add support for the Marvell Security Crypto Accelerator EIP197. Driver is based on external, publicly available, Marvell MUSDK library that provides access to the hardware with minimum overhead and high performance. Driver comes with support for the following features: * Symmetric crypto * Sym op

[dpdk-dev] [PATCH v4 3/4] maintainers: add maintainers for the mrvl crypto pmd

2017-10-10 Thread Tomasz Duszynski
Signed-off-by: Jacek Siuda Signed-off-by: Tomasz Duszynski --- v4: * Changed Jianbo Liu mail address. MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index fd565ae..eb453a9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -576,6 +576,16 @@ F:

[dpdk-dev] [PATCH v4 4/4] test: add mrvl crypto pmd unit tests

2017-10-10 Thread Tomasz Duszynski
Add unit tests for MRVL CRYPTO PMD driver. Signed-off-by: Jacek Siuda Signed-off-by: Tomasz Duszynski --- test/test/test_cryptodev.c | 168 test/test/test_cryptodev.h | 1 + test/test/test_cryptodev_aes_test_vectors.h | 72 ++

Re: [dpdk-dev] [PATCH v4] ethdev: allow returning error on VLAN offload configuration

2017-10-10 Thread David Harton (dharton)
> -Original Message- > From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] > > On 9/1/2017 3:36 AM, David Harton wrote: > > Some devices may not support or fail setting VLAN offload > > configuration based on dynamic circurmstances so the > > vlan_offload_set_t vector is modified to return

Re: [dpdk-dev] [PATCH v3 00/12] introduce security offload library

2017-10-10 Thread Akhil Goyal
Hi Konstantin, On 10/9/2017 7:19 PM, Ananyev, Konstantin wrote: -Original Message- From: Akhil Goyal [mailto:akhil.go...@nxp.com] Sent: Friday, October 6, 2017 7:12 PM To: dev@dpdk.org Cc: Doherty, Declan ; De Lara Guarch, Pablo ; hemant.agra...@nxp.com; Nicolau, Radu ; bor...@mellano

[dpdk-dev] [PATCH] net/octeontx/base: fix icc build

2017-10-10 Thread Pablo de Lara
drivers/net/octeontx/base/octeontx_pkovf.c(527): error #592: variable "i" is used before its value is set RTE_SET_USED(i); Fixes: ab4f789560c4 ("net/octeontx/base: probe PKI and PKO PCIe VF devices") Signed-off-by: Pablo de Lara --- drivers/net/octeontx/base/octeontx_pkovf.c | 4 ++-- 1

[dpdk-dev] [PATCH] vhost-user: create union to distinguish master and slave requests

2017-10-10 Thread Maxime Coquelin
This patch adds an union in VhostUserMsg to distinguish between master and slave initiated requests, instead of casting slave requests as master request. Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost_user.c | 14 +++--- lib/librte_vhost/vhost_user.h | 5 - 2 files change

Re: [dpdk-dev] [PATCH v3 3/4] cryptodev: rework dependency on vdev header

2017-10-10 Thread De Lara Guarch, Pablo
> -Original Message- > From: jblu...@gmail.com [mailto:jblu...@gmail.com] On Behalf Of Jan > Blunck > Sent: Tuesday, October 10, 2017 12:30 PM > To: De Lara Guarch, Pablo > Cc: dev@dpdk.org; Doherty, Declan > Subject: Re: [PATCH v3 3/4] cryptodev: rework dependency on vdev header > > O

Re: [dpdk-dev] [PATCH v2] bus/dpaa: fix memory allocation during bus scan

2017-10-10 Thread Thomas Monjalon
10/10/2017 11:34, Shreyansh Jain: > With the IOVA auto detection changes, bus scan is performed before > memory initialization. DPAA bus scan must not use rte_malloc in > its path. > > Fixes: cf408c22476c ("eal: auto detect IOVA mode") > Cc: santosh.shu...@caviumnetworks.com > > Signed-off-by: Sh

Re: [dpdk-dev] [PATCH v2] net/i40e: fix uninitialized variable

2017-10-10 Thread Wu, Jingjing
> -Original Message- > From: Yong Wang [mailto:wang.yon...@zte.com.cn] > Sent: Tuesday, October 10, 2017 7:24 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; Yong Wang ; sta...@dpdk.org > Subject: [PATCH v2] net/i40e: fix uninitialized variable > > In func i40evf_dev_link_update(), "new_link.

Re: [dpdk-dev] [PATCH v4] vfio: fix sPAPR IOMMU DMA window size

2017-10-10 Thread Thomas Monjalon
08/08/2017 14:06, Burakov, Anatoly: > > From: Jonas Pfefferle [mailto:j...@zurich.ibm.com] > > Sent: Tuesday, August 8, 2017 12:17 PM > > To: Burakov, Anatoly > > Cc: dev@dpdk.org; a...@ozlabs.ru; Jonas Pfefferle > > Subject: [PATCH v4] vfio: fix sPAPR IOMMU DMA window size > > > > DMA window si

Re: [dpdk-dev] [PATCH v8 1/3] ethdev: add Rx HW timestamp capability

2017-10-10 Thread Yongseok Koh
> On Oct 10, 2017, at 12:45 AM, Raslan Darawsheh wrote: > > Add a new offload capability flag for Rx HW > timestamp and enabling/disabling this via rte_eth_rxmode. > > Signed-off-by: Raslan Darawsheh > Reviewed-by: Shahaf Shuler > --- Acked-by: Yongseok Koh Thanks

Re: [dpdk-dev] [PATCH] net/octeontx/base: fix icc build

2017-10-10 Thread santosh
On Tuesday 10 October 2017 10:07 AM, Pablo de Lara wrote: > drivers/net/octeontx/base/octeontx_pkovf.c(527): > error #592: variable "i" is used before its value is set > RTE_SET_USED(i); > > Fixes: ab4f789560c4 ("net/octeontx/base: probe PKI and PKO PCIe VF devices") > > Signed-off-by: Pab

Re: [dpdk-dev] [PATCH v3] vfio: refactor PCI BAR mapping

2017-10-10 Thread Thomas Monjalon
09/10/2017 14:00, Burakov, Anatoly: > On 06-Oct-17 3:40 PM, Jonas Pfefferle wrote: > > Split pci_vfio_map_resource for primary and secondary processes. > > Save all relevant mapping data in primary process to allow > > the secondary process to perform mappings. > > > > Signed-off-by: Jonas Pfeffer

Re: [dpdk-dev] [PATCH] vhost-user: create union to distinguish master and slave requests

2017-10-10 Thread Yuanhan Liu
On Tue, Oct 10, 2017 at 02:47:54PM +0200, Maxime Coquelin wrote: > This patch adds an union in VhostUserMsg to distinguish between > master and slave initiated requests, instead of casting slave > requests as master request. Applied to dpdk-next-virtio. Thanks. --yliu

[dpdk-dev] [PATCH v6 1/7] eventdev: add caps API and PMD callback for eth Rx adapter

2017-10-10 Thread Nikhil Rao
The caps API allows application to retrieve capability information needed to configure the ethernet Rx adapter for the eventdev and ethdev pair. For e.g., the ethdev, eventdev pairing maybe such that all of the ethdev Rx queues can only be connected to a single event queue, in this case the applic

[dpdk-dev] [PATCH v6 2/7] eventdev: add PMD callbacks for eth Rx adapter

2017-10-10 Thread Nikhil Rao
The PMD callbacks are used by the rte_event_eth_rx_xxx() APIs to configure and control the ethernet receive adapter if packet transfers from the ethdev to eventdev is implemented in hardware. Signed-off-by: Nikhil Rao --- lib/librte_eventdev/rte_eventdev_pmd.h | 145 +

[dpdk-dev] [PATCH v6 0/7] eventdev: cover letter: eth Rx adapter

2017-10-10 Thread Nikhil Rao
Eventdev-based networking applications require a component to dequeue packets from NIC Rx queues and inject them into eventdev queues[1]. While some platforms (e.g. Cavium Octeontx) do this operation in hardware, other platforms use software. This patchset introduces an ethernet Rx event adapter t

[dpdk-dev] [PATCH v6 3/7] eventdev: add eth Rx adapter caps function to SW PMD

2017-10-10 Thread Nikhil Rao
Signed-off-by: Nikhil Rao --- lib/librte_eventdev/rte_eventdev_pmd.h | 8 drivers/event/sw/sw_evdev.c| 15 +++ 2 files changed, 23 insertions(+) diff --git a/lib/librte_eventdev/rte_eventdev_pmd.h b/lib/librte_eventdev/rte_eventdev_pmd.h index 9f3188fc8..4369d9

[dpdk-dev] [PATCH v6 4/7] eventdev: add eth Rx adapter API header

2017-10-10 Thread Nikhil Rao
Add common APIs for configuring packet transfer from ethernet Rx queues to event devices across HW & SW packet transfer mechanisms. A detailed description of the adapter is contained in the header's comments. Signed-off-by: Nikhil Rao --- lib/librte_eventdev/rte_event_eth_rx_adapter.h | 444

[dpdk-dev] [PATCH v6 5/7] eventdev: add event type for eth Rx adapter

2017-10-10 Thread Nikhil Rao
Add RTE_EVENT_TYPE_ETH_RX_ADAPTER event type. Certain platforms (e.g., octeontx), in the event dequeue function, need to identify events injected from ethernet hardware into eventdev so that DPDK mbuf can be populated from the HW descriptor. Events injected from ethernet hardware would use an even

[dpdk-dev] [PATCH v6 6/7] eventdev: add eth Rx adapter implementation

2017-10-10 Thread Nikhil Rao
The adapter implementation uses eventdev PMDs to configure the packet transfer if HW support is available and if not, it uses an EAL service function that reads packets from ethernet Rx queues and injects these as events into the event device. Signed-off-by: Gage Eads Signed-off-by: Abhinandan Gu

[dpdk-dev] [PATCH v6 7/7] eventdev: add tests for eth Rx adapter APIs

2017-10-10 Thread Nikhil Rao
Add unit tests for rte_event_eth_rx_adapter_xxx() APIs Signed-off-by: Nikhil Rao --- MAINTAINERS| 1 + test/test/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index edcdcc2b8..5b257b375 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -274,6 +274,7

Re: [dpdk-dev] [PATCH v3 03/12] cryptodev: support security APIs

2017-10-10 Thread De Lara Guarch, Pablo
> -Original Message- > From: Akhil Goyal [mailto:akhil.go...@nxp.com] > Sent: Friday, October 6, 2017 7:12 PM > To: dev@dpdk.org > Cc: Doherty, Declan ; De Lara Guarch, Pablo > ; hemant.agra...@nxp.com; Nicolau, > Radu ; bor...@mellanox.com; > avia...@mellanox.com; tho...@monjalon.net; sa

Re: [dpdk-dev] [PATCH v2] eal: enable vfio independent of no PCI flag

2017-10-10 Thread Hemant Agrawal
Hi Thomas, Anatoly, On 10/7/2017 5:07 PM, Thomas Monjalon wrote: 07/10/2017 13:20, Hemant Agrawal: In case no_pci is configured, other buses e.g. fslmc bus will still need the the vfio to be enabled. Signed-off-by: Hemant Agrawal --- v2: enabled VFIO, independent of no-pci flag as suggested b

[dpdk-dev] [git pull] virtio/vhost changes for 17.11-rc1

2017-10-10 Thread Yuanhan Liu
Hi Thomas, Please consider pulling following virtio/vhost changes for 17.11-rc1 at git://dpdk.org/next/dpdk-next-virtiomaster Thanks. --yliu --- Daniel Mrzyglod (1): net/virtio: fix of untrusted scalar value Dariusz Stojaczyk (1): vhost: add user callbacks for socke

[dpdk-dev] [PATCH v3] net/mlx5: fix deadlock due to buffered slots in Rx SW ring

2017-10-10 Thread Yongseok Koh
When replenishing Rx ring, there're always buffered slots reserved between consumed entries and HW owned entries. These have to be filled with fake mbufs to protect from possible overflow rather than optimistically expecting successful replenishment which can cause deadlock with small-sized queue.

Re: [dpdk-dev] [PATCH v6 7/7] eventdev: add tests for eth Rx adapter APIs

2017-10-10 Thread Jerin Jacob
-Original Message- > Date: Wed, 11 Oct 2017 03:51:37 +0530 > From: Nikhil Rao > To: jerin.ja...@caviumnetworks.com, bruce.richard...@intel.com > CC: dev@dpdk.org > Subject: [PATCH v6 7/7] eventdev: add tests for eth Rx adapter APIs > X-Mailer: git-send-email 2.7.4 > > Add unit tests for r

Re: [dpdk-dev] [PATCH] bus/dpaa: fix memory allocation during bus scan

2017-10-10 Thread santosh
Hi Thomas, On Tuesday 10 October 2017 01:09 PM, Thomas Monjalon wrote: > 10/10/2017 09:01, Shreyansh Jain: >> Fixes: 5b22cf744689 ("bus/dpaa: introducing FMan configurations") >> Fixes: 37f9b54bd3cf ("net/dpaa: support Tx and Rx queue setup") > These lines should appear after the explanation. > >

[dpdk-dev] [PATCH] mempool/dpaa2: improve error handling

2017-10-10 Thread Hemant Agrawal
Reverting the config on encountering errors. Signed-off-by: Hemant Agrawal --- drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 34 +--- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c b/drivers/mempool/dpaa2/dpaa2_h

[dpdk-dev] [PATCH] doc: minor corrections in DPAA NIC guide

2017-10-10 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/dpaa.rst | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/guides/nics/dpaa.rst b/doc/guides/nics/dpaa.rst index 7d054d7..d331c05 100644 --- a/doc/guides/nics/dpaa.rst +++ b/doc/guides/nics/dpaa.rst @@ -201,7 +201,7

[dpdk-dev] [PATCH] doc: update the SDK version for DPAA2

2017-10-10 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/cryptodevs/dpaa2_sec.rst | 8 doc/guides/nics/dpaa2.rst | 8 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/guides/cryptodevs/dpaa2_sec.rst b/doc/guides/cryptodevs/dpaa2_sec.rst index 18d980e..25dbf4a 10

Re: [dpdk-dev] [PATCH 0/2] Multiple Pktmbuf mempool support

2017-10-10 Thread Thomas Monjalon
25/09/2017 12:24, Olivier MATZ: > Hi Hemant, > > On Fri, Sep 22, 2017 at 12:43:36PM +0530, Hemant Agrawal wrote: > > On 7/4/2017 5:52 PM, Hemant Agrawal wrote: > > > This patch is in addition to the patch series[1] submitted by > > > Santosh to allow application to set mempool handle. > > > > > >

[dpdk-dev] [PATCH] drivers: update DPAA2 libs ABIVER and build reproducibility

2017-10-10 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/Makefile| 3 ++- drivers/crypto/dpaa2_sec/Makefile | 3 ++- drivers/event/dpaa2/Makefile | 3 ++- drivers/mempool/dpaa2/Makefile| 3 ++- drivers/net/dpaa2/Makefile| 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-

[dpdk-dev] [PATCH] mempool: remove get capability debug print

2017-10-10 Thread Hemant Agrawal
This is not required to be printed for every mempool call. Signed-off-by: Hemant Agrawal --- lib/librte_mempool/rte_mempool.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/librte_mempool/rte_mempool.c b/lib/librte_mempool/rte_mempool.c index 57a4f81..6357fd4 100644

Re: [dpdk-dev] [PATCH 0/2] Multiple Pktmbuf mempool support

2017-10-10 Thread Hemant Agrawal
On 10/10/2017 7:45 PM, Thomas Monjalon wrote: 25/09/2017 12:24, Olivier MATZ: Hi Hemant, On Fri, Sep 22, 2017 at 12:43:36PM +0530, Hemant Agrawal wrote: On 7/4/2017 5:52 PM, Hemant Agrawal wrote: This patch is in addition to the patch series[1] submitted by Santosh to allow application to set

[dpdk-dev] [PATCH 0/4] patches for bnxt

2017-10-10 Thread Ajit Khaparde
Patches against dpdk-next-net. Please apply. Ajit Khaparde (4): net/bnxt: fix cleanup if a filter allocation fails net/bnxt: prevent programming a duplicate flow net/bnxt: include fdir support net/bnxt: fix the association of a MACVLAN per VNIC drivers/net/bnxt/bnxt_ethdev.c | 384 ++

[dpdk-dev] [PATCH 1/4] net/bnxt: fix cleanup if a filter allocation fails

2017-10-10 Thread Ajit Khaparde
We are not checking if a filter allocation succeeded. And we end up accessing a null pointer after that. Also invalidate the fw_l2_filter_id to prevent unnecessary HW access and hence HWRM command failures during exit. Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_filter.c | 14

[dpdk-dev] [PATCH 3/4] net/bnxt: include fdir support

2017-10-10 Thread Ajit Khaparde
This patch brings support for Flow Director. Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_ethdev.c | 384 - drivers/net/bnxt/bnxt_filter.h | 2 + 2 files changed, 384 insertions(+), 2 deletions(-) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/

[dpdk-dev] [PATCH 2/4] net/bnxt: prevent programming a duplicate flow

2017-10-10 Thread Ajit Khaparde
Match a flow against existing flows programmed in the HW and prevent overlapping entries. Also change log level of some logs to DEBUG. Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_filter.c | 72 +++--- 1 file changed, 67 insertions(+), 5 deletions(-)

[dpdk-dev] [PATCH 4/4] net/bnxt: fix the association of a MACVLAN per VNIC

2017-10-10 Thread Ajit Khaparde
We were not associating a MAC+VLAN per VNIC filter correctly. This patch fixes that. Also set the VLAN type appropriately. Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_hwrm.c | 22 ++ drivers/net/bnxt/bnxt_rxq.c | 2 +- 2 files changed, 23 insertions(+), 1 deletio

[dpdk-dev] [PATCH v2] net/mlx5: flow counter support

2017-10-10 Thread Nelio Laranjeiro
From: Ori Kam Example for setting rule for counting packets with dest ip = 192.168.3.1 in testpmd: testpmd: flow create 0 ingress pattern eth / ipv4 dst is 192.168.3.1 / end actions queue index 0 / count / end Reading the number of packets and bytes for the rule: testpmd: flow query 0 0 count

Re: [dpdk-dev] [PATCH] mempool: remove get capability debug print

2017-10-10 Thread santosh
On Tuesday 10 October 2017 07:47 PM, Hemant Agrawal wrote: > This is not required to be printed for every mempool call. > > Signed-off-by: Hemant Agrawal > --- Will print only in debug mode though, But ok with patch. Reviewed-by: Santosh Shukla Thanks.

Re: [dpdk-dev] Mellanox ConnectX-5 crashes and mbuf leak

2017-10-10 Thread Yongseok Koh
Glad to hear that helped! Then the patch will get merged soon. Thanks, Yongseok > On Oct 10, 2017, at 1:10 AM, Martin Weiser > wrote: > > Hi Yongseok, > > I can confirm that this patch fixes the crashes and freezing in my tests > so far. > > We still see an issue that once the mbufs run low

[dpdk-dev] [PATCH v9 1/3] ethdev: add Rx HW timestamp capability

2017-10-10 Thread Raslan Darawsheh
Add a new offload capability flag for Rx HW timestamp and enabling/disabling this via rte_eth_rxmode. Signed-off-by: Raslan Darawsheh Reviewed-by: Shahaf Shuler Acked-by: Yongseok Koh --- Changes in v7: - Updated features.rst to use both rx_offload_capa,rx_queue_offload_capa - Updated default.i

[dpdk-dev] [PATCH v9 2/3] app/testpmd: add Rx HW timestamp

2017-10-10 Thread Raslan Darawsheh
Add enabling/disabling Rx HW timestamp from command line and parameter. Signed-off-by: Raslan Darawsheh Acked-by: Yongseok Koh --- app/test-pmd/cmdline.c| 15 --- app/test-pmd/config.c | 8 app/test-pmd/parameters.c | 5 + app/test-pmd/rxonly.c | 2 ++ ap

[dpdk-dev] [PATCH v9 3/3] net/mlx5: add Rx HW timestamp

2017-10-10 Thread Raslan Darawsheh
Expose Rx HW timestamp to packet mbufs. Signed-off-by: Raslan Darawsheh --- Changes in v9: - Fix indentation issue in mlx5_rxtx_vec_neon.h Changes in v8: - Rebasing the work on top of next-net Changes in v7: - Rebasing the work on top ot c814b93b ("net/mlx5: add vectorized Rx/Tx burst for ARM"

Re: [dpdk-dev] [PATCH v9 3/3] net/mlx5: add Rx HW timestamp

2017-10-10 Thread Yongseok Koh
> On Oct 10, 2017, at 7:37 AM, Raslan Darawsheh wrote: > > Expose Rx HW timestamp to packet mbufs. > > Signed-off-by: Raslan Darawsheh > --- Acked-by: Yongseok Koh Thanks

[dpdk-dev] [PATCH v6 7/7] eventdev: add tests for eth Rx adapter APIs

2017-10-10 Thread Nikhil Rao
Add unit tests for rte_event_eth_rx_adapter_xxx() APIs Signed-off-by: Nikhil Rao --- test/test/test_event_eth_rx_adapter.c | 453 ++ MAINTAINERS | 1 + test/test/Makefile| 1 + 3 files changed, 455 insertions(+) c

[dpdk-dev] [PATCH] net/octeontx: use eventdev attributes to get count

2017-10-10 Thread Pavan Nikhilesh
Use the event device get attribute function to fetch the event port and queue count Signed-off-by: Pavan Nikhilesh --- drivers/net/octeontx/octeontx_ethdev.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/octeontx/octeontx_ethdev.c b/drivers/net/octeontx/o

[dpdk-dev] [PATCH] event/sw: fix get of single xstat value

2017-10-10 Thread Harry van Haaren
This commit allows the xstats_get() API to return just a single value based on its ID. Previously, the "ret_n_lt_stats" value set to 1 ensured a check to take place that the array was larger than the available xstats. The xstats_get() API allows retriving of individual stats - hence this check sho

Re: [dpdk-dev] [PATCH] drivers: update DPAA2 libs ABIVER and build reproducibility

2017-10-10 Thread Thomas Monjalon
10/10/2017 16:15, Hemant Agrawal: > Signed-off-by: Hemant Agrawal > --- > drivers/bus/fslmc/Makefile| 3 ++- > drivers/crypto/dpaa2_sec/Makefile | 3 ++- > drivers/event/dpaa2/Makefile | 3 ++- > drivers/mempool/dpaa2/Makefile| 3 ++- > drivers/net/dpaa2/Makefile| 3 ++- >

Re: [dpdk-dev] [PATCH] eal: bus scan and probe never fail

2017-10-10 Thread Aaron Conole
Shreyansh Jain writes: > Hello Don, > > On Monday 09 October 2017 11:51 PM, Don Provan wrote: >>> -Original Message- >>> From: Shreyansh Jain [mailto:shreyansh.j...@nxp.com] >>> Sent: Monday, October 09, 2017 4:10 AM >>> To: Jan Blunck ; Thomas Monjalon >>> >>> Cc: dev ; Hemant Agrawal

  1   2   >