[dpdk-dev] [PATCH 06/13] bus/dpaa: add interrupt based portal fd support

2018-08-29 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/qbman/bman_driver.c | 17 ++ drivers/bus/dpaa/base/qbman/qman.c| 52 +++ drivers/bus/dpaa/base/qbman/qman_driver.c | 7 - drivers/bus/dpaa/include/fsl_qman.h | 20 drivers

[dpdk-dev] [PATCH 09/13] net/dpaa: rearranging of atomic queue support code

2018-08-29 Thread Hemant Agrawal
From: Sunil Kumar Kori Signed-off-by: Sunil Kumar Kori --- drivers/net/dpaa/dpaa_rxtx.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/drivers/net/dpaa/dpaa_rxtx.c b/drivers/net/dpaa/dpaa_rxtx.c index 3a3a048..6698c97 100644 --- a/drivers/net/dpa

[dpdk-dev] [PATCH 08/13] bus/dpaa: avoid using be conversions for contextb

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

[dpdk-dev] [PATCH 10/13] net/dpaa: separate Rx function for LS1046

2018-08-29 Thread Hemant Agrawal
This is to avoid the checks in datapath Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 9 +-- drivers/net/dpaa/dpaa_rxtx.c | 60 +- drivers/net/dpaa/dpaa_rxtx.h | 3 +++ 3 files changed, 58 insertions(+), 14 deletions

[dpdk-dev] [PATCH 11/13] net/dpaa: tune prefetch in Rx path

2018-08-29 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_rxtx.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/dpaa/dpaa_rxtx.c b/drivers/net/dpaa/dpaa_rxtx.c index 2c57741..c4471c2 100644 --- a/drivers/net/dpaa/dpaa_rxtx.c +++ b/drivers/net/dpaa

[dpdk-dev] [PATCH 12/13] bus/dpaa: add check for re-definition in compat

2018-08-29 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/include/compat.h | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/drivers/bus/dpaa/include/compat.h b/drivers/bus/dpaa/include/compat.h index 92241d2..4122657 100644 --- a/drivers/bus/dpaa/include

[dpdk-dev] [PATCH 13/13] mempool/dpaa: change the debug log level to DP

2018-08-29 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/mempool/dpaa/dpaa_mempool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mempool/dpaa/dpaa_mempool.c b/drivers/mempool/dpaa/dpaa_mempool.c index 10c536b..1c12122 100644 --- a/drivers/mempool/dpaa/dpaa_mempool.c +++ b

[dpdk-dev] [PATCH 1/2] event/dpaa: remove duplicate log macros

2018-08-29 Thread Hemant Agrawal
align and cleanup the debug log prints Signed-off-by: Hemant Agrawal --- drivers/event/dpaa/dpaa_eventdev.c | 58 +++--- drivers/event/dpaa/dpaa_eventdev.h | 7 - 2 files changed, 29 insertions(+), 36 deletions(-) diff --git a/drivers/event/dpaa

[dpdk-dev] [PATCH 2/2] event/dpaa: add select based event support

2018-08-29 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- config/common_base | 1 + config/defconfig_arm64-dpaa-linuxapp-gcc | 1 + drivers/event/dpaa/dpaa_eventdev.c | 148 +++ drivers/event/dpaa/dpaa_eventdev.h | 8 +- 4 files changed, 115 insertions

[dpdk-dev] [PATCH 02/10] crypto/dpaa_sec: session reset before init

2018-08-29 Thread Hemant Agrawal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 2 ++ drivers/crypto/dpaa_sec/dpaa_sec.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c inde

[dpdk-dev] [PATCH 01/10] crypto/dpaa2_sec: update the flib RTA to latest

2018-08-29 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c| 5 +- drivers/crypto/dpaa2_sec/hw/desc.h | 814 + drivers/crypto/dpaa2_sec/hw/desc/algo.h| 58 +- drivers/crypto/dpaa2_sec/hw/desc/ipsec.h | 195

[dpdk-dev] [PATCH 03/10] crypto/dpaa_sec: add LOCK before Rx HW queue attach

2018-08-29 Thread Hemant Agrawal
From: Akhil Goyal This is to safegaurd as the session config can be done from multi-threads. Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa_sec/dpaa_sec.c | 6 ++ drivers/crypto/dpaa_sec/dpaa_sec.h | 1 + 2 files changed, 7 insertions(+) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.c

[dpdk-dev] [PATCH 00/10] crypto: DPAA and DPAA2_SEC enhancements

2018-08-29 Thread Hemant Agrawal
rollover crypto/dpaa2_sec: enable sequence no rollover Hemant Agrawal (5): crypto/dpaa2_sec: update the flib RTA to latest crypto/dpaa_sec: reduce the number of QP per device crypto/dpaa2_sec: add out of place crypto support crypto/dpaa2_sec: multi algo support for ipsec session crypto

[dpdk-dev] [PATCH 04/10] crypto/dpaa_sec: session qp should match with given qp

2018-08-29 Thread Hemant Agrawal
From: Akhil Goyal if session->qp != qp to be enqueued, it should show an error and not try to re-attach another qp. Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa_sec/dpaa_sec.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.

[dpdk-dev] [PATCH 06/10] crypto/dpaa_sec: enable sequence no rollover

2018-08-29 Thread Hemant Agrawal
From: Akhil Goyal With this patch sequence number will be rolled over and SEC block will ignore the sequence number overflow error. Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa_sec/dpaa_sec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/dpaa_sec/dp

[dpdk-dev] [PATCH 05/10] crypto/dpaa_sec: reduce the number of QP per device

2018-08-29 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa_sec/dpaa_sec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.h b/drivers/crypto/dpaa_sec/dpaa_sec.h index e923942..f4b8784 100644 --- a/drivers/crypto/dpaa_sec/dpaa_sec.h +++ b/drivers

[dpdk-dev] [PATCH 09/10] crypto/dpaa2_sec: multi algo support for ipsec session

2018-08-29 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 294 ++-- 1 file changed, 190 insertions(+), 104 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index ca6ddad..e3dafeb

[dpdk-dev] [PATCH 08/10] crypto/dpaa2_sec: add out of place crypto support

2018-08-29 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 76 + 1 file changed, 76 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index 99cc719..ca6ddad 100644 --- a/drivers

[dpdk-dev] [PATCH 10/10] crypto/dpaa_sec: ipsec offload add null algo support

2018-08-29 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa_sec/dpaa_sec.c | 284 + 1 file changed, 165 insertions(+), 119 deletions(-) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.c b/drivers/crypto/dpaa_sec/dpaa_sec.c index e5b18df..2f0a5d2 100644 --- a/drivers

[dpdk-dev] [PATCH 07/10] crypto/dpaa2_sec: enable sequence no rollover

2018-08-29 Thread Hemant Agrawal
From: Akhil Goyal With this patch sequence number will be rolled over and SEC block will ignore the sequence number overflow error. Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/dp

[dpdk-dev] [PATCH 2/5] event/dpaa2: rename evq info to dpaa2 eventq

2018-08-29 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/event/dpaa2/dpaa2_eventdev.c | 8 drivers/event/dpaa2/dpaa2_eventdev.h | 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c index ea9d868..c4064a4

[dpdk-dev] [PATCH 1/5] event/dpaa2: fix mbuf assignment in atomic processing

2018-08-29 Thread Hemant Agrawal
Fixes: 7b6edb640b73 ("event/dpaa2: have separate structure to hold dqrr entries") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/event/dpaa2/dpaa2_eventdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/e

[dpdk-dev] [PATCH 3/5] event/dpaa2: enchance timeout handling

2018-08-29 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/event/dpaa2/dpaa2_eventdev.c | 19 --- drivers/event/dpaa2/dpaa2_eventdev.h | 1 + 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c index c4064a4

[dpdk-dev] [PATCH 4/5] event/dpaa2: support Max event port value

2018-08-29 Thread Hemant Agrawal
This shall be number of available cores. Signed-off-by: Hemant Agrawal --- drivers/event/dpaa2/dpaa2_eventdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c index 4b56e2e..456b446 100644 --- a/drivers/event

[dpdk-dev] [PATCH 5/5] event/dpaa2: affining portal at runtime during I/O

2018-08-29 Thread Hemant Agrawal
This patch restructure the code to have the QBMAN portal affliated at run time. The device cleanup is also improved. Signed-off-by: Sunil Kumar Kori Signed-off-by: Hemant Agrawal --- drivers/event/dpaa2/dpaa2_eventdev.c | 277 --- drivers/event/dpaa2

[dpdk-dev] [PATCH 1/4] doc: create a platorm specific page for NXP DPAA platform

2018-08-30 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/platform/dpaa.rst | 102 ++ doc/guides/platform/index.rst | 1 + 2 files changed, 103 insertions(+) create mode 100644 doc/guides/platform/dpaa.rst diff --git a/doc/guides/platform/dpaa.rst b/doc/guides

[dpdk-dev] [PATCH 2/4] doc: remove redundant prerequisite info for dpaa devices

2018-08-30 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/cryptodevs/dpaa_sec.rst | 25 ++-- doc/guides/eventdevs/dpaa.rst | 48 +++ doc/guides/nics/dpaa.rst | 59 +- 3 files changed, 7 insertions(+), 125 deletions

[dpdk-dev] [PATCH 4/4] doc: remove redundant prerequisite info for dpaa2 devices

2018-08-30 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/cryptodevs/dpaa2_sec.rst | 28 +- doc/guides/eventdevs/dpaa2.rst | 48 - doc/guides/nics/dpaa2.rst | 48 - 3 files changed, 14 insertions

[dpdk-dev] [PATCH 3/4] doc: create a platorm specific page for NXP DPAA2 platform

2018-08-30 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/platform/dpaa2.rst | 100 ++ doc/guides/platform/index.rst | 1 + 2 files changed, 101 insertions(+) create mode 100644 doc/guides/platform/dpaa2.rst diff --git a/doc/guides/platform/dpaa2.rst b/doc/guides

Re: [dpdk-dev] bus/fslmc: add QBMAN driver to bus patch problem

2018-04-17 Thread Hemant Agrawal
I missed it. We will check it asap. Sent from my Android phone using TouchDown (www.symantec.com) -Original Message- From: Maxime Coquelin [maxime.coque...@redhat.com] Received: Tuesday, 17 Apr 2018, 5:43PM To: Rybalchenko, Kirill [kirill.rybalche...@intel.com]; Hemant Agrawal

Re: [dpdk-dev] [PATCH 0/3] convert to SPDX-3 clause license tag

2018-04-19 Thread Hemant Agrawal
Series-Acked-by: Hemant Agrawal On 4/19/2018 2:22 PM, gavin...@linaro.org wrote: From: Gavin Hu Convert to the new SPDX-3 clause license tag for the files with Linaro Copyright only. Gavin Hu (3): examples/l3fwd: convert to SPDX license tags expamples/ip_pipeline: convert to SPDX

[dpdk-dev] [PATCH] bus/fslmc: fix the compilation with clang 3.4

2018-04-19 Thread Hemant Agrawal
error: redefinition of typedef 'dma_addr_t' is a C11 feature [-Werror,-Wtypedef-redefinition] Fixes: 4bc5ab88dbd6 ("net/dpaa2: fix Tx only mode") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/qbman/include/fsl_qbman_base.h | 2 -- driv

Re: [dpdk-dev] [PATCH v3 3/4] net/netvsc: add documentation

2018-04-19 Thread Hemant Agrawal
useful for one network device. > > What did Dpaa2 do? > > It seems they also only documented the drivers (net, crypto, event). > > There is no bus level documentation for any bus, if I am not missing them, not > sure if this is a gap? > [Hemant] dpaa2 bus documentation is embedded within the net/dpaa2 drivers. Regards, Hemant

Re: [dpdk-dev] [RFC] checkpatch: don't complain about SPDX tag format

2018-04-19 Thread Hemant Agrawal
candidate for some checks. > > > For example, check for use of strcpy or strncpy (or snprintf with > > "%s") and suggest replacing with strlcpy. If we did have our own > > extension script, we could put our own SPDX format check there too. > > > > Tho

Re: [dpdk-dev] [PATCH 1/2] build: fix kernel compile on cross-build

2018-04-19 Thread Hemant Agrawal
dir('drivers') > > +# build kernel modules if we have a kernel path, or we are not cross > +compiling if get_option('kernel_dir') != '' or not meson.is_cross_build() > + subdir('kernel') > +endif [Hemant] actually kernel_dir may not be alway

[dpdk-dev] [PATCH 2/4] crypto/dpaa_sec: fix HMAC supported digest sizes

2018-04-19 Thread Hemant Agrawal
.@dpdk.org Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa_sec/dpaa_sec.h | 30 ++ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.h b/drivers/crypto/dpaa_sec/dpaa_sec.h index b8f7bd2..1433

[dpdk-dev] [PATCH 1/4] crypto/dpaa_sec: support dynamic logging

2018-04-19 Thread Hemant Agrawal
This patch adds the support for dynamic logging in dpaa_sec. Signed-off-by: Hemant Agrawal --- config/common_base | 3 - config/defconfig_arm64-dpaa-linuxapp-gcc | 7 -- doc/guides/cryptodevs/dpaa_sec.rst | 21 +++-- drivers/crypto/dpaa_sec/Makefile

[dpdk-dev] [PATCH 3/4] crypto/dpaa2_sec: fix HMAC supported digest sizes

2018-04-19 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h b/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h index e8ac95b..a9d83eb 100644 --- a/driv

[dpdk-dev] [PATCH 4/4] crypto/dpaa_sec: update maximum queue pairs to 2

2018-04-19 Thread Hemant Agrawal
From: Nipun Gupta Signed-off-by: Nipun Gupta --- drivers/crypto/dpaa_sec/dpaa_sec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.h b/drivers/crypto/dpaa_sec/dpaa_sec.h index 1433595..5b25aa1 100644 --- a/drivers/crypto/dpaa_sec/dpaa_sec.h

Re: [dpdk-dev] [PATCH 1/2] build: fix kernel compile on cross-build

2018-04-19 Thread Hemant Agrawal
@@ -26,10 +26,14 @@ subdir('config') > > > > > > # build libs and drivers > > > subdir('lib') > > > -subdir('kernel') > > > subdir('buildtools') > > > subdir('drivers') > > > > >

Re: [dpdk-dev] [PATCH 3/9 v2] bus/fslmc: add macros required by QDMA for FLE and FD

2018-04-20 Thread Hemant Agrawal
On 4/20/2018 9:34 AM, Nipun Gupta wrote: Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH 4/4] crypto/dpaa_sec: update maximum queue pairs to 2

2018-04-20 Thread Hemant Agrawal
> Hi Hemant/Nipun > On 4/19/2018 10:22 PM, Hemant Agrawal wrote: > > From: Nipun Gupta > > > > Signed-off-by: Nipun Gupta > > --- > > drivers/crypto/dpaa_sec/dpaa_sec.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > >

[dpdk-dev] Incorrect SPDX license

2018-04-22 Thread Hemant Agrawal
Hi Pavan In the recently merged patches, SPDX for few files is not on first line. for e.g. "drivers/event/octeontx/timvf_worker.c" /* * SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2017 Cavium, Inc */ Please fix that. Regards, Hemant

Re: [dpdk-dev] [PATCH] event/octeontx: fix incorrect SPDX placement

2018-04-23 Thread Hemant Agrawal
> Subject: [dpdk-dev] [PATCH] event/octeontx: fix incorrect SPDX placement > Importance: High > > Fixes: fd5baf09cdf9 ("event/octeontx: probe timvf PCIe devices") > > Signed-off-by: Pavan Nikhilesh Acked-by: Hemant Agrawal

[dpdk-dev] [PATCH v3 2/2] net/dpaa2: fix the ethdev offload checks

2018-04-24 Thread Hemant Agrawal
From: Sunil Kumar Kori Fixes: 0ebce6129bc6 ("net/dpaa2: support new ethdev offload APIs") Signed-off-by: Sunil Kumar Kori Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 88 +++- 1 file changed, 60 insertions(+), 28 deletion

[dpdk-dev] [PATCH v3 1/2] net/dpaa: fix the ethdev offload checks

2018-04-24 Thread Hemant Agrawal
From: Sunil Kumar Kori Fixes: 16e2c27f4fc7 ("net/dpaa: support new ethdev offload APIs") Signed-off-by: Sunil Kumar Kori --- drivers/net/dpaa/dpaa_ethdev.c | 89 +++--- 1 file changed, 57 insertions(+), 32 deletions(-) diff --git a/drivers/net/dpaa/dpaa_eth

[dpdk-dev] [PATCH v4 1/2] net/dpaa: fix the ethdev offload checks

2018-04-24 Thread Hemant Agrawal
From: Sunil Kumar Kori Fixes: 16e2c27f4fc7 ("net/dpaa: support new ethdev offload APIs") Signed-off-by: Sunil Kumar Kori --- drivers/net/dpaa/dpaa_ethdev.c | 87 +++--- 1 file changed, 56 insertions(+), 31 deletions(-) diff --git a/drivers/net/dpaa/dpaa_eth

[dpdk-dev] [PATCH v4 2/2] net/dpaa2: fix the ethdev offload checks

2018-04-24 Thread Hemant Agrawal
From: Sunil Kumar Kori Fixes: 0ebce6129bc6 ("net/dpaa2: support new ethdev offload APIs") Signed-off-by: Sunil Kumar Kori Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 88 +++- 1 file changed, 60 insertions(+), 28 deletion

Re: [dpdk-dev] [PATCH v3 1/2] net/dpaa: fix the ethdev offload checks

2018-04-24 Thread Hemant Agrawal
HI Ferruh, > Hi Hemant, > > Overall this looks good to me, thanks. > > Only I would like to ask if you prefer to replace nodis and not_supported > checks. > > Because with current order, if an offlaod requested that both has not > supported > offload and not e

Re: [dpdk-dev] [PATCH] eventdev: convert eth Rx adapter files to SPDX license tag

2018-04-25 Thread Hemant Agrawal
quot;All rights reserved." in most patches. Acked-by: Hemant Agrawal

[dpdk-dev] [PATCH 1/5] bus/dpaa: support device blacklisting

2018-04-25 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/cryptodevs/dpaa_sec.rst | 13 + doc/guides/nics/dpaa.rst | 10 drivers/bus/dpaa/dpaa_bus.c| 101 ++--- drivers/bus/dpaa/rte_dpaa_bus.h| 2 - 4 files changed, 106 insertions(+), 20

[dpdk-dev] [PATCH 2/5] bus/fslmc: support device blacklisting

2018-04-25 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/cryptodevs/dpaa2_sec.rst | 11 doc/guides/nics/dpaa2.rst | 11 drivers/bus/fslmc/fslmc_bus.c | 107 drivers/bus/fslmc/rte_fslmc.h | 4 ++ 4 files changed, 122 insertions(+), 11

[dpdk-dev] [PATCH 4/5] net/dpaa: fix the xstats implementation

2018-04-25 Thread Hemant Agrawal
Some of the applications are expecting that if n is 0, it shall return the supported number of stats. e.g. VPP Fixes: b21ed3e2a16d ("net/dpaa: support extended statistics") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 6 +++--- 1 file

[dpdk-dev] [PATCH 3/5] bus/fslmc: minor improvements in debug logging

2018-04-25 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/fslmc_bus.c| 4 ++-- drivers/bus/fslmc/fslmc_vfio.c | 7 ++- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 1 - drivers/net/dpaa2/dpaa2_ethdev.c | 2 +- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git

[dpdk-dev] [PATCH 5/5] bus/dpaa: improve the dynamic logging

2018-04-25 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman.c | 2 +- drivers/bus/dpaa/dpaa_bus.c | 16 +--- drivers/bus/dpaa/rte_dpaa_logs.h | 11 ++- 3 files changed, 12 insertions(+), 17 deletions(-) diff --git a/drivers/bus/dpaa/base/fman/fman.c b/drivers

[dpdk-dev] [PATCH 2/2] net/dpaa2: add missing device info fields

2018-05-01 Thread Hemant Agrawal
Add the hashed RSS support info and other fields in device info. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 5 + drivers/net/dpaa2/dpaa2_ethdev.h | 6 ++ 2 files changed, 11 insertions(+) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2

[dpdk-dev] [PATCH 1/2] net/dpaa: fix the RSS hash support

2018-05-01 Thread Hemant Agrawal
Fixes: 4fa5e0bbc573 ("net/dpaa: support hashed RSS") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.h | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/net/dpaa/dpaa_ethdev.h b/drivers/net/dpaa/dpaa_ethd

Re: [dpdk-dev] [PATCH] use SPDX license tag in Mellanox copyrighted files

2018-05-01 Thread Hemant Agrawal
>Some files were left with full license and wrong copyright format. >They are switched to this format: > SPDX-License-Identifier: BSD-3-Clause > Copyright 2017 Mellanox Technologies, Ltd > >Fixes: 5feecc57d90b ("align SPDX Mellanox copyrights") Acked-by: Hemant Agrawal

[dpdk-dev] [PATCH v2] crypto/dpaa_sec: update maximum queue pairs to 8

2018-05-08 Thread Hemant Agrawal
From: Nipun Gupta The underlying hardware can support multiple queue pairs. Signed-off-by: Nipun Gupta --- drivers/crypto/dpaa_sec/dpaa_sec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.h b/drivers/crypto/dpaa_sec/dpaa_sec.h index 14335

[dpdk-dev] armv8 counter - kernel module

2018-05-08 Thread Hemant Agrawal
0OF6fl0WUtw%2FiUCzdwCX9E%2BjgpvlqJkuIKs%3D&reserved=0> Regards, Hemant

[dpdk-dev] [PATCH v2 1/4] doc: create a platorm specific page for NXP DPAA platform

2018-09-07 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/platform/dpaa.rst | 100 ++ doc/guides/platform/index.rst | 1 + 2 files changed, 101 insertions(+) create mode 100644 doc/guides/platform/dpaa.rst diff --git a/doc/guides/platform/dpaa.rst b/doc/guides

[dpdk-dev] [PATCH v2 2/4] doc: remove redundant prerequisite info for dpaa devices

2018-09-07 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/cryptodevs/dpaa_sec.rst | 25 ++-- doc/guides/eventdevs/dpaa.rst | 48 +++ doc/guides/nics/dpaa.rst | 59 +- 3 files changed, 7 insertions(+), 125 deletions

[dpdk-dev] [PATCH v2 3/4] doc: create a platorm specific page for NXP DPAA2 platform

2018-09-07 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/platform/dpaa2.rst | 98 +++ doc/guides/platform/index.rst | 1 + 2 files changed, 99 insertions(+) create mode 100644 doc/guides/platform/dpaa2.rst diff --git a/doc/guides/platform/dpaa2.rst b/doc/guides

[dpdk-dev] [PATCH v2 4/4] doc: remove redundant prerequisite info for dpaa2 devices

2018-09-07 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/cryptodevs/dpaa2_sec.rst | 28 + doc/guides/eventdevs/dpaa2.rst | 50 - doc/guides/nics/dpaa2.rst | 49 +++- 3 files changed, 15 insertions(+), 112

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

2018-09-16 Thread Hemant Agrawal
OK. We will rework and re-post the series. -Original Message- From: Thomas Monjalon Sent: Monday, September 17, 2018 1:14 AM To: Hemant Agrawal Cc: dev@dpdk.org; Ferruh Yigit ; dpdk-up Subject: Re: [dpdk-dev] [PATCH 00/13] driver/net: NXP DPAA driver enhancements Importance: High

Re: [dpdk-dev] [PATCH v2 2/4] doc: remove redundant prerequisite info for dpaa devices

2018-09-16 Thread Hemant Agrawal
07/09/2018 09:25, Hemant Agrawal: > Signed-off-by: Hemant Agrawal > --- > doc/guides/cryptodevs/dpaa_sec.rst | 25 ++-- > doc/guides/eventdevs/dpaa.rst | 48 +++ > doc/guides/nics/dpaa.rst

[dpdk-dev] [PATCH v3 1/2] doc: create a platorm specific page for NXP DPAA platform

2018-09-18 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- v3: merge the patches doc/guides/cryptodevs/dpaa_sec.rst | 25 +- doc/guides/eventdevs/dpaa.rst | 48 ++ doc/guides/nics/dpaa.rst | 59 +- doc/guides/platform/dpaa.rst | 100

[dpdk-dev] [PATCH v3 2/2] doc: create a platorm specific page for NXP DPAA2 platform

2018-09-18 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- v3: merge the patches doc/guides/cryptodevs/dpaa2_sec.rst | 28 +++ doc/guides/eventdevs/dpaa2.rst | 50 ++- doc/guides/nics/dpaa2.rst | 49 ++- doc/guides/platform/dpaa2.rst | 98

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

2018-09-18 Thread Hemant Agrawal
The current code has the hardcoded seq for fq allocation. It require multiple changes, when some of the interfaces are assigned to kernel stack. Changing it on the mac id basis provide the flexibility to assign any interface to kernel. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa

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

2018-09-18 Thread Hemant Agrawal
Misc fixes for dpaa driver V2: remove the unused function from map file Add description/details in git commit logs. 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

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

2018-09-18 Thread Hemant Agrawal
This patch implement the sg support, which can be enabled/disabled w.r.t configuration. 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

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

2018-09-18 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 v2 05/13] net/dpaa: minor debug log enhancements

2018-09-18 Thread Hemant Agrawal
Improving the debug message for event mode and reducing the log level for less important log 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

[dpdk-dev] [PATCH v2 06/13] bus/dpaa: add interrupt based portal fd support

2018-09-18 Thread Hemant Agrawal
This patch add supports in bus driver for qbman to support and configure portal based FDs, which can be used for interrupt based processing. Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/qbman/bman_driver.c | 17 ++ drivers/bus/dpaa/base/qbman/qman.c| 52

[dpdk-dev] [PATCH v2 04/13] net/dpaa: fix link speed based on MAC type

2018-09-18 Thread Hemant Agrawal
From: Sachin Saxena The link speed shall be on the basis of mac type. 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 i

[dpdk-dev] [PATCH v2 08/13] bus/dpaa: avoid using be conversions for contextb

2018-09-18 Thread Hemant Agrawal
From: Nipun Gupta minor optimization in packet handling path Signed-off-by: Nipun Gupta --- drivers/bus/dpaa/base/qbman/qman.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers/bus/dpaa/base/qbman/qman.c b/drivers/bus/dpaa/base/qbman/qman.c index 71d

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

2018-09-18 Thread Hemant Agrawal
From: Nipun Gupta Minor optimization for TX path. 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/d

[dpdk-dev] [PATCH v2 10/13] net/dpaa: separate Rx function for LS1046

2018-09-18 Thread Hemant Agrawal
This is to avoid the checks in datapath and help in performance. LS1046 has different data stash settings. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 9 +-- drivers/net/dpaa/dpaa_rxtx.c | 60 +- drivers/net/dpaa/dpaa_rxtx.h

[dpdk-dev] [PATCH v2 09/13] net/dpaa: rearranging of atomic queue support code

2018-09-18 Thread Hemant Agrawal
From: Sunil Kumar Kori This is to align the code with dpaa2 to ease out maintaince of both driver code bases. Signed-off-by: Sunil Kumar Kori --- drivers/net/dpaa/dpaa_rxtx.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/drivers/net/dpaa/dpaa_r

[dpdk-dev] [PATCH v2 11/13] net/dpaa: tune prefetch in Rx path

2018-09-18 Thread Hemant Agrawal
As part of performance optimization excercise, tuning the prefetch placement. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_rxtx.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/dpaa/dpaa_rxtx.c b/drivers/net/dpaa/dpaa_rxtx.c index 2c57741

[dpdk-dev] [PATCH v2 12/13] bus/dpaa: add check for re-definition in compat

2018-09-18 Thread Hemant Agrawal
Few fields in compat are giving re-defination error with new drivers such as caam_jr. Checks have been added. Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/include/compat.h | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/drivers/bus/dpaa/include

[dpdk-dev] [PATCH v2 13/13] mempool/dpaa: change the debug log level to DP

2018-09-18 Thread Hemant Agrawal
When the system goes out of buffers temporarily, the logs further slow down the system. There is no need for this continuos logs. Signed-off-by: Hemant Agrawal --- drivers/mempool/dpaa/dpaa_mempool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mempool/dpaa

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

2018-09-21 Thread Hemant Agrawal
The current code has the hardcoded seq for fq allocation. It require multiple changes, when some of the interfaces are assigned to kernel stack. Changing it on the mac id basis provide the flexibility to assign any interface to kernel. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa

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

2018-09-21 Thread Hemant Agrawal
Misc driver level enhancements V3: fix the description and implementation of jumbo buffer fix V2: remove the unused function from map file Add description/details in git commit logs. Hemant Agrawal (9): net/dpaa: configure frame queue on MAC ID basis net/dpaa: fix jumbo buffer config

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

2018-09-21 Thread Hemant Agrawal
Set the missing dev data mtu for the correct size. Set the max supported size in hw, if user is asking for more. 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_eth

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

2018-09-21 Thread Hemant Agrawal
This patch implement the sg support, which can be enabled/disabled w.r.t configuration. 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

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

2018-09-21 Thread Hemant Agrawal
Improving the debug message for event mode and reducing the log level for less important log 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

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

2018-09-21 Thread Hemant Agrawal
From: Nipun Gupta Minor optimization for TX path. 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/d

[dpdk-dev] [PATCH v3 06/13] bus/dpaa: add interrupt based portal fd support

2018-09-21 Thread Hemant Agrawal
This patch add supports in bus driver for qbman to support and configure portal based FDs, which can be used for interrupt based processing. Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/qbman/bman_driver.c | 17 ++ drivers/bus/dpaa/base/qbman/qman.c| 52

[dpdk-dev] [PATCH v3 04/13] net/dpaa: fix link speed based on MAC type

2018-09-21 Thread Hemant Agrawal
From: Sachin Saxena The link speed shall be on the basis of mac type. 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 i

[dpdk-dev] [PATCH v3 08/13] bus/dpaa: avoid using be conversions for contextb

2018-09-21 Thread Hemant Agrawal
From: Nipun Gupta minor optimization in packet handling path Signed-off-by: Nipun Gupta --- drivers/bus/dpaa/base/qbman/qman.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers/bus/dpaa/base/qbman/qman.c b/drivers/bus/dpaa/base/qbman/qman.c index 71d

[dpdk-dev] [PATCH v3 11/13] net/dpaa: tune prefetch in Rx path

2018-09-21 Thread Hemant Agrawal
As part of performance optimization excercise, tuning the prefetch placement. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_rxtx.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/dpaa/dpaa_rxtx.c b/drivers/net/dpaa/dpaa_rxtx.c index 2c57741

[dpdk-dev] [PATCH v3 09/13] net/dpaa: rearranging of atomic queue support code

2018-09-21 Thread Hemant Agrawal
From: Sunil Kumar Kori This is to align the code with dpaa2 to ease out maintaince of both driver code bases. Signed-off-by: Sunil Kumar Kori --- drivers/net/dpaa/dpaa_rxtx.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/drivers/net/dpaa/dpaa_r

[dpdk-dev] [PATCH v3 10/13] net/dpaa: separate Rx function for LS1046

2018-09-21 Thread Hemant Agrawal
This is to avoid the checks in datapath and help in performance. LS1046 has different data stash settings. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.c | 9 +-- drivers/net/dpaa/dpaa_rxtx.c | 60 +- drivers/net/dpaa/dpaa_rxtx.h

[dpdk-dev] [PATCH v3 13/13] mempool/dpaa: change the debug log level to DP

2018-09-21 Thread Hemant Agrawal
When the system goes out of buffers temporarily, the logs further slow down the system. There is no need for this continuos logs. Signed-off-by: Hemant Agrawal --- drivers/mempool/dpaa/dpaa_mempool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mempool/dpaa

[dpdk-dev] [PATCH v3 12/13] bus/dpaa: add check for re-definition in compat

2018-09-21 Thread Hemant Agrawal
Few fields in compat are giving re-defination error with new drivers such as caam_jr. Checks have been added. Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/include/compat.h | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/drivers/bus/dpaa/include

[dpdk-dev] [PATCH v2 2/5] event/dpaa2: rename evq info to dpaa2 eventq

2018-09-21 Thread Hemant Agrawal
This is to keep the dpaa2 driver aligned with dpaa driver. Signed-off-by: Hemant Agrawal --- drivers/event/dpaa2/dpaa2_eventdev.c | 8 drivers/event/dpaa2/dpaa2_eventdev.h | 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b

[dpdk-dev] [PATCH v2 4/5] event/dpaa2: support Max event port value

2018-09-21 Thread Hemant Agrawal
This shall be number of available cores. Signed-off-by: Hemant Agrawal --- drivers/event/dpaa2/dpaa2_eventdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c index 4b56e2e..456b446 100644 --- a/drivers/event

[dpdk-dev] [PATCH v2 3/5] event/dpaa2: enchance timeout handling

2018-09-21 Thread Hemant Agrawal
This patch enahances: 1. configure the dequeue time out value as per the given method or per dequeue, global or default. 2. The timeout values were being mixed as ns or ms timeouts. now the values are stored as ns and scale is in ms. Signed-off-by: Hemant Agrawal --- v2: added description

[dpdk-dev] [PATCH v2 1/5] event/dpaa2: fix mbuf assignment in atomic processing

2018-09-21 Thread Hemant Agrawal
Fixes: 7b6edb640b73 ("event/dpaa2: have separate structure to hold dqrr entries") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/event/dpaa2/dpaa2_eventdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/e

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