[dpdk-dev] [PATCH v2 12/18] bus/dpaa: query queue frame count support

2018-01-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/qbman/qman.c| 22 ++ drivers/bus/dpaa/include/fsl_qman.h | 7 +++ drivers/bus/dpaa/rte_bus_dpaa_version.map | 1 + 3 files changed, 30 insertions(+) diff --git a/drivers/bus/dpaa/base/qbman/qman.c b

[dpdk-dev] [PATCH v2 15/18] app/testpmd: add support for loopback config for dpaa

2018-01-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- app/test-pmd/Makefile | 4 app/test-pmd/cmdline.c | 7 +++ 2 files changed, 11 insertions(+) diff --git a/app/test-pmd/Makefile b/app/test-pmd/Makefile index 82b3481..34125e5 100644 --- a/app/test-pmd/Makefile +++ b/app/test-pmd/Makefile @@ -43,6

[dpdk-dev] [PATCH v2 13/18] net/dpaa: add Rx queue count support

2018-01-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index 5d94af5..de016ab 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b/drivers/net/dpaa

[dpdk-dev] [PATCH v2 14/18] net/dpaa: add support for loopback API

2018-01-09 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/Makefile | 3 +++ drivers/net/dpaa/dpaa_ethdev.c| 42 +++ drivers/net/dpaa/rte_pmd_dpaa.h | 35 ++ drivers/net/dpaa/rte_pmd_dpaa_version.map | 8

[dpdk-dev] [PATCH v2 02/18] net/dpaa: fix FW version code

2018-01-09 Thread Hemant Agrawal
fix the soc id path and missing fclose Fixes: cf0fab1d2ca5 ("net/dpaa: support firmware version get API") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 14 +- drivers/net/dpaa/dpaa_ethdev.h | 2 +- 2 files changed, 6 inserti

[dpdk-dev] [PATCH v2 16/18] bus/dpaa: add support for static queues

2018-01-09 Thread Hemant Agrawal
-off-by: Sunil Kumar Kori Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/qbman/qman.c| 64 +++ drivers/bus/dpaa/base/qbman/qman.h| 4 +- drivers/bus/dpaa/include/fsl_qman.h | 14 ++- drivers/bus/dpaa/rte_bus_dpaa_version.map | 4

[dpdk-dev] [PATCH v2 18/18] bus/dpaa: support for enqueue frames of multiple queues

2018-01-09 Thread Hemant Agrawal
From: Akhil Goyal Signed-off-by: Akhil Goyal Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal --- drivers/bus/dpaa/base/qbman/qman.c| 66 +++ drivers/bus/dpaa/include/fsl_qman.h | 14 +++ drivers/bus/dpaa/rte_bus_dpaa_version.map | 1 + 3

[dpdk-dev] [PATCH v2 17/18] net/dpaa: integrate the support of push mode in PMD

2018-01-09 Thread Hemant Agrawal
Signed-off-by: Sunil Kumar Kori Signed-off-by: Hemant Agrawal Signed-off-by: Nipun Gupta --- doc/guides/nics/dpaa.rst | 11 drivers/net/dpaa/dpaa_ethdev.c | 64 +- drivers/net/dpaa/dpaa_ethdev.h | 2 +- drivers/net/dpaa/dpaa_rxtx.c | 34

Re: [dpdk-dev] [PATCH 01/18] net/dpaa: fix coverity reported issues

2018-01-09 Thread Hemant Agrawal
On 1/9/2018 4:16 PM, Ferruh Yigit wrote: On 12/13/2017 12:05 PM, Hemant Agrawal wrote: Fixes: 05ba55bc2b1a ("net/dpaa: add packet dump for debugging") Fixes: 37f9b54bd3cf ("net/dpaa: support Tx and Rx queue setup") Cc: sta...@dpdk.org> Signed-off-by: Hemant Agrawal H

Re: [dpdk-dev] [PATCH v2] net/pcap: convert license headers to SPDX tags

2018-01-09 Thread Hemant Agrawal
-Clause +# Copyright(c) 2010-2014 Intel Corporation. +# Copyright(c) 2014 6WIND S.A. +# All rights reserved. This patch should get an explicit ACK from 6 wind. Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH v3] kni: convert license headers to SPDX tags

2018-01-09 Thread Hemant Agrawal
Copyright? For kernel module files I followed Linux style, as "//" comments in .c files. I don't have strong opinion about this... I think it is just fine to use the Linux style for kernel module based code. Acked-by: Hemant Agrawal

[dpdk-dev] [PATCH v4] kernel folder for Linux and BSD modules

2018-01-09 Thread Hemant Agrawal
This patch moves the kernel modules code from EAL to a common place. - Separate the kernel module code from user space code. Signed-off-by: Hemant Agrawal --- v4: update the path in MAINTAINERS v3: move contigmem from bsdapp v2: rename kern to kernel, add freebsd modules as well GNUmakefile

[dpdk-dev] [PATCH v3 10/19] net/dpaa: change Tx HW budget to 7

2018-01-10 Thread Hemant Agrawal
From: Nipun Gupta change the TX budget to 7 to sync best with the hw. Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.h | 2 +- drivers/net/dpaa/dpaa_rxtx.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/dpaa

[dpdk-dev] [PATCH v3 12/19] net/dpaa: optimize Rx path

2018-01-10 Thread Hemant Agrawal
From: Nipun Gupta Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_rxtx.c | 48 drivers/net/dpaa/dpaa_rxtx.h | 2 +- 2 files changed, 23 insertions(+), 27 deletions(-) diff --git a/drivers/net/dpaa/dpaa_rxtx.c b

[dpdk-dev] [PATCH v3 15/19] net/dpaa: add support for loopback API

2018-01-10 Thread Hemant Agrawal
PMD specific API is being added as an EXPERIMENTAL API Signed-off-by: Hemant Agrawal --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1 + drivers/net/dpaa/Makefile | 3 +++ drivers/net/dpaa/dpaa_ethdev.c| 42

[dpdk-dev] [PATCH v3 14/19] net/dpaa: add Rx queue count support

2018-01-10 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index 5d94af5..de016ab 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b/drivers/net/dpaa

[dpdk-dev] [PATCH v3 13/19] bus/dpaa: query queue frame count support

2018-01-10 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/qbman/qman.c| 22 ++ drivers/bus/dpaa/include/fsl_qman.h | 7 +++ drivers/bus/dpaa/rte_bus_dpaa_version.map | 1 + 3 files changed, 30 insertions(+) diff --git a/drivers/bus/dpaa/base/qbman/qman.c b

[dpdk-dev] [PATCH v3 16/19] app/testpmd: add support for loopback config for dpaa

2018-01-10 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- app/test-pmd/Makefile | 4 app/test-pmd/cmdline.c | 7 +++ 2 files changed, 11 insertions(+) diff --git a/app/test-pmd/Makefile b/app/test-pmd/Makefile index 82b3481..34125e5 100644 --- a/app/test-pmd/Makefile +++ b/app/test-pmd/Makefile @@ -43,6

[dpdk-dev] [PATCH v3 17/19] bus/dpaa: add support for static queues

2018-01-10 Thread Hemant Agrawal
-off-by: Sunil Kumar Kori Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/qbman/qman.c| 64 +++ drivers/bus/dpaa/base/qbman/qman.h| 4 +- drivers/bus/dpaa/include/fsl_qman.h | 14 ++- drivers/bus/dpaa/rte_bus_dpaa_version.map | 4

[dpdk-dev] [PATCH v3 18/19] net/dpaa: integrate the support of push mode in PMD

2018-01-10 Thread Hemant Agrawal
Signed-off-by: Sunil Kumar Kori Signed-off-by: Hemant Agrawal Signed-off-by: Nipun Gupta --- doc/guides/nics/dpaa.rst | 11 drivers/net/dpaa/dpaa_ethdev.c | 64 +- drivers/net/dpaa/dpaa_ethdev.h | 2 +- drivers/net/dpaa/dpaa_rxtx.c | 34

[dpdk-dev] [PATCH v3 19/19] bus/dpaa: support for enqueue frames of multiple queues

2018-01-10 Thread Hemant Agrawal
From: Akhil Goyal Signed-off-by: Akhil Goyal Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal --- drivers/bus/dpaa/base/qbman/qman.c| 66 +++ drivers/bus/dpaa/include/fsl_qman.h | 14 +++ drivers/bus/dpaa/rte_bus_dpaa_version.map | 1 + 3

[dpdk-dev] [PATCH v3 01/19] net/dpaa: fix uninitialized and unused variables

2018-01-10 Thread Hemant Agrawal
This patch fixes the issues reported by NXP's internal coverity build. Fixes: 05ba55bc2b1a ("net/dpaa: add packet dump for debugging") Fixes: 37f9b54bd3cf ("net/dpaa: support Tx and Rx queue setup") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/n

[dpdk-dev] [PATCH v3 00/19 ]DPAA PMD improvements

2018-01-10 Thread Hemant Agrawal
push mode patch Akhil Goyal (1): bus/dpaa: support for enqueue frames of multiple queues Ashish Jain (2): net/dpaa: fix the mbuf packet type if zero net/dpaa: set the correct frame size in device MTU Hemant Agrawal (11): net/dpaa: fix uninitialized and unused variables net/dpaa: f

Re: [dpdk-dev] [PATCH 1/2] net/sfc/base: change license to BSD-3-Clause

2018-01-10 Thread Hemant Agrawal
, except that it is > optional to have blank line after the SPDX tag. Either is allowed, and it's > not > likely to have major scripting implications. I think most of us prefer to not > have the line, but it's not prohibited. [Hemant] +1 We did discuss about it and we left it to the choice of submitter. There is no hard rule about it.

[dpdk-dev] [PATCH v3 03/19] net/dpaa: fix FW version code

2018-01-10 Thread Hemant Agrawal
fix the soc id path and missing fclose Fixes: cf0fab1d2ca5 ("net/dpaa: support firmware version get API") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 14 +- drivers/net/dpaa/dpaa_ethdev.h | 2 +- 2 files changed, 6 inserti

[dpdk-dev] [PATCH v3 02/19] net/dpaa: fix the mbuf packet type if zero

2018-01-10 Thread Hemant Agrawal
From: Ashish Jain Populate the mbuf field packet_type which is required for calculating checksum while transmitting frames Fixes: 8cffdcbe85aa ("net/dpaa: support scattered Rx") Cc: sta...@dpdk.org Signed-off-by: Ashish Jain Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/d

[dpdk-dev] [PATCH v3 05/19] net/dpaa: set the correct frame size in device MTU

2018-01-10 Thread Hemant Agrawal
From: Ashish Jain Setting correct frame size in dpaa_dev_mtu_set api call. Also setting correct max frame size in hardware in dev_configure for jumbo frames Signed-off-by: Ashish Jain Acked-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 20 +--- drivers/net/dpaa

[dpdk-dev] [PATCH v3 04/19] bus/dpaa: update platform soc value register routines

2018-01-10 Thread Hemant Agrawal
This patch update the logic and expose the soc value register, so that it can be used by other modules as well. Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/dpaa_bus.c | 12 drivers/bus/dpaa/rte_bus_dpaa_version.map | 8 drivers/bus/dpaa/rte_dpaa_bus.h

[dpdk-dev] [PATCH v3 06/19] net/dpaa: add frame count based tail drop with CGR

2018-01-10 Thread Hemant Agrawal
Replace the byte based tail queue congestion support with frame count based congestion groups. It can easily map to number of RX descriptors for a queue. Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/rte_bus_dpaa_version.map | 5 ++ drivers/net/dpaa/dpaa_ethdev.c| 98

[dpdk-dev] [PATCH v3 07/19] bus/dpaa: optimize the qman HW stashing settings

2018-01-10 Thread Hemant Agrawal
From: Nipun Gupta The settings are tuned for performance. Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal --- drivers/bus/dpaa/base/qbman/qman.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/bus/dpaa/base/qbman/qman.c b/drivers/bus/dpaa/base

[dpdk-dev] [PATCH v3 08/19] bus/dpaa: optimize the endianness conversions

2018-01-10 Thread Hemant Agrawal
From: Nipun Gupta Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal --- drivers/bus/dpaa/base/qbman/qman.c | 7 --- drivers/bus/dpaa/include/fsl_qman.h | 2 ++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/bus/dpaa/base/qbman/qman.c b/drivers/bus/dpaa/base

[dpdk-dev] [PATCH v3 09/19] bus/dpaa: add support to create dynamic HW portal

2018-01-10 Thread Hemant Agrawal
HW portal is a processing context in DPAA. This patch allow creation of a queue specific HW portal context. Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/qbman/qman.c| 69 -- drivers/bus/dpaa/base/qbman/qman_driver.c | 153 +- drivers

[dpdk-dev] [PATCH v3 11/19] net/dpaa: optimize the Tx burst

2018-01-10 Thread Hemant Agrawal
From: Nipun Gupta Optimize it for best case. Create a function for TX offloads to be used in multiple legs. Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_rxtx.c | 73 1 file changed, 46 insertions(+), 27 deletions

Re: [dpdk-dev] [PATCH v2 12/12] doc: add DPAA eventdev guide

2018-01-10 Thread Hemant Agrawal
On 1/8/2018 7:43 PM, Hemant Agrawal wrote: Looks like CONFIG_RTE_LIBRTE_PMD_DPAA_EVENTDEV_DEBUG option is removed in the series. In general this series looks good to me. It would be good if someone from NXP ACK the driver code so that I can pull the to next-event tree. [Hemant] I am

Re: [dpdk-dev] [PATCH v1 2/2] doc: add guidelines for stable tags

2018-01-10 Thread Hemant Agrawal
On 1/9/2018 9:21 PM, Marko Kovacevic wrote: Added contribution guideline for adding stable tags when sending patches all fix patches to the master branch that are candidates for backporting Signed-off-by: Marko Kovacevic --- doc/guides/contributing/patches.rst | 15 +++ 1

Re: [dpdk-dev] [PATCH 1/2] mbuf: update default Mempool ops with HW active pool

2018-01-10 Thread Hemant Agrawal
to export internal_config via map file for shared build. Are you fine with that? If not, we have to live with eal_mbuf APIs only. Regards, Hemant

Re: [dpdk-dev] [PATCH] bus/fslmc: add support for scanned device count

2018-01-11 Thread Hemant Agrawal
: Shreyansh Jain --- :: This patch is based on *net-next* tree. .. Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH] event/dpaa2: return correct number of event ports

2018-01-12 Thread Hemant Agrawal
EPTH; dev_info->max_event_port_enqueue_depth = Acked-by: Hemant Agrawal

[dpdk-dev] [PATCH v5] kernel folder for Linux and BSD modules

2018-01-12 Thread Hemant Agrawal
This patch moves the kernel modules code from EAL to a common place. - Separate the kernel module code from user space code. Signed-off-by: Hemant Agrawal Tested-by: Bruce Richardson --- v5: rearrange kernel compliation as per Bruce's suggestion v4: update the path in MAINTAINERS v3:

Re: [dpdk-dev] [PATCH 1/6 v2] event/dpaa2: replace static with dynamic logging

2018-01-12 Thread Hemant Agrawal
/dpaa2_hw_dpcon.c | 1 + 4 files changed, 82 insertions(+), 51 deletions(-) create mode 100644 drivers/event/dpaa2/dpaa2_eventdev_logs.h Series-Acked-by: Hemant Agrawal

[dpdk-dev] Minutes of tech-board meeting 2017-12-20

2018-01-14 Thread Hemant Agrawal
Date: 20 Dec 2017 Attendees: Bruce, Hemant, Konstantin, Olivier, Thomas, Yuanhan, Stephen Topic: Licensing progress * Discussion about the format of SPDX tag line. Should we choose "/*" or "//" as used by kernel? * We concluded to use "/*" for SPDX tag in

Re: [dpdk-dev] [PATCH 01/2] vfio: expose clear group function for internal usages

2018-01-14 Thread Hemant Agrawal
On 1/12/2018 10:06 PM, Thomas Monjalon wrote: 07/12/2017 11:28, Hemant Agrawal: other vfio based module e.g. fslmc will also need to use the clear_group call. So, exposing it and renaming it to *rte_vfio_clear_group* Signed-off-by: Hemant Agrawal --- --- a/lib/librte_eal/linuxapp/eal

[dpdk-dev] [PATCH v2 1/2] vfio: expose clear group function for internal usages

2018-01-14 Thread Hemant Agrawal
other vfio based module e.g. fslmc will also need to use the clear_group call. So, exposing it and renaming it to *rte_vfio_clear_group* Signed-off-by: Hemant Agrawal Acked-by: Anatoly Burakov --- lib/librte_eal/bsdapp/eal/eal.c| 5 + lib/librte_eal/common/include

[dpdk-dev] [PATCH v2 2/2] bus/fslmc: clear the vfio group on error

2018-01-14 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/fslmc_vfio.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c index fb2f403..12b254a 100644 --- a/drivers/bus/fslmc/fslmc_vfio.c +++ b/drivers/bus/fslmc/fslmc_vfio.c

[dpdk-dev] [PATCH v2 3/5] mbuf: support register mempool Hw ops name APIs

2018-01-14 Thread Hemant Agrawal
With this patch the specific HW mempool are no longer required to be specified in the config file at compile. A default platform hw mempool can be detected dynamically and published to config at run time. Only one type of HW mempool can be active default. Signed-off-by: Hemant Agrawal --- lib

[dpdk-dev] [PATCH v2 2/5] eal: add platform mempool ops name in internal config

2018-01-14 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- lib/librte_eal/common/eal_common_options.c | 1 + lib/librte_eal/common/eal_internal_cfg.h | 2 ++ lib/librte_eal/rte_eal_version.map | 1 + 3 files changed, 4 insertions(+) diff --git a/lib/librte_eal/common/eal_common_options.c b/lib/librte_eal

[dpdk-dev] [PATCH v2 1/5] eal: prefix mbuf pool ops name with user defined

2018-01-14 Thread Hemant Agrawal
This patch prefix the mbuf pool ops name with "user" to indicate that it is user defined. This patch also change the logic to maintain the value of user defined and compile time i.e. RTE_MBUF_DEFAULT_MEMPOOL_OPS. The pktmbuf_create_pool is updated to reflect the same. Signed-off-

[dpdk-dev] [PATCH v2 4/5] mbuf: pktmbuf pool create helper for specific mempool ops

2018-01-14 Thread Hemant Agrawal
Introduce a new helper for pktmbuf pool, which will allow the application to optionally specify the mempool ops name as well. Signed-off-by: Hemant Agrawal --- lib/librte_mbuf/rte_mbuf.c | 23 ++-- lib/librte_mbuf/rte_mbuf.h | 42

[dpdk-dev] [PATCH v2 0/5] Dynamic HW Mempool Detection Support

2018-01-14 Thread Hemant Agrawal
fic wrapper in this patch series. Hemant Agrawal (5): eal: prefix mbuf pool ops name with user defined eal: add platform mempool ops name in internal config mbuf: support register mempool Hw ops name APIs mbuf: pktmbuf pool create helper for specific mempool ops mbuf: add user comma

[dpdk-dev] [PATCH v2 5/5] mbuf: add user command line config mempools ops API

2018-01-14 Thread Hemant Agrawal
This patch add the user command line configured mempool ops name API to librte_mbuf and sends a deprecation notice to remove the similar API from eal. Signed-off-by: Hemant Agrawal --- doc/guides/rel_notes/deprecation.rst | 7 +++ lib/librte_mbuf/rte_mbuf.c | 8 +++- lib

[dpdk-dev] [PATCH 2/5] net/dpaa2: optimize Rx/Tx path

2018-01-15 Thread Hemant Agrawal
Merge the offload with parse function to save on instructions. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_rxtx.c | 57 +- 1 file changed, 17 insertions(+), 40 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2

[dpdk-dev] [PATCH 3/5] net/dpaa2: change vlan filter rule to be called on config

2018-01-15 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 821c862..0763033 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c

[dpdk-dev] [PATCH 1/5] net/dpaa2: support more than 16 burst size in Rx func

2018-01-15 Thread Hemant Agrawal
This patch enhances the Rx function to support more than 16 burst size. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 5 +- drivers/net/dpaa2/dpaa2_rxtx.c | 140 2 files changed, 108 insertions(+), 37 deletions(-) diff

[dpdk-dev] [PATCH 4/5] net/dpaa2: use HASH FLCTYPE only for LX2

2018-01-15 Thread Hemant Agrawal
can be received in FD using this option. Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 0763033..8b1e4d2 100644

[dpdk-dev] [PATCH 5/5] bus/fslmc: disable eventdev config with no dpaa2 eventdev

2018-01-15 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c b/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c index 6e349a7..537141d 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c

Re: [dpdk-dev] [PATCH v2 3/5] mbuf: support register mempool Hw ops name APIs

2018-01-15 Thread Hemant Agrawal
On 1/15/2018 5:11 PM, Jerin Jacob wrote: +int +rte_mbuf_register_platform_mempool_ops(const char *ops_name) +{ Should we also check the following? if (internal_config.plat_mbuf_pool_ops_name != NULL && strncmp(internal_config.plat_mbuf_pool_ops_name, ops_name, ..) == 0) return 0; i.e

Re: [dpdk-dev] [PATCH v2 2/5] eal: add platform mempool ops name in internal config

2018-01-15 Thread Hemant Agrawal
On 1/15/2018 5:54 PM, Jerin Jacob wrote: static int diff --git a/lib/librte_eal/common/eal_internal_cfg.h b/lib/librte_eal/common/eal_internal_cfg.h index 1169fcc..12c5b8a 100644 --- a/lib/librte_eal/common/eal_internal_cfg.h +++ b/lib/librte_eal/common/eal_internal_cfg.h @@ -54,6 +54,8 @@ stru

Re: [dpdk-dev] [PATCH v2 4/5] mbuf: pktmbuf pool create helper for specific mempool ops

2018-01-15 Thread Hemant Agrawal
On 1/15/2018 6:01 PM, Jerin Jacob wrote: Introduce a new helper for pktmbuf pool, which will allow the application to optionally specify the mempool ops name as well. Signed-off-by: Hemant Agrawal --- lib/librte_mbuf/rte_mbuf.c | 23 ++-- lib/librte_mbuf/rte_mbuf.h

Re: [dpdk-dev] [PATCH v2 5/5] mbuf: add user command line config mempools ops API

2018-01-15 Thread Hemant Agrawal
On 1/15/2018 5:59 PM, Jerin Jacob wrote: -Original Message- Date: Mon, 15 Jan 2018 11:41:14 +0530 From: Hemant Agrawal This patch add the user command line configured mempool ops name API to librte_mbuf and sends a deprecation notice to remove the similar API from eal. Signed-off

Re: [dpdk-dev] [PATCH v2 1/2] doc: add guidelines for coverity tags

2018-01-15 Thread Hemant Agrawal
On 1/10/2018 8:21 PM, Marko Kovacevic wrote: Added contribution guideline for adding tags when sending patches that have been raised by coverity Signed-off-by: Marko Kovacevic Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH v2 2/2] doc: add guidelines for stable tags

2018-01-15 Thread Hemant Agrawal
On 1/10/2018 8:22 PM, Marko Kovacevic wrote: Added contribution guideline for adding stable tags when sending patches all fix patches to the master branch that are candidates for backporting Signed-off-by: Marko Kovacevic Acked-by: Hemant Agrawal ..

Re: [dpdk-dev] [PATCH] mbuf: pktmbuf pool create helper for specific mempool ops

2018-01-16 Thread Hemant Agrawal
On 1/16/2018 8:22 PM, Olivier Matz wrote: On Fri, Dec 22, 2017 at 05:00:11PM +0530, Hemant Agrawal wrote: Introduce a new helper for pktmbuf pool, which will allow the application to optionally specify the mempool ops name as well. Signed-off-by: Hemant Agrawal --- Hi Hemant, It looks this

Re: [dpdk-dev] [PATCH 1/2] mempool: indicate the usages of multi memzones

2018-01-16 Thread Hemant Agrawal
Hi Olivier, On 1/16/2018 7:21 PM, Olivier Matz wrote: On Fri, Dec 22, 2017 at 09:48:01PM +0530, Hemant Agrawal wrote: On 12/22/2017 7:29 PM, Olivier MATZ wrote: On Wed, Dec 20, 2017 at 05:29:59PM +0530, Hemant Agrawal wrote: On 12/19/2017 6:38 PM, Hemant Agrawal wrote: That's tr

[dpdk-dev] [PATCH v2] mempool/dpaa: optimize phy to virt conversion

2018-01-17 Thread Hemant Agrawal
If the allocation is from a single memzone, optimize the phy-virt address conversions. Signed-off-by: Hemant Agrawal --- v2: use register memory area instead of new flag in mempool drivers/mempool/dpaa/dpaa_mempool.c | 50 ++--- drivers/mempool/dpaa

[dpdk-dev] [PATCH v3 3/3] kni: set initial value for MTU

2018-01-17 Thread Hemant Agrawal
Configure initial application provided mtu on the KNI interface. Signed-off-by: Hemant Agrawal --- examples/kni/main.c | 2 ++ lib/librte_eal/linuxapp/eal/include/exec-env/rte_kni_common.h | 1 + lib/librte_eal/linuxapp/kni/kni_misc.c

[dpdk-dev] [PATCH v3 1/3] kni: support for MAC addr change

2018-01-17 Thread Hemant Agrawal
ethernet device. Signed-off-by: Hemant Agrawal --- v3: fix compilation err and checkpatch warnings doc/guides/sample_app_ug/kernel_nic_interface.rst | 26 +- examples/kni/main.c| 36 +++ .../linuxapp/eal/include/exec-env

[dpdk-dev] [PATCH v3 2/3] kni: add support for promisc mode set

2018-01-17 Thread Hemant Agrawal
Inform userspace app about promisc mode change Signed-off-by: Hemant Agrawal --- v3: fix checkpatch warning and compilation err doc/guides/sample_app_ug/kernel_nic_interface.rst | 15 --- .../linuxapp/eal/include/exec-env/rte_kni_common.h | 2 ++ lib/librte_eal/linuxapp/kni/kni_net.c

Re: [dpdk-dev] [PATCH v2 0/5] Dynamic HW Mempool Detection Support

2018-01-18 Thread Hemant Agrawal
On 1/16/2018 8:31 PM, Olivier Matz wrote: On Mon, Jan 15, 2018 at 11:41:09AM +0530, Hemant Agrawal wrote: W.r.t the multiple discussions in the past about the ability to dynamically detect the HW mempool support. [1],[2] & [3] This patchset helps in removing the current static mem

[dpdk-dev] [PATCH v3 0/7] Dynamic HW Mempool Detection Support

2018-01-18 Thread Hemant Agrawal
vier 3. Adding memory for platform mempools ops in librte_mbuf Changes in v2: 1. Changed the active mempool to platform mempool 2. Moved all the relavant APIs to librte_mbuf 3. Added pktmbuf_create_pool_specific wrapper in this patch series. Hemant Agrawal (6): eal: prefix mbuf pool ops

[dpdk-dev] [PATCH v3 1/7] eal: prefix mbuf pool ops name with user defined

2018-01-18 Thread Hemant Agrawal
This patch prefix the mbuf pool ops name with "user" to indicate that it is user defined. This patch also change the logic to maintain the value of user defined and compile time i.e. RTE_MBUF_DEFAULT_MEMPOOL_OPS. The pktmbuf_create_pool is updated to reflect the same. Signed-off-

[dpdk-dev] [PATCH v3 2/7] eal: add API to set user default mbuf mempool ops

2018-01-18 Thread Hemant Agrawal
Add new API to set the user defined mbuf mempool ops name i.e. set the provided ops name to `internal_config.mbuf_pool_ops_name`. Signed-off-by: Pavan Nikhilesh Signed-off-by: Hemant Agrawal --- lib/librte_eal/bsdapp/eal/eal.c | 6 ++ lib/librte_eal/common/include/rte_eal.h | 9

[dpdk-dev] [PATCH v3 3/7] mbuf: add pool ops name selection API helpers

2018-01-18 Thread Hemant Agrawal
This patch add support for various mempool ops config helper APIs. 1.User defined mempool ops 2.Platform detected HW mempool ops (active). 3.Best selection of mempool ops by looking into user defined, platform registered and compile time configured. Signed-off-by: Hemant Agrawal --- lib

[dpdk-dev] [PATCH v3 4/7] mbuf: pktmbuf pool create helper for specific mempool ops

2018-01-18 Thread Hemant Agrawal
Introduce a new helper for pktmbuf pool, which will allow the application to optionally specify the mempool ops name as well. Signed-off-by: Hemant Agrawal --- lib/librte_mbuf/rte_mbuf.c | 23 +-- lib/librte_mbuf/rte_mbuf.h | 42 ++ 2

[dpdk-dev] [PATCH v3 5/7] app/testpmd: set preferred mempool as default pktpool

2018-01-18 Thread Hemant Agrawal
From: Pavan Nikhilesh Set the mempool preferred by the ethernet devices as default mbuf mempool before creating the pktpool. Signed-off-by: Pavan Nikhilesh --- app/test-pmd/testpmd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 5d

[dpdk-dev] [PATCH v3 6/7] dpaa2: register dpaa2 as platform HW mempool on runtime

2018-01-18 Thread Hemant Agrawal
Detect if the DPAA2 mempool objects are present and register it as platform default hw mempool Signed-off-by: Hemant Agrawal --- config/defconfig_arm64-dpaa2-linuxapp-gcc | 1 - drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 3 +++ drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 2 ++ drivers/mempool

[dpdk-dev] [PATCH v3 7/7] dpaa: register dpaa as platform HW mempool on runtime

2018-01-18 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- config/defconfig_arm64-dpaa-linuxapp-gcc | 1 - drivers/bus/dpaa/dpaa_bus.c | 2 ++ drivers/bus/dpaa/rte_dpaa_bus.h | 2 ++ drivers/mempool/dpaa/dpaa_mempool.c | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a

Re: [dpdk-dev] [PATCH v3 2/7] eal: add API to set user default mbuf mempool ops

2018-01-19 Thread Hemant Agrawal
Hi Olivier, On 1/19/2018 3:31 PM, Olivier Matz wrote: On Thu, Jan 18, 2018 at 06:56:27PM +0530, Hemant Agrawal wrote: Add new API to set the user defined mbuf mempool ops name i.e. set the provided ops name to `internal_config.mbuf_pool_ops_name`. Signed-off-by: Pavan Nikhilesh Signed-off-by

Re: [dpdk-dev] [PATCH v3 3/7] mbuf: add pool ops name selection API helpers

2018-01-19 Thread Hemant Agrawal
Hi Olivier, On 1/19/2018 3:31 PM, Olivier Matz wrote: On Thu, Jan 18, 2018 at 06:56:28PM +0530, Hemant Agrawal wrote: This patch add support for various mempool ops config helper APIs. 1.User defined mempool ops 2.Platform detected HW mempool ops (active). 3.Best selection of mempool ops by

Re: [dpdk-dev] [PATCH 1/2] crypto/dpaa2_sec: support for scatter gather

2018-01-19 Thread Hemant Agrawal
+-- test/test/test_cryptodev.c | 10 + test/test/test_cryptodev_aes_test_vectors.h | 22 +- test/test/test_cryptodev_hash_test_vectors.h | 14 + 6 files changed, 596 insertions(+), 40 deletions(-) Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH 2/2] crypto/dpaa_sec: support for scatter gather

2018-01-19 Thread Hemant Agrawal
+ test/test/test_cryptodev_aes_test_vectors.h | 11 +- test/test/test_cryptodev_hash_test_vectors.h | 6 +- 5 files changed, 498 insertions(+), 31 deletions(-) Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH v8 3/3] ring: introduce new header file to support C11 memory model

2018-01-19 Thread Hemant Agrawal
My thunderbird mails are getting delayed. I have provided a response there that this patch is not ok in it's current state.

Re: [dpdk-dev] [PATCH v8 2/3] ring: introduce new header file to include common functions

2018-01-19 Thread Hemant Agrawal
Hi Jia, On 1/17/2018 9:33 AM, Jia He wrote: Move the common part of rte_ring.h into rte_ring_generic.h. Move the memory barrier part into update_tail(). No functional changes here. Signed-off-by: Jia He Suggested-by: Jerin Jacob Suggested-by: Ananyev Konstantin Acked-by: Jerin Jacob Acked-

Re: [dpdk-dev] [PATCH v8 3/3] ring: introduce new header file to support C11 memory model

2018-01-19 Thread Hemant Agrawal
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + ***/ This double license may be an issue. Hemant, comment? Check my response in your other patch. This is not a DPDK acceptable

[dpdk-dev] [PATCH v4 0/7] Dynamic HW Mempool Detection Support

2018-01-19 Thread Hemant Agrawal
orm mempools ops in librte_mbuf Changes in v2: 1. Changed the active mempool to platform mempool 2. Moved all the relavant APIs to librte_mbuf 3. Added pktmbuf_create_pool_specific wrapper in this patch series. Hemant Agrawal (6): eal: prefix mbuf pool ops name with user defined mbuf: maintain us

[dpdk-dev] [PATCH v4 5/7] app/testpmd: set preferred mempool as default pktpool

2018-01-19 Thread Hemant Agrawal
From: Pavan Nikhilesh Set the mempool preferred by the ethernet devices as default mbuf mempool before creating the pktpool. Signed-off-by: Pavan Nikhilesh Signed-off-by: Hemant Agrawal --- app/test-pmd/testpmd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-pmd/testpmd.c b

[dpdk-dev] [PATCH v4 3/7] mbuf: add pool ops name selection API helpers

2018-01-19 Thread Hemant Agrawal
This patch add support for various mempool ops config helper APIs. 1.User defined mempool ops 2.Platform detected HW mempool ops (active). 3.Best selection of mempool ops by looking into user defined, platform registered and compile time configured. Signed-off-by: Hemant Agrawal --- lib

[dpdk-dev] [PATCH v4 7/7] dpaa2: register dpaa2 as platform HW mempool on runtime

2018-01-19 Thread Hemant Agrawal
Detect if the DPAA2 mempool objects are present and register it as platform default hw mempool Signed-off-by: Hemant Agrawal --- config/defconfig_arm64-dpaa2-linuxapp-gcc | 1 - drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 3 +++ drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 2 ++ drivers/mempool

Re: [dpdk-dev] [PATCH v8 2/3] ring: introduce new header file to include common functions

2018-01-19 Thread Hemant Agrawal
Hi Olivier, > On Fri, Jan 19, 2018 at 07:45:30PM +0530, Hemant Agrawal wrote: > > Hi Jia, > > > > On 1/17/2018 9:33 AM, Jia He wrote: > > > Move the common part of rte_ring.h into rte_ring_generic.h. > > > Move the memory barrier part into update_tail().

Re: [dpdk-dev] [PATCH v3 1/2] build: add support for ARM builds

2018-01-19 Thread Hemant Agrawal
HI Bruce, Are these planned for 18.02? If so, I will prioritize this work. Regards, Hemant > -Original Message- > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Friday, January 19, 2018 9:54 PM > To: Pavan Nikhilesh > Cc: jerin.ja...@cav

[dpdk-dev] [PATCH v4 2/7] mbuf: maintain user and compile time mempool ops name

2018-01-19 Thread Hemant Agrawal
This patch change the logic to maintain the value of user defined and compile time i.e. RTE_MBUF_DEFAULT_MEMPOOL_OPS. The pktmbuf_create_pool is updated to reflect the same. Signed-off-by: Hemant Agrawal --- lib/librte_eal/common/eal_common_options.c | 2 +- lib/librte_mbuf/rte_mbuf.c

[dpdk-dev] [PATCH v4 6/7] dpaa: register dpaa as platform HW mempool on runtime

2018-01-19 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- config/defconfig_arm64-dpaa-linuxapp-gcc | 1 - drivers/bus/dpaa/dpaa_bus.c | 2 ++ drivers/bus/dpaa/rte_dpaa_bus.h | 2 ++ drivers/mempool/dpaa/dpaa_mempool.c | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a

[dpdk-dev] [PATCH v4 1/7] eal: prefix mbuf pool ops name with user defined

2018-01-19 Thread Hemant Agrawal
This patch prefix the mbuf pool ops name with "user" to indicate that it is user defined. Signed-off-by: Hemant Agrawal --- lib/librte_eal/bsdapp/eal/eal.c | 4 ++-- lib/librte_eal/common/eal_internal_cfg.h | 3 ++- lib/librte_eal/linuxapp/eal/eal.c| 4 ++-- 3 files

[dpdk-dev] [PATCH v4 4/7] mbuf: pktmbuf pool create helper for specific mempool ops

2018-01-19 Thread Hemant Agrawal
Introduce a new helper for pktmbuf pool, which will allow the application to optionally specify the mempool ops name as well. Signed-off-by: Hemant Agrawal --- lib/librte_mbuf/rte_mbuf.c | 23 +-- lib/librte_mbuf/rte_mbuf.h | 42 ++ 2

[dpdk-dev] [PATCH v5 6/7] dpaa: register dpaa as platform HW mempool on runtime

2018-01-19 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- config/defconfig_arm64-dpaa-linuxapp-gcc | 1 - drivers/bus/dpaa/dpaa_bus.c | 2 ++ drivers/bus/dpaa/rte_dpaa_bus.h | 2 ++ drivers/mempool/dpaa/dpaa_mempool.c | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a

[dpdk-dev] [PATCH v5 1/7] eal: prefix mbuf pool ops name with user defined

2018-01-19 Thread Hemant Agrawal
This patch prefix the mbuf pool ops name with "user" to indicate that it is user defined. Signed-off-by: Hemant Agrawal --- lib/librte_eal/bsdapp/eal/eal.c | 4 ++-- lib/librte_eal/common/eal_internal_cfg.h | 3 ++- lib/librte_eal/linuxapp/eal/eal.c| 4 ++-- 3 files

[dpdk-dev] [PATCH v5 3/7] mbuf: add pool ops name selection API helpers

2018-01-19 Thread Hemant Agrawal
This patch add support for various mempool ops config helper APIs. 1.User defined mempool ops 2.Platform detected HW mempool ops (active). 3.Best selection of mempool ops by looking into user defined, platform registered and compile time configured. Signed-off-by: Hemant Agrawal --- doc/api

[dpdk-dev] [PATCH v5 4/7] mbuf: pktmbuf pool create helper for specific mempool ops

2018-01-19 Thread Hemant Agrawal
Introduce a new helper for pktmbuf pool, which will allow the application to optionally specify the mempool ops name as well. Signed-off-by: Hemant Agrawal --- lib/librte_mbuf/rte_mbuf.c | 23 +-- lib/librte_mbuf/rte_mbuf.h | 42 ++ 2

[dpdk-dev] [PATCH v5 2/7] mbuf: maintain user and compile time mempool ops name

2018-01-19 Thread Hemant Agrawal
This patch change the logic to maintain the value of user defined and compile time i.e. RTE_MBUF_DEFAULT_MEMPOOL_OPS. The pktmbuf_create_pool is updated to reflect the same. Signed-off-by: Hemant Agrawal --- lib/librte_eal/common/eal_common_options.c | 2 +- lib/librte_mbuf/rte_mbuf.c

[dpdk-dev] [PATCH v5 5/7] app/testpmd: set preferred mempool as default pktpool

2018-01-19 Thread Hemant Agrawal
From: Pavan Nikhilesh Set the mempool preferred by the ethernet devices as default mbuf mempool before creating the pktpool. Signed-off-by: Pavan Nikhilesh Signed-off-by: Hemant Agrawal --- app/test-pmd/testpmd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-pmd/testpmd.c b

[dpdk-dev] [PATCH v5 0/7] Dynamic HW Mempool Detection Support

2018-01-19 Thread Hemant Agrawal
ng care of comments from Jerin and Olivier 3. Adding memory for platform mempools ops in librte_mbuf Changes in v2: 1. Changed the active mempool to platform mempool 2. Moved all the relavant APIs to librte_mbuf 3. Added pktmbuf_create_pool_specific wrapper in this patch series. Hemant Agrawal (6):

<    12   13   14   15   16   17   18   19   20   21   >