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
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
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
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
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
-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
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
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
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
-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
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
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
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
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
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
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
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
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
-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
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
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
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
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
, 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.
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
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
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
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
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
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
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
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
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
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
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
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
: Shreyansh Jain
---
:: This patch is based on *net-next* tree.
..
Acked-by: Hemant Agrawal
EPTH;
dev_info->max_event_port_enqueue_depth =
Acked-by: 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:
/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
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
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
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
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
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
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
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-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
..
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
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
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
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
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
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
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
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
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-
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
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
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
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
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
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
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
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
+--
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
+
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
My thunderbird mails are getting delayed.
I have provided a response there that this patch is not ok in it's current
state.
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-
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
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
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
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
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
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().
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
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
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
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
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
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
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
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
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
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
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
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):
1601 - 1700 of 3120 matches
Mail list logo