[dpdk-dev] [PATCH 01/20] bus/fslmc: fix to reset portal memory before use

2018-12-26 Thread Hemant Agrawal
From: Sachin Saxena Uninitialized portal memory is causing unwanted issues. Fixes: 293c0ca94c36 ("bus/fslmc: support memory backed portals with QBMAN 5.0") Cc: sta...@dpdk.org Signed-off-by: Sachin Saxena --- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 2 ++ 1 file changed, 2 insertions(+) di

[dpdk-dev] [PATCH 06/20] bus/fslmc: fix parse method for bus devices

2018-12-26 Thread Hemant Agrawal
From: Shreyansh Jain Current code expects that bus->parse() would get a string containing the name of the bus. That is incorrect. bus->parse() is expected to have strings like: dpni.1,key=val dpio.2,key=val when user passed: -b fslmc:dpni.1,key=val This commit fixes this behavior. Fixes:

[dpdk-dev] [PATCH 07/20] net/dpaa2: fix device init for secondary process

2018-12-26 Thread Hemant Agrawal
In order to support I/O from secondary process, the burst APIs and OPS APIs shall be mapped/plugged. Fixes: c147eae01cb3 ("net/dpaa2: introduce NXP DPAA2 driver") Cc: sta...@dpdk.org Signed-off-by: Shreyansh Jain --- drivers/net/dpaa2/dpaa2_ethdev.c | 9 - 1 file changed, 8 insertions(+

[dpdk-dev] [PATCH 09/20] bus/fslmc: upgrade to latest qbman library

2018-12-26 Thread Hemant Agrawal
This patch upgrades and sync the dpdk based qbman code with new version of qbman flib. Signed-off-by: Youri Querry Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/qbman/qbman_portal.c | 8 drivers/bus/fslmc/qbman/qbman_sys.h| 17

[dpdk-dev] [PATCH 05/20] bus/fslmc: fix to convert error msg to warning

2018-12-26 Thread Hemant Agrawal
This is just a information. No need to print it as a error. Fixes: ce9efbf5bb09 ("bus/fslmc: support dynamic logging") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/fslmc_vfio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[dpdk-dev] [PATCH 08/20] net/dpaa2: enable optional timestamp in mbuf

2018-12-26 Thread Hemant Agrawal
From: Akhil Goyal This patch enables the population of timestamp field in mbuf on packet receive. It may give performance impact on LX2xxx platforms. So, it has been made optional for Lx2xxx platform. One shall call, rte_dpaa2_enable_ts() to enable it. Nothing is required for LS2 and LS1088 plat

[dpdk-dev] [PATCH 10/20] bus/fslmc: add dynamic config for memback portal mode

2018-12-26 Thread Hemant Agrawal
Add flag in portal init to adjust the qbman memory type, to decide between legacy portal mode or newly introduced memory backed portals. Signed-off-by: Roy Pledge Signed-off-by: Youri Querry Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 2 + .../bus/fslmc

[dpdk-dev] [PATCH 11/20] bus/fslmc: rename portal pi index to consumer index

2018-12-26 Thread Hemant Agrawal
This is to align with the latest qbman hw library Signed-off-by: Youri Querry Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/qbman/qbman_portal.c | 51 +++--- drivers/bus/fslmc/qbman/qbman_portal.h | 2 +- 2 files changed, 23 insertions(+), 30 deletions(-) diff --git

[dpdk-dev] [PATCH 12/20] bus/fslmc: make portal func static

2018-12-26 Thread Hemant Agrawal
It was not required to be a function. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 2 +- drivers/bus/fslmc/portal/dpaa2_hw_dpio.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c b/drivers/bus/fslmc

[dpdk-dev] [PATCH 14/20] bus/fslmc: add support for scanning DPDMUX object

2018-12-26 Thread Hemant Agrawal
From: Nipun Gupta Add support in bus and vfio to scan dpdmux type of objects Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/fslmc_bus.c | 5 - drivers/bus/fslmc/fslmc_vfio.c | 2 ++ drivers/bus/fslmc/rte_fslmc.h | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/drive

[dpdk-dev] [PATCH 13/20] net/dpaa2: add dpdmux mc flib

2018-12-26 Thread Hemant Agrawal
From: Nipun Gupta dpdmux object is added as a part of net driver as it is used to de-multiplex packets to separate interfaces on basis of specific rules. These rules can be configured from the software Signed-off-by: Nipun Gupta --- drivers/net/dpaa2/Makefile| 1 + drivers/net/dp

[dpdk-dev] [PATCH 19/20] bus/fslmc: add support for secondary processes

2018-12-26 Thread Hemant Agrawal
From: Shreyansh Jain Previously FSLMC bus only supported blacklisting of DPNI (eth), DPSECI (crypto) devices. With this patch, devices like DPIO, DPMCP, and other DP* can also be blacklisted/whitelisted. This is a required condition for secondary processes where the secondary needs to be passed

[dpdk-dev] [PATCH 20/20] bus/fslmc: add function to map any addr via VFIO

2018-12-26 Thread Hemant Agrawal
From: Pankaj Chauhan This is required to map any accelerator memory and PCI address to VFIO using QDMA. Signed-off-by: Minghuan Lian Signed-off-by: Pankaj Chauhan --- drivers/bus/fslmc/fslmc_vfio.c | 42 + drivers/bus/fslmc/fslmc_vfio.h | 1 + dr

[dpdk-dev] [PATCH 18/20] net/dpaa2: change ref of device to private device

2018-12-26 Thread Hemant Agrawal
From: Shreyansh Jain The I/O threads for DPAA2 take their reference for bpool ID, the port ID and other info like qdid, from the rte_eth_dev. Further, to get this data during I/O operation, a reference of the RTE device is kept in the queue structure (dpaa2_queue). In case of secondary processes

[dpdk-dev] [PATCH 15/20] net/dpaa2: add dpdmux initialization and configuration

2018-12-26 Thread Hemant Agrawal
From: Nipun Gupta This patch introduces an rte pmd API to configure dpdmux from the application. dpdmux can work in association with dpni as an additional distribution capability on the NIC. Signed-off-by: Nipun Gupta --- drivers/net/dpaa2/Makefile | 1 + drivers/net/dpaa2/d

[dpdk-dev] [PATCH 16/20] net/dpaa2: add API to support custom hash key

2018-12-26 Thread Hemant Agrawal
From: Nipun Gupta The DPAA2 hw can support a special offset based configuration to program distribution on hash. This is for all cases, which are not directly supported. e.g. HASH based distribution on inner ip header of a GRE tunnel. Signed-off-by: Nipun Gupta --- drivers/net/dpaa2/base/dpaa

[dpdk-dev] [PATCH 17/20] mempool/dpaa2: support saving context of buffer pool

2018-12-26 Thread Hemant Agrawal
From: Shreyansh Jain Initial design was to have the buffer pool per process where a global static array stores the bpids. But, in case of secondary processes, this would not allow the I/O threads to translate the bpid in Rx'd packets. This patch moves the array to a global area (rte_malloc) and

Re: [dpdk-dev] [PATCH v1] examples/l3fwd: enable hash multi lookup for ARM

2019-01-03 Thread Hemant Agrawal
On 02-Jan-19 11:53 PM, Honnappa Nagarahalli wrote: > Thanks Ruifeng for the patch. I have one question inline. > > Jerin/Hemant, > It would be good if you could test this on your platforms, since this > is being made default. > > Thanks, > Honnappa > >> -

Re: [dpdk-dev] [PATCH v5 0/3] security: support for pdcp

2018-10-22 Thread Hemant Agrawal
On 10/18/2018 8:10 PM, Thomas Monjalon wrote: > 16/10/2018 16:35, Akhil Goyal: >>> Akhil Goyal (3): >>> security: support pdcp protocol >>> crypto/dpaa2_sec: add sample pdcp descriptor apis >>> crypto/dpaa2_sec: support pdcp offload >>> >>>doc/guides/prog_guide/rte_security.rst

[dpdk-dev] [PATCH v6 3/3] crypto/dpaa2_sec: support pdcp offload

2018-10-22 Thread Hemant Agrawal
From: Akhil Goyal PDCP session configuration for lookaside protocol offload and data path is added. Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 258 drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 208

[dpdk-dev] [PATCH v6 1/3] security: support pdcp protocol

2018-10-22 Thread Hemant Agrawal
From: Akhil Goyal Packet Data Convergence Protocol (PDCP) is added in rte_security for 3GPP TS 36.323 for LTE. The patchset provide the structure definitions for configuring the PDCP sessions and relevant documentation is added. Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal Acked

[dpdk-dev] [PATCH v6 0/3] security: support for pdcp

2018-10-22 Thread Hemant Agrawal
Security library currently only has support for IPSec protocol. This patchset defines structures for pdcp protocol in rte_security and provide a sample driver implementation for lookaside protocol offload to support PDCP. Changes in v6: - fix doxygen and clang compilation errors Changes in v5: -

[dpdk-dev] [PATCH v6 2/3] crypto/dpaa2_sec: add sample pdcp descriptor apis

2018-10-22 Thread Hemant Agrawal
From: Akhil Goyal DPAA2 SEC platform can support look aside protocol offload for PDCP protocol. The relevant APIs for configuring the hardware for PDCP is added for various modes and crypto algorithms. Signed-off-by: Hemant Agrawal Signed-off-by: Horia Geanta Neag Signed-off-by: Alex

Re: [dpdk-dev] [PATCH v2 13/14] crypto/caam_jr: add security offload

2018-10-22 Thread Hemant Agrawal
Gagan is working on it. On 10/22/2018 2:56 PM, Thomas Monjalon wrote: > 19/10/2018 04:17, Thomas Monjalon: >> 12/10/2018 16:40, Gagandeep Singh: >>> From: Hemant Agrawal >>> >>> This patch provides the support for protocol offload >>> to the hardware

Re: [dpdk-dev] [PATCH 1/7] net/cxgbe: query firmware for filter resources

2018-06-13 Thread Hemant Agrawal
@@ > +/* SPDX-License-Identifier: BSD-3-Clause > + * Copyright(c) 2014-2018 Chelsio Communications. > + * All rights reserved. > + */ > + Hi Rahul, This is a new file and copyright starts from 2014, is this intentional? And @Thomas, @Hemant, are we allowed to have copyright start date i

[dpdk-dev] [PATCH 2/2] doc: fixes the limitations for dpaa2 sec

2018-06-21 Thread Hemant Agrawal
Fixes: 37f96eb01bce ("crypto/dpaa2_sec: support scatter gather") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- doc/guides/cryptodevs/dpaa2_sec.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/guides/cryptodevs/dpaa2_sec.rst b/doc/guides/cryptodevs/dpaa2_sec.rst ind

[dpdk-dev] [PATCH 1/2] doc: fixes the limitations for dpaa sec

2018-06-21 Thread Hemant Agrawal
Fixes: a74af788c632 ("crypto/dpaa_sec: support scatter gather") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- doc/guides/cryptodevs/dpaa_sec.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/guides/cryptodevs/dpaa_sec.rst b/doc/guides/cryptodevs/dpaa_sec.rst ind

[dpdk-dev] [PATCH] raw/dpaa2_qdma: fix the IOVA as VA flag for driver

2018-06-21 Thread Hemant Agrawal
Fixes: b1ee472fed58 ("raw/dpaa2_qdma: introduce the DPAA2 QDMA driver") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/raw/dpaa2_qdma/dpaa2_qdma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c b/drivers/raw/dpaa2_qdma/dpaa2_qd

[dpdk-dev] [PATCH 01/10] bus/dpaa: fix phandle support for kernel 4.16

2018-06-21 Thread Hemant Agrawal
From: Alok Makhariya Fixes: 2183c6f69d7e ("bus/dpaa: add OF parser for device scanning") Cc: Shreyansh Jain Cc: sta...@dpdk.org Signed-off-by: Alok Makhariya --- drivers/bus/dpaa/base/fman/of.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/bus/dpaa/base/fman/of.c b/drivers/

[dpdk-dev] [PATCH 02/10] bus/dpaa: fix svr id fetch location

2018-06-21 Thread Hemant Agrawal
Otherwise the SVR may not be avilable for dpaa init. Fixes: 3b59b73dea08 ("bus/dpaa: update platform SoC value register routines") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/dpaa_bus.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-)

[dpdk-dev] [PATCH 05/10] bus/dpaa: make vdqcr configurable

2018-06-21 Thread Hemant Agrawal
From: Nipun Gupta This patch add support for configurable vdqcr exact flag. This boost the performance, however this can give side effects for some extra packet fetch. Which has been taken care in the patch as well. Signed-off-by: Nipun Gupta --- drivers/bus/dpaa/base/qbman/qman.c | 4 ++--

[dpdk-dev] [PATCH 06/10] net/dpaa: support default queue mode

2018-06-21 Thread Hemant Agrawal
In case DPAA FMAN configuration tool (FMC) is not available. System can still work with default queue. (1 queue per port). Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 43 +- 1 file changed, 30 insertions(+), 13 deletions(-) diff

[dpdk-dev] [PATCH 03/10] bus/dpaa: optimize the fq callback routine

2018-06-21 Thread Hemant Agrawal
Avoid array of fq as packets are dq only from a single q. Signed-off-by: Sunil Kumar Kori Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/qbman/qman.c | 15 +++ drivers/net/dpaa/dpaa_rxtx.c | 2 +- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a

[dpdk-dev] [PATCH 04/10] bus/dpaa: implement new of API to get MAC address

2018-06-21 Thread Hemant Agrawal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- drivers/bus/dpaa/base/fman/of.c | 39 +++ drivers/bus/dpaa/include/of.h | 2 ++ drivers/bus/dpaa/rte_bus_dpaa_version.map | 8 +++ 3 files changed, 49 insertions(+) diff --git a/drivers/bus

[dpdk-dev] [PATCH 09/10] bus/dpaa: cleanup unnecessary global variables

2018-06-21 Thread Hemant Agrawal
Changes originally in the patch "drivers: cleanup unnecessary global variables" by Pavan. Signed-off-by: Pavan Nikhilesh Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/netcfg_layer.c | 5 - drivers/bus/dpaa/base/qbman/bman_driver.c | 4 ++-- drivers/bus/dpaa/base/qb

[dpdk-dev] [PATCH 08/10] net/dpaa2: fix the prefetch Rx to honor nb pkts

2018-06-21 Thread Hemant Agrawal
This patch fix the prefetch rx routine to set the next prefetch request to the size of nb_pkts. This will assume that next request will ideally will be of same size. Fixes: 4bc5ab88dbd6 ("net/dpaa2: fix Tx only mode") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers

[dpdk-dev] [PATCH 07/10] net/dpaa: remove experimental tag from PMD APIs

2018-06-21 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c| 6 +++--- drivers/net/dpaa/dpaa_ethdev.h| 8 +--- drivers/net/dpaa/rte_pmd_dpaa.h | 5 + drivers/net/dpaa/rte_pmd_dpaa_version.map | 4 ++-- 4 files changed, 11 insertions(+), 12 deletions

[dpdk-dev] [PATCH 10/10] bus/fslmc: cleanup unnecessary global variables

2018-06-21 Thread Hemant Agrawal
Changes originally in the patch "drivers: cleanup unnecessary global variables" by Pavan. Signed-off-by: Pavan Nikhilesh Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/qbman/qbman_portal.c | 3 +-- drivers/bus/fslmc/qbman/qbman_portal.h | 1 - 2 files changed, 1 insertion(+), 3

Re: [dpdk-dev] [PATCH 5/7] dpaa2: fix default IOVA build setting for meson builds

2018-06-29 Thread Hemant Agrawal
uilds. > > Fixes: 6ec78c2463ac ("build: add meson support for dpaaX platforms") > > Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH 0/7] Enable 32-bit native builds with meson

2018-06-29 Thread Hemant Agrawal
| 5 + > drivers/net/avp/avp_ethdev.c | 2 +- > drivers/net/sfc/meson.build | 2 +- > examples/kni/meson.build | 5 ++--- > lib/librte_bpf/meson.build | 2 +- > lib/librte_kni/meson.build | 2 +- > 7 files changed, 12 insertions(+), 8 deletions(-) > Series-Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH] doc: change tools guide to SPDX license

2018-07-04 Thread Hemant Agrawal
Colin/Christian, Can someone from canonical ack this patch. Regards, Hemant -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Hemant Agrawal Sent: Tuesday, June 5, 2018 1:20 PM To: dev@dpdk.org Cc: tho...@monjalon.net; john.mcnam...@intel.com; christian.ehrha

[dpdk-dev] SPDX tag for DPDK project

2018-07-04 Thread Hemant Agrawal
. grep -rL SPDX . | grep \Makefile$ grep -rL SPDX . | grep \.c$ grep -rL SPDX . | grep \.h$ grep -rL SPDX . | grep \.rst$ grep -rL SPDX . | grep \.sh$ Please reach to me if you need any help. Regards, Hemant

[dpdk-dev] [PATCH] security: change to SPDX license tags

2018-07-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- lib/librte_security/rte_security.c| 34 +++ lib/librte_security/rte_security.h| 34 +++ lib/librte_security/rte_security_driver.h | 34 +++ 3 files changed, 9

[dpdk-dev] [PATCH] security: remove experimental tag from security APIs

2018-07-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/rel_notes/release_18_08.rst | 7 +++ lib/librte_security/rte_security.c | 18 +- lib/librte_security/rte_security.h | 28 +--- lib/librte_security/rte_security_driver.h| 2

[dpdk-dev] [PATCH v2] security: remove experimental tag from security APIs

2018-07-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- v2: fix the release version doc/guides/rel_notes/release_18_08.rst | 7 +++ lib/librte_security/rte_security.c | 18 +- lib/librte_security/rte_security.h | 28 +--- lib/librte_security

[dpdk-dev] [PATCH v2 02/16] bus/dpaa: fix svr id fetch location

2018-07-04 Thread Hemant Agrawal
Otherwise the SVR may not be avilable for dpaa init. Fixes: 3b59b73dea08 ("bus/dpaa: update platform SoC value register routines") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/dpaa_bus.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-)

[dpdk-dev] [PATCH v2 03/16] bus/dpaa: fix the buffer offset setting in FMAN

2018-07-04 Thread Hemant Agrawal
The buffer offset was incorrectly being set at 64, thus not honoring the packet headroom. Fixes: 6d6b4f49a155 (bus/dpaa: add FMAN hardware operations") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman_hw.c | 20 +++- 1 file change

[dpdk-dev] [PATCH v2 01/16] bus/dpaa: fix phandle support for kernel 4.16

2018-07-04 Thread Hemant Agrawal
From: Alok Makhariya Fixes: 2183c6f69d7e ("bus/dpaa: add OF parser for device scanning") Cc: Shreyansh Jain Cc: sta...@dpdk.org Signed-off-by: Alok Makhariya --- drivers/bus/dpaa/base/fman/of.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/bus/dpaa/base/fman/of.c b/drivers/

[dpdk-dev] [PATCH v2 04/16] net/dpaa: fix the queue err handling and logs

2018-07-04 Thread Hemant Agrawal
Fixes: 5e7455931442 ("net/dpaa: support Rx queue configurations with eventdev") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 34 ++ 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/driver

[dpdk-dev] [PATCH v2 05/16] net/dpaa2: fix the prefetch Rx to honor nb pkts

2018-07-04 Thread Hemant Agrawal
This patch fix the prefetch rx routine to set the next prefetch request to the size of nb_pkts. This will assume that next request will ideally will be of same size. Fixes: 4bc5ab88dbd6 ("net/dpaa2: fix Tx only mode") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers

[dpdk-dev] [PATCH v2 06/16] bus/dpaa: optimize the fq callback routine

2018-07-04 Thread Hemant Agrawal
Avoid array of fq as packets are dq only from a single q. Signed-off-by: Sunil Kumar Kori Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/qbman/qman.c | 15 +++ drivers/net/dpaa/dpaa_rxtx.c | 2 +- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a

[dpdk-dev] [PATCH v2 07/16] bus/dpaa: implement new of API to get MAC address

2018-07-04 Thread Hemant Agrawal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- drivers/bus/dpaa/base/fman/of.c | 39 +++ drivers/bus/dpaa/include/of.h | 2 ++ drivers/bus/dpaa/rte_bus_dpaa_version.map | 8 +++ 3 files changed, 49 insertions(+) diff --git a/drivers/bus

[dpdk-dev] [PATCH v2 09/16] net/dpaa: support default queue mode

2018-07-04 Thread Hemant Agrawal
In case DPAA FMAN configuration tool (FMC) is not available. System can still work with default queue. (1 queue per port). Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 37 ++--- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a

[dpdk-dev] [PATCH v2 10/16] net/dpaa: remove experimental tag from PMD APIs

2018-07-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c| 6 +++--- drivers/net/dpaa/dpaa_ethdev.h| 8 +--- drivers/net/dpaa/rte_pmd_dpaa.h | 5 + drivers/net/dpaa/rte_pmd_dpaa_version.map | 4 ++-- 4 files changed, 11 insertions(+), 12 deletions

[dpdk-dev] [PATCH v2 08/16] bus/dpaa: make vdqcr configurable

2018-07-04 Thread Hemant Agrawal
From: Nipun Gupta This patch add support for configurable vdqcr exact flag. This boost the performance, however this can give side effects for some extra packet fetch. Which has been taken care in the patch as well. Signed-off-by: Nipun Gupta --- drivers/bus/dpaa/base/qbman/qman.c | 4 ++--

[dpdk-dev] [PATCH v2 12/16] bus/fslmc: cleanup unnecessary global variables

2018-07-04 Thread Hemant Agrawal
Changes originally in the patch "drivers: cleanup unnecessary global variables" by Pavan. Signed-off-by: Pavan Nikhilesh Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/qbman/qbman_portal.c | 3 +-- drivers/bus/fslmc/qbman/qbman_portal.h | 1 - 2 files changed, 1 insertion(+), 3

[dpdk-dev] [PATCH v2 11/16] bus/dpaa: cleanup unnecessary global variables

2018-07-04 Thread Hemant Agrawal
Changes originally in the patch "drivers: cleanup unnecessary global variables" by Pavan. Signed-off-by: Pavan Nikhilesh Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/netcfg_layer.c | 5 - drivers/bus/dpaa/base/qbman/bman_driver.c | 4 ++-- drivers/bus/dpaa/base/qb

[dpdk-dev] [PATCH v2 13/16] drivers: support function name in logs trace

2018-07-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/fslmc_logs.h | 2 +- drivers/crypto/dpaa2_sec/dpaa2_sec_logs.h | 2 +- drivers/crypto/dpaa_sec/dpaa_sec_log.h | 2 +- drivers/event/dpaa2/dpaa2_eventdev_logs.h | 2 +- drivers/net/dpaa2/dpaa2_pmd_logs.h | 2 +- drivers

[dpdk-dev] [PATCH v2 14/16] net/dpaa: move the push queue set to global init

2018-07-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index 00611f8..5c0aafb 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b

[dpdk-dev] [PATCH v2 15/16] bus/dpaa: add support for SG config

2018-07-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman_hw.c | 42 +++ drivers/bus/dpaa/include/fsl_fman.h | 6 + drivers/bus/dpaa/rte_bus_dpaa_version.map | 2 ++ 3 files changed, 50 insertions(+) diff --git a/drivers/bus/dpaa/base/fman

[dpdk-dev] [PATCH v2 16/16] net/dpaa: implement scatter offload support

2018-07-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 75 +- drivers/net/dpaa/dpaa_ethdev.h | 3 +- drivers/net/dpaa/dpaa_rxtx.c | 4 +-- drivers/net/dpaa/dpaa_rxtx.h | 2 -- 4 files changed, 70 insertions(+), 14 deletions(-) diff

[dpdk-dev] [PATCH] test/crypto: fix the devid testcases

2018-07-04 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- test/test/test_cryptodev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test/test_cryptodev.c b/test/test/test_cryptodev.c index 389f796..e252fee 100644 --- a/test/test/test_cryptodev.c +++ b/test/test/test_cryptodev.c @@

[dpdk-dev] [PATCH v2] mk: change TLS model for DPAA machine

2018-07-04 Thread Hemant Agrawal
From: Sachin Saxena Random corruptions observed on platfoms with using the dpdk library in shared mode with VPP software (plugin). using traditional TLS scheme resolved the issue. Tested with VPP with DPDK as a plugin. Signed-off-by: Sachin Saxena --- v2: remove the armv8 machine changes mk

[dpdk-dev] [PATCH v3 01/16] bus/dpaa: fix phandle support for kernel 4.16

2018-07-06 Thread Hemant Agrawal
From: Alok Makhariya Fixes: 2183c6f69d7e ("bus/dpaa: add OF parser for device scanning") Cc: Shreyansh Jain Cc: sta...@dpdk.org Signed-off-by: Alok Makhariya Acked-by: Shreyansh Jain --- drivers/bus/dpaa/base/fman/of.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/bus/dpaa

[dpdk-dev] [PATCH v3 02/16] bus/dpaa: fix svr id fetch location

2018-07-06 Thread Hemant Agrawal
Otherwise the SVR may not be avilable for dpaa init. Fixes: 3b59b73dea08 ("bus/dpaa: update platform SoC value register routines") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal Acked-by: Shreyansh Jain --- drivers/bus/dpaa/dpaa_bus.c | 14 +++--- 1 file changed, 7 insert

[dpdk-dev] [PATCH v3 04/16] net/dpaa: fix the queue err handling and logs

2018-07-06 Thread Hemant Agrawal
Fixes: 5e7455931442 ("net/dpaa: support Rx queue configurations with eventdev") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal Acked-by: Shreyansh Jain --- drivers/net/dpaa/dpaa_ethdev.c | 34 ++ 1 file changed, 26 insertions(+), 8 deletions(-) di

[dpdk-dev] [PATCH v3 03/16] bus/dpaa: fix the buffer offset setting in FMAN

2018-07-06 Thread Hemant Agrawal
The buffer offset was incorrectly being set at 64, thus not honoring the packet headroom. Fixes: 6d6b4f49a155 (bus/dpaa: add FMAN hardware operations") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman_hw.c | 20 +++- 1 file change

[dpdk-dev] [PATCH v3 06/16] bus/dpaa: optimize the fq callback routine

2018-07-06 Thread Hemant Agrawal
Avoid array of fq as packets are dq only from a single q. Signed-off-by: Sunil Kumar Kori Signed-off-by: Hemant Agrawal Acked-by: Shreyansh Jain --- drivers/bus/dpaa/base/qbman/qman.c | 15 +++ drivers/net/dpaa/dpaa_rxtx.c | 2 +- 2 files changed, 8 insertions(+), 9

[dpdk-dev] [PATCH v3 08/16] bus/dpaa: make vdqcr configurable

2018-07-06 Thread Hemant Agrawal
From: Nipun Gupta This patch add support for configurable vdqcr exact flag. This boost the performance, however this can give side effects for some extra packet fetch. Which has been taken care in the patch as well. Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- drivers/bus/dpaa/base

[dpdk-dev] [PATCH v3 09/16] net/dpaa: support default queue mode

2018-07-06 Thread Hemant Agrawal
In case DPAA FMAN configuration tool (FMC) is not available, the system can still work with default queue(1 queue per port). This patch also fixes some logs related to FQ ids, which were idetified while testing this support. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 37

[dpdk-dev] [PATCH v3 05/16] net/dpaa2: fix the prefetch Rx to honor nb pkts

2018-07-06 Thread Hemant Agrawal
This patch fixes prefetch rx routine to set the next prefetch request to the size of nb_pkts. It assumes that next request would ideally be of same size. Fixes: 4bc5ab88dbd6 ("net/dpaa2: fix Tx only mode") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal Acked-by: Shreyansh Jain --

[dpdk-dev] [PATCH v3 07/16] bus/dpaa: implement new of API to get MAC address

2018-07-06 Thread Hemant Agrawal
From: Akhil Goyal Signed-off-by: Akhil Goyal Acked-by: Shreyansh Jain --- drivers/bus/dpaa/base/fman/of.c | 39 +++ drivers/bus/dpaa/include/of.h | 2 ++ drivers/bus/dpaa/rte_bus_dpaa_version.map | 8 +++ 3 files changed, 49 insertions(+)

[dpdk-dev] [PATCH v3 11/16] bus/dpaa: cleanup unnecessary global variables

2018-07-06 Thread Hemant Agrawal
Signed-off-by: Pavan Nikhilesh Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/netcfg_layer.c | 5 - drivers/bus/dpaa/base/qbman/bman_driver.c | 4 ++-- drivers/bus/dpaa/base/qbman/qman.c| 2 +- drivers/bus/dpaa/base/qbman/qman_driver.c | 4 ++-- drivers/bus/dpaa/base

[dpdk-dev] [PATCH v3 10/16] net/dpaa: remove experimental tag from PMD APIs

2018-07-06 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal Acked-by: Shreyansh Jain --- drivers/net/dpaa/dpaa_ethdev.c| 6 +++--- drivers/net/dpaa/dpaa_ethdev.h| 8 +--- drivers/net/dpaa/rte_pmd_dpaa.h | 5 + drivers/net/dpaa/rte_pmd_dpaa_version.map | 4 ++-- 4 files changed, 11

[dpdk-dev] [PATCH v3 12/16] bus/fslmc: cleanup unnecessary global variables

2018-07-06 Thread Hemant Agrawal
Signed-off-by: Pavan Nikhilesh Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/qbman/qbman_portal.c | 3 +-- drivers/bus/fslmc/qbman/qbman_portal.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/bus/fslmc/qbman/qbman_portal.c b/drivers/bus/fslmc/qbman

[dpdk-dev] [PATCH v3 14/16] net/dpaa: move the push queue set to global init

2018-07-06 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal Acked-by: Shreyansh Jain --- drivers/net/dpaa/dpaa_ethdev.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index 00611f8..5c0aafb 100644 --- a/drivers

[dpdk-dev] [PATCH v3 15/16] bus/dpaa: add support for SG config

2018-07-06 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman_hw.c | 42 +++ drivers/bus/dpaa/include/fsl_fman.h | 6 + drivers/bus/dpaa/rte_bus_dpaa_version.map | 2 ++ 3 files changed, 50 insertions(+) diff --git a/drivers/bus/dpaa/base/fman

[dpdk-dev] [PATCH v3 16/16] net/dpaa: implement scatter offload support

2018-07-06 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal Acked-by: Shreyansh Jain --- drivers/net/dpaa/dpaa_ethdev.c | 75 +- drivers/net/dpaa/dpaa_ethdev.h | 3 +- drivers/net/dpaa/dpaa_rxtx.c | 4 +-- drivers/net/dpaa/dpaa_rxtx.h | 2 -- 4 files changed, 70 insertions

[dpdk-dev] [PATCH v3 13/16] drivers: support function name in logs trace

2018-07-06 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal Acked-by: Shreyansh Jain --- drivers/bus/fslmc/fslmc_logs.h | 2 +- drivers/crypto/dpaa2_sec/dpaa2_sec_logs.h | 2 +- drivers/crypto/dpaa_sec/dpaa_sec_log.h | 2 +- drivers/event/dpaa2/dpaa2_eventdev_logs.h | 2 +- drivers/net/dpaa2

Re: [dpdk-dev] [PATCH v2 09/16] net/dpaa: support default queue mode

2018-07-06 Thread Hemant Agrawal
On Wednesday 04 July 2018 03:13 PM, Hemant Agrawal wrote: > In case DPAA FMAN configuration tool (FMC) is not available. > System can still work with default queue. (1 queue per port). The commit message needs to reflect the fact this patch is also fixing some debugging logs which h

Re: [dpdk-dev] [PATCH v2 05/16] net/dpaa2: fix the prefetch Rx to honor nb pkts

2018-07-06 Thread Hemant Agrawal
On Wednesday 04 July 2018 03:13 PM, Hemant Agrawal wrote: > This patch fix the prefetch rx routine to ^ fixes > set the next prefetch request to the size of nb_pkts. > This will assume that next request will ideally will be of same size. Incorrect wording. M

Re: [dpdk-dev] [PATCH] net/qede: move SPDX tags to source files

2018-07-08 Thread Hemant Agrawal
Hi Rasesh, There is a problem with these patches. The SPDX shall be first line for *.c, *.h and Makefiles. It shall come before the copyright statements. Regards, Hemant diff --git a/drivers/net/qede/Makefile b/drivers/net/qede/Makefile index c30a867..45ad579 100644 --- a/drivers/net

[dpdk-dev] DPDK techboard minutes of October 10

2018-10-23 Thread Hemant Agrawal
Meeting notes for the DPDK technical board meeting held on 2018-10-10 Attendees: - Bruce Richardson - Ferruh Yigit - Hemant Agrawal - Jerin Jacob - Konstantin Ananyev - Maxime Coquelin - Olivier Matz - Stephen Hemminger

Re: [dpdk-dev] [PATCH] security: remove experimental tag

2018-11-14 Thread Hemant Agrawal
ho...@monjalon.net; Ananyev, Konstantin >>>>> ; jerin.ja...@caviumnetworks.com; >>>>> anoob.jos...@caviumnetworks.com; Nicolau, Radu >>>>> ; Doherty, Declan >>>>> ; Hemant Agrawal >>>>> ; Akhil Goyal >>>&g

Re: [dpdk-dev] [PATCH] security: remove experimental tag

2018-11-14 Thread Hemant Agrawal
Acked-by: Hemant Agrawal On 11/13/2018 4:58 PM, Akhil Goyal wrote: > rte_security has been experimental since DPDK 17.11 release. > Now the library has matured and expermental tag is removed in > this patch. > >

Re: [dpdk-dev] [PATCH] doc: announce deprecation of dpaa2 exposed mem structure

2018-11-21 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [dpdk-dev] CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES: no difference in memory pool allocations, when enabling/disabling this configuration

2018-11-27 Thread Hemant Agrawal
On 11/26/2018 8:55 PM, Asaf Sinai wrote: > +CC Ilia & Sasha. > > -Original Message- > From: Burakov, Anatoly > Sent: Monday, November 26, 2018 04:57 PM > To: Ilya Maximets ; Asaf Sinai ; > dev@dpdk.org; Thomas Monjalon > Subject: Re: [dpdk-dev] CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES: no di

Re: [dpdk-dev] [PATCH] rawdev: remove experimental flag

2018-07-15 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

[dpdk-dev] [PATCH] examples/ipsec-secgw: add 3des-cbc support

2018-07-25 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/sample_app_ug/ipsec_secgw.rst | 3 ++- examples/ipsec-secgw/esp.c | 3 +++ examples/ipsec-secgw/sa.c| 11 ++- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/doc/guides/sample_app_ug

[dpdk-dev] [PATCH v2] doc: add SPDX and copyright to rel notes

2018-07-26 Thread Hemant Agrawal
using "The DPDK Contributors" as decided by techboard. Signed-off-by: Hemant Agrawal --- doc/guides/rel_notes/deprecation.rst | 3 +++ doc/guides/rel_notes/release_16_04.rst | 3 +++ doc/guides/rel_notes/release_16_07.rst | 3 +++ doc/guides/rel_notes/release_16_11.rst | 3 +++

Re: [dpdk-dev] dpaa2: building with EXTRA_CFLAGS="-g -O0" and shared libs link error

2018-08-20 Thread Hemant Agrawal
Hi Keith, I am able to reproduce the issue. We will send the fix asap. Regards, Hemant -Original Message- From: dev On Behalf Of Wiles, Keith Sent: Sunday, August 19, 2018 8:25 PM To: DPDK Subject: [dpdk-dev] dpaa2: building with EXTRA_CFLAGS="-g -O0" and shared

[dpdk-dev] [PATCH] bus/fslmc: fix the undefined ref of rte dpaa2 memsegs

2018-08-20 Thread Hemant Agrawal
This patch fix the undefined reference issue with rte_dpaa2_memsegs when compiled in shared lib mode with EXTRA_CFLAGS="-g -O0" Fixes: 365fb925d3b3 ("bus/fslmc: optimize physical to virtual address search") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal Reported-by: Keith

[dpdk-dev] [PATCH v2] bus/fslmc: fix the undefined ref of rte dpaa2 memsegs

2018-08-27 Thread Hemant Agrawal
This patch fix the undefined reference issue with rte_dpaa2_memsegs when compiled in shared lib mode with EXTRA_CFLAGS="-g -O0" Bugzilla ID: 61 Fixes: 365fb925d3b3 ("bus/fslmc: optimize physical to virtual address search") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal

[dpdk-dev] [PATCH 02/13] net/dpaa: fix jumbo buffer config

2018-08-29 Thread Hemant Agrawal
Avoid return after the jumbo buffer config in dev config API Fixes: 9658ac3a4ef6 ("net/dpaa: set the correct frame size in device MTU") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 10 -- 1 file changed, 8 insertions(+), 2 deletion

[dpdk-dev] [PATCH 03/13] net/dpaa: implement scatter offload support

2018-08-29 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 62 +++--- drivers/net/dpaa/dpaa_ethdev.h | 3 +- drivers/net/dpaa/dpaa_rxtx.c | 8 +++--- drivers/net/dpaa/dpaa_rxtx.h | 2 -- 4 files changed, 64 insertions(+), 11 deletions(-) diff

[dpdk-dev] [PATCH 00/13] driver/net: NXP DPAA driver enhancements

2018-08-29 Thread Hemant Agrawal
Hemant Agrawal (9): net/dpaa: configure frame queue on MAC ID basis net/dpaa: fix jumbo buffer config net/dpaa: implement scatter offload support net/dpaa: minor debug log enhancements bus/dpaa: add interrupt based portal fd support net/dpaa: separate Rx function for LS1046 net

[dpdk-dev] [PATCH 01/13] net/dpaa: configure frame queue on MAC ID basis

2018-08-29 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 25 ++--- drivers/net/dpaa/dpaa_ethdev.h | 2 +- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index 7a950ac..009ef84 100644

[dpdk-dev] [PATCH 05/13] net/dpaa: minor debug log enhancements

2018-08-29 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index 4e5cc0f..df72510 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b/drivers/net/dpaa

[dpdk-dev] [PATCH 04/13] net/dpaa: set correct speed based on MAC type

2018-08-29 Thread Hemant Agrawal
From: Sachin Saxena Fixes: 799db4568c76 ("net/dpaa: support device info and speed capability") Cc: shreyansh.j...@nxp.com Cc: sta...@dpdk.org Signed-off-by: Sachin Saxena --- drivers/net/dpaa/dpaa_ethdev.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/

[dpdk-dev] [PATCH 07/13] bus/dpaa: avoid tag Set for eqcr in Tx path

2018-08-29 Thread Hemant Agrawal
From: Nipun Gupta Signed-off-by: Nipun Gupta --- drivers/bus/dpaa/base/qbman/qman.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/bus/dpaa/base/qbman/qman.c b/drivers/bus/dpaa/base/qbman/qman.c index 8730550..71da275 100644 --- a/drivers/bus/dpaa/base/qbman/qman.c +++ b/drive

<    9   10   11   12   13   14   15   16   17   18   >