[dpdk-dev] [PATCH v6 0/5] mempool: add external mempool manager

2016-06-01 Thread David Hunt
ary "custom_handler" mempool manager using simple mallocs for each mempool object. This file also contains the callbacks and self registration for the new handler. David Hunt (4): mempool: support external handler mempool: remove rte_ring from rte_mempool struct mempool: add default

[dpdk-dev] [PATCH v6 1/5] mempool: support external handler

2016-06-01 Thread David Hunt
Signed-off-by: David Hunt --- lib/librte_mempool/Makefile | 1 + lib/librte_mempool/rte_mempool.c | 71 -- lib/librte_mempool/rte_mempool.h | 235 --- lib/librte_mempool/rte_mempool_handler.c | 141 +++ 4 files

[dpdk-dev] [PATCH v6 2/5] mempool: remove rte_ring from rte_mempool struct

2016-06-01 Thread David Hunt
Now that we're moving to an external mempoool handler, which uses a void *pool as a pointer to the pool data, remove the unneeded ring pointer from the mempool struct. Signed-off-by: David Hunt --- app/test/test_mempool_perf.c | 1 - lib/librte_mempool/rte_mempool.h | 1 - 2 files changed

[dpdk-dev] [PATCH v6 3/5] mempool: add default external mempool handler

2016-06-01 Thread David Hunt
The first patch in this series added the framework for an external mempool manager. This patch in the series adds a set of default handlers based on rte_ring. v6 changes: split out into a separate patch for easier review. Signed-off-by: David Hunt Signed-off-by: Olivier Matz --- lib

[dpdk-dev] [PATCH v6 4/5] app/test: test external mempool handler

2016-06-01 Thread David Hunt
Use a minimal custom mempool external handler and check that it also passes basic mempool autotests. Signed-off-by: Olivier Matz Signed-off-by: David Hunt --- app/test/test_mempool.c | 114 1 file changed, 114 insertions(+) diff --git a/app

[dpdk-dev] [PATCH v6 5/5] mbuf: get default mempool handler from configuration

2016-06-01 Thread David Hunt
a different value for RTE_MBUF_DEFAULT_MEMPOOL_HANDLER. Signed-off-by: Olivier Matz Signed-off-by: David Hunt --- config/common_base | 1 + lib/librte_mbuf/rte_mbuf.c | 26 ++ 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/config/common_base b/config

[dpdk-dev] [PATCH v7 1/5] mempool: support external mempool operations

2016-06-02 Thread David Hunt
() allows the user to change the handler that will be used when populating the mempool. Signed-off-by: Olivier Matz Signed-off-by: David Hunt --- lib/librte_mempool/Makefile | 1 + lib/librte_mempool/rte_mempool.c | 71 --- lib/librte_mempool/rte_mempool.h | 240

[dpdk-dev] [PATCH v7 2/5] mempool: remove rte_ring from rte_mempool struct

2016-06-02 Thread David Hunt
Now that we're moving to an external mempoool handler, which uses a void *pool_data as a pointer to the pool data, remove the unneeded ring pointer from the mempool struct. Signed-off-by: David Hunt --- app/test/test_mempool_perf.c | 1 - lib/librte_mempool/rte_mempool.h | 1 - 2 files

[dpdk-dev] [PATCH v7 3/5] mempool: add default external mempool ops

2016-06-02 Thread David Hunt
The first patch in this series added the framework for an external mempool manager. This patch in the series adds a set of default ops (functioni callbacks) based on rte_ring. Signed-off-by: Olivier Matz Signed-off-by: David Hunt --- lib/librte_mempool/Makefile | 1 + lib

[dpdk-dev] [PATCH v7 4/5] app/test: test external mempool manager

2016-06-02 Thread David Hunt
Use a minimal custom mempool external ops and check that it also passes basic mempool autotests. Signed-off-by: Olivier Matz Signed-off-by: David Hunt --- app/test/test_mempool.c | 114 1 file changed, 114 insertions(+) diff --git a/app/test

[dpdk-dev] [PATCH v7 5/5] mbuf: allow apps to change default mempool ops

2016-06-02 Thread David Hunt
value for RTE_MBUF_DEFAULT_MEMPOOL_OPS. Signed-off-by: Olivier Matz Signed-off-by: David Hunt --- config/common_base | 1 + lib/librte_mbuf/rte_mbuf.c | 26 ++ 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/config/common_base b/config/common_base

[dpdk-dev] [PATCH v7 0/5] mempool: add external mempool manager

2016-06-02 Thread David Hunt
cs for each mempool object. This file also contains the callbacks and self registration for the new handler. David Hunt (4): mempool: support external mempool operations mempool: remove rte_ring from rte_mempool struct mempool: add default external mempool ops mbuf: allow apps to change de

[dpdk-dev] [PATCH v8 1/3] mempool: support external mempool operations

2016-06-03 Thread David Hunt
() allows the user to change the handler that will be used when populating the mempool. This patch also adds a set of default ops (function callbacks) based on rte_ring. Signed-off-by: Olivier Matz Signed-off-by: David Hunt --- app/test/test_mempool_perf.c | 1 - lib/librte_mempool

[dpdk-dev] [PATCH v8 0/5] mempool: add external mempool manager

2016-06-03 Thread David Hunt
pool manager using simple mallocs for each mempool object. This file also contains the callbacks and self registration for the new handler. David Hunt (2): mempool: support external mempool operations mbuf: make default mempool ops configurable at build Olivier Matz (1): app/test: test external mempool manager

[dpdk-dev] [PATCH v9 0/3] mempool: add external mempool manager

2016-06-10 Thread David Hunt
f API usage, please see app/test/test_mempool.c, which implements a rudimentary "custom_handler" mempool manager using simple mallocs for each mempool object. This file also contains the callbacks and self registration for the new handler. David Hunt (2): mempool: support external mempool o

[dpdk-dev] [PATCH v9 2/3] app/test: test external mempool manager

2016-06-10 Thread David Hunt
Use a minimal custom mempool external ops and check that it also passes basic mempool autotests. Signed-off-by: Olivier Matz Signed-off-by: David Hunt --- app/test/test_mempool.c | 115 1 file changed, 115 insertions(+) diff --git a/app/test

[dpdk-dev] [PATCH v9 3/3] mbuf: make default mempool ops configurable at build

2016-06-10 Thread David Hunt
value for RTE_MBUF_DEFAULT_MEMPOOL_OPS. Signed-off-by: Olivier Matz Signed-off-by: David Hunt --- config/common_base | 1 + lib/librte_mbuf/rte_mbuf.c | 26 ++ 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/config/common_base b/config/common_base

[dpdk-dev] [PATCH v9 1/3] mempool: support external mempool operations

2016-06-10 Thread David Hunt
() allows the user to change the handler that will be used when populating the mempool. This patch also adds a set of default ops (function callbacks) based on rte_ring. Signed-off-by: Olivier Matz Signed-off-by: David Hunt --- app/test/test_mempool_perf.c | 1 - lib

[dpdk-dev] [PATCH v10 0/3] mempool: add external mempool manager

2016-06-14 Thread David Hunt
l.c, which implements a rudimentary "custom_handler" mempool manager using simple mallocs for each mempool object. This file also contains the callbacks and self registration for the new handler. David Hunt (2): mempool: support external mempool operations mbuf: make default mempo

[dpdk-dev] [PATCH v10 1/3] mempool: support external mempool operations

2016-06-14 Thread David Hunt
() allows the user to change the handler that will be used when populating the mempool. This patch also adds a set of default ops (function callbacks) based on rte_ring. Signed-off-by: Olivier Matz Signed-off-by: David Hunt --- app/test/test_mempool_perf.c | 1 - lib

[dpdk-dev] [PATCH v10 2/3] app/test: test external mempool manager

2016-06-14 Thread David Hunt
Use a minimal custom mempool external ops and check that it also passes basic mempool autotests. Signed-off-by: Olivier Matz Signed-off-by: David Hunt --- app/test/test_mempool.c | 122 +++- 1 file changed, 120 insertions(+), 2 deletions(-) diff

[dpdk-dev] [PATCH v10 3/3] mbuf: make default mempool ops configurable at build

2016-06-14 Thread David Hunt
value for RTE_MBUF_DEFAULT_MEMPOOL_OPS. Signed-off-by: Olivier Matz Signed-off-by: David Hunt --- config/common_base | 1 + lib/librte_mbuf/rte_mbuf.c | 26 ++ 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/config/common_base b/config/common_base

[dpdk-dev] [PATCH v11 0/3] mempool: add external mempool manager

2016-06-14 Thread David Hunt
see app/test/test_mempool.c, which implements a rudimentary "custom_handler" mempool manager using simple mallocs for each mempool object. This file also contains the callbacks and self registration for the new handler. David Hunt (2): mempool: support external mempool operations

[dpdk-dev] [PATCH v11 2/3] app/test: test external mempool manager

2016-06-14 Thread David Hunt
Use a minimal custom mempool external ops and check that it also passes basic mempool autotests. Signed-off-by: Olivier Matz Signed-off-by: David Hunt Acked-by: Shreyansh Jain Acked-by: Olivier Matz --- app/test/test_mempool.c | 122 +++- 1 file

[dpdk-dev] [PATCH v11 3/3] mbuf: make default mempool ops configurable at build

2016-06-14 Thread David Hunt
value for RTE_MBUF_DEFAULT_MEMPOOL_OPS. Signed-off-by: Olivier Matz Signed-off-by: David Hunt Acked-by: Shreyansh Jain Acked-by: Olivier Matz --- config/common_base | 1 + lib/librte_mbuf/rte_mbuf.c | 26 ++ 2 files changed, 23 insertions(+), 4 deletions

[dpdk-dev] [PATCH v12 0/3] mempool: add external mempool manager

2016-06-15 Thread David Hunt
OPS(ops_mp_mc); For an example of API usage, please see app/test/test_mempool.c, which implements a rudimentary "custom_handler" mempool manager using simple mallocs for each mempool object. This file also contains the callbacks and self registration for the new handler. David Hunt (2)

[dpdk-dev] [PATCH v12 2/3] app/test: test external mempool manager

2016-06-15 Thread David Hunt
Use a minimal custom mempool external ops and check that it also passes basic mempool autotests. Signed-off-by: Olivier Matz Signed-off-by: David Hunt Acked-by: Shreyansh Jain Acked-by: Olivier Matz --- app/test/test_mempool.c | 122 +++- 1 file

[dpdk-dev] [PATCH v12 3/3] mbuf: make default mempool ops configurable at build

2016-06-15 Thread David Hunt
value for RTE_MBUF_DEFAULT_MEMPOOL_OPS. Signed-off-by: Olivier Matz Signed-off-by: David Hunt Acked-by: Shreyansh Jain Acked-by: Olivier Matz --- config/common_base | 1 + lib/librte_mbuf/rte_mbuf.c | 26 ++ 2 files changed, 23 insertions(+), 4 deletions

[dpdk-dev] [PATCH v12 1/3] mempool: support external mempool operations

2016-06-15 Thread David Hunt
rte_mempool_create_empty() allows the user to change the handler that will be used when populating the mempool. This patch also adds a set of default ops (function callbacks) based on rte_ring. Signed-off-by: Olivier Matz Signed-off-by: David Hunt Acked-by: Shreyansh Jain Acked-by: Olivier Matz --- app/test

[dpdk-dev] [PATCH v13 0/3] mempool: add external mempool manager

2016-06-16 Thread David Hunt
OPS(ops_mp_mc); For an example of API usage, please see app/test/test_mempool.c, which implements a rudimentary "custom_handler" mempool manager using simple mallocs for each mempool object. This file also contains the callbacks and self registration for the new handler. David Hunt (2)

[dpdk-dev] [PATCH v13 1/3] mempool: support external mempool operations

2016-06-16 Thread David Hunt
rte_mempool_create_empty() allows the user to change the handler that will be used when populating the mempool. This patch also adds a set of default ops (function callbacks) based on rte_ring. Signed-off-by: Olivier Matz Signed-off-by: David Hunt Acked-by: Shreyansh Jain Acked-by: Olivier Matz --- app/test

[dpdk-dev] [PATCH v13 2/3] app/test: test external mempool manager

2016-06-16 Thread David Hunt
Use a minimal custom mempool external ops and check that it also passes basic mempool autotests. Signed-off-by: Olivier Matz Signed-off-by: David Hunt Acked-by: Shreyansh Jain Acked-by: Olivier Matz --- app/test/test_mempool.c | 122 +++- 1 file

[dpdk-dev] [PATCH v14 0/3] mempool: add mempool handler feature

2016-06-17 Thread David Hunt
rudimentary "custom_handler" mempool handler using simple mallocs for each mempool object. This file also contains the callbacks and self registration for the new handler. David Hunt (2): mempool: support mempool handler operations mbuf: make default mempool ops configurable at build Olivier Matz (1): app/test: test mempool handler

[dpdk-dev] [PATCH v14 1/3] mempool: support mempool handler operations

2016-06-17 Thread David Hunt
rte_mempool_create_empty() allows the user to change the handler that will be used when populating the mempool. This patch also adds a set of default ops (function callbacks) based on rte_ring. Signed-off-by: Olivier Matz Signed-off-by: David Hunt Acked-by: Shreyansh Jain Acked-by: Olivier Matz --- app/test

[dpdk-dev] [PATCH v14 2/3] app/test: test mempool handler

2016-06-17 Thread David Hunt
Create a minimal custom mempool handler and check that it passes basic mempool autotests. Signed-off-by: Olivier Matz Signed-off-by: David Hunt Acked-by: Shreyansh Jain Acked-by: Olivier Matz --- app/test/test_mempool.c | 122 +++- 1 file changed

[dpdk-dev] [PATCH v14 3/3] mbuf: make default mempool ops configurable at build

2016-06-17 Thread David Hunt
value for RTE_MBUF_DEFAULT_MEMPOOL_OPS. Signed-off-by: Olivier Matz Signed-off-by: David Hunt Acked-by: Shreyansh Jain Acked-by: Olivier Matz --- config/common_base | 1 + lib/librte_mbuf/rte_mbuf.c | 26 ++ 2 files changed, 23 insertions(+), 4 deletions

[dpdk-dev] [PATCH v15 0/3] mempool: add mempool handler feature

2016-06-19 Thread David Hunt
t;custom_handler" mempool handler using simple mallocs for each mempool object. This file also contains the callbacks and self registration for the new handler. David Hunt (2): mempool: support mempool handler operations mbuf: make default mempool ops configurable at build Olivier Matz (1): app/test: test mempool handler

[dpdk-dev] [PATCH v15 1/3] mempool: support mempool handler operations

2016-06-19 Thread David Hunt
rte_mempool_create_empty() allows the user to change the handler that will be used when populating the mempool. This patch also adds a set of default ops (function callbacks) based on rte_ring. Signed-off-by: Olivier Matz Signed-off-by: David Hunt Acked-by: Shreyansh Jain Acked-by: Olivier Matz --- app/test

[dpdk-dev] [PATCH v15 2/3] app/test: test mempool handler

2016-06-19 Thread David Hunt
Create a minimal custom mempool handler and check that it passes basic mempool autotests. Signed-off-by: Olivier Matz Signed-off-by: David Hunt Reviewed-by: Jan Viktorin Acked-by: Shreyansh Jain Acked-by: Olivier Matz --- app/test/test_mempool.c | 122

[dpdk-dev] [PATCH v15 3/3] mbuf: make default mempool ops configurable at build

2016-06-19 Thread David Hunt
value for RTE_MBUF_DEFAULT_MEMPOOL_OPS. Signed-off-by: Olivier Matz Signed-off-by: David Hunt Reviewed-by: Jan Viktorin Acked-by: Shreyansh Jain Acked-by: Olivier Matz --- config/common_base | 1 + lib/librte_mbuf/rte_mbuf.c | 26 ++ 2 files changed, 23

[dpdk-dev] mempool: add stack mempool handler

2016-06-20 Thread David Hunt
Handler feature v2 changes: * updated based on mailing list feedback (Thanks Stephen) * checkpatch fixes. David Hunt (2) mempool: add stack (lifo) mempool handler test: add autotest for external mempool stack handler

[dpdk-dev] [PATCH v3 1/2] mempool: add stack (lifo) mempool handler

2016-06-20 Thread David Hunt
on every mbuf allocated when the number of mbufs is large. A stack recycles buffers more effectively in this case. Signed-off-by: David Hunt --- lib/librte_mempool/Makefile| 1 + lib/librte_mempool/rte_mempool_stack.c | 145 + 2 files changed, 146

[dpdk-dev] [PATCH v3 2/2] test: add autotest for external mempool stack handler

2016-06-20 Thread David Hunt
Signed-off-by: David Hunt --- app/test/test_mempool.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/app/test/test_mempool.c b/app/test/test_mempool.c index 31582d8..6cb2b14 100644 --- a/app/test/test_mempool.c +++ b/app/test/test_mempool.c @@ -573,6 +573,7

[dpdk-dev] [PATCH v16 0/3] mempool: add mempool handler feature

2016-06-22 Thread David Hunt
macro will register the ops in the array of ops structures REGISTER_MEMPOOL_OPS(ops_mp_mc); For an example of API usage, please see app/test/test_mempool.c, which implements a rudimentary "custom_handler" mempool handler using simple mallocs for each mempool object. This file also contains the

[dpdk-dev] [PATCH v16 1/3] mempool: support mempool handler operations

2016-06-22 Thread David Hunt
rte_mempool_create_empty() allows the user to change the handler that will be used when populating the mempool. This patch also adds a set of default ops (function callbacks) based on rte_ring. Signed-off-by: Olivier Matz Signed-off-by: David Hunt Acked-by: Shreyansh Jain Acked-by: Olivier Matz --- app/test

[dpdk-dev] [PATCH v16 2/3] app/test: test mempool handler

2016-06-22 Thread David Hunt
Create a minimal custom mempool handler and check that it passes basic mempool autotests. Signed-off-by: Olivier Matz Signed-off-by: David Hunt Reviewed-by: Jan Viktorin Acked-by: Shreyansh Jain Acked-by: Olivier Matz --- app/test/test_mempool.c | 122

[dpdk-dev] [PATCH v16 3/3] mbuf: make default mempool ops configurable at build

2016-06-22 Thread David Hunt
value for RTE_MBUF_DEFAULT_MEMPOOL_OPS. Signed-off-by: Olivier Matz Signed-off-by: David Hunt Reviewed-by: Jan Viktorin Acked-by: Shreyansh Jain Acked-by: Olivier Matz --- config/common_base | 1 + lib/librte_mbuf/rte_mbuf.c | 26 ++ 2 files changed, 23

[dpdk-dev] [PATCH 01/11] lib: add armv8 rte_atomic.h

2015-10-23 Thread David Hunt
From: Benjamin Boren <ben.bo...@intel.com> Signed-off-by: Benjamin Boren Signed-off-by: David Hunt --- .../common/include/arch/arm64/rte_atomic.h | 269 + 1 file changed, 269 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm64/rte_at

[dpdk-dev] [PATCH 02/11] lib: add armv8 rte_byteorder.h

2015-10-23 Thread David Hunt
From: Benjamin Boren <ben.bo...@intel.com> Signed-off-by: Benjamin Boren Signed-off-by: David Hunt --- .../common/include/arch/arm64/rte_byteorder.h | 157 + 1 file changed, 157 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm64/rte_byteo

[dpdk-dev] [PATCH 05/11] lib: add armv8 rte_memcpy.h

2015-10-23 Thread David Hunt
From: Benjamin Boren <ben.bo...@intel.com> Signed-off-by: Benjamin Boren Signed-off-by: David Hunt --- .../common/include/arch/arm64/rte_memcpy.h | 266 + 1 file changed, 266 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm64/rte_me

[dpdk-dev] [PATCH 04/11] lib: add armv8 rte_cycles.h

2015-10-23 Thread David Hunt
From: Benjamin Boren <ben.bo...@intel.com> Signed-off-by: Benjamin Boren Signed-off-by: David Hunt --- .../common/include/arch/arm64/rte_cycles.h | 77 ++ 1 file changed, 77 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm64/rte_cy

[dpdk-dev] [PATCH 06/11] lib: add armv8 rte_prefetch.h

2015-10-23 Thread David Hunt
From: Benjamin Boren <ben.bo...@intel.com> Signed-off-by: Benjamin Boren Signed-off-by: David Hunt --- .../common/include/arch/arm64/rte_prefetch.h | 61 ++ 1 file changed, 61 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm64/rte_pref

[dpdk-dev] [PATCH 00/11] add armv8 architecture support

2015-10-23 Thread David Hunt
This patch provides support for the ARMv8 architecture. We hope that this will encourage the ARM community to contribute PMDs for their SoCs to DPDK. For now, we've added Intel engineers to the MAINTAINERS file. We would like to encourage the ARM community to take over maintenance of this area in

[dpdk-dev] [PATCH 09/11] lib: add armv8 rte_vect.h

2015-10-23 Thread David Hunt
From: Benjamin Boren <ben.bo...@intel.com> Signed-off-by: Benjamin Boren Signed-off-by: David Hunt --- .../common/include/arch/arm64/rte_vect.h | 102 + 1 file changed, 102 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm64/rte_vect.h

[dpdk-dev] [PATCH 10/11] mk: add makefile and config changes for armv8 architecture

2015-10-23 Thread David Hunt
From: Benjamin Boren <ben.bo...@intel.com> Signed-off-by: Benjamin Boren Signed-off-by: David Hunt --- MAINTAINERS| 6 config/defconfig_arm64-native-linuxapp-gcc | 55 mk/arch/arm64/rte.vars.mk

[dpdk-dev] [PATCH 03/11] lib: add armv8 rte_cpuflags.h

2015-10-23 Thread David Hunt
From: Benjamin Boren <ben.bo...@intel.com> Signed-off-by: Benjamin Boren Signed-off-by: David Hunt --- .../common/include/arch/arm64/rte_cpuflags.h | 137 + 1 file changed, 137 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm64/rte_cpuf

[dpdk-dev] [PATCH 07/11] lib: add armv8 rte_rwlock.h

2015-10-23 Thread David Hunt
From: Benjamin Boren <ben.bo...@intel.com> Signed-off-by: Benjamin Boren Signed-off-by: David Hunt --- .../common/include/arch/arm64/rte_rwlock.h | 70 ++ 1 file changed, 70 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm64/rte_rw

[dpdk-dev] [PATCH 08/11] lib: add armv8 rte_spinlock.h

2015-10-23 Thread David Hunt
From: Benjamin Boren <ben.bo...@intel.com> Signed-off-by: Benjamin Boren Signed-off-by: David Hunt --- .../common/include/arch/arm64/rte_spinlock.h | 114 + 1 file changed, 114 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm64/rte_spin

[dpdk-dev] [PATCH 11/11] app: add armv8 cpuflags check to test_cpuflags application

2015-10-23 Thread David Hunt
From: Benjamin Boren <ben.bo...@intel.com> Signed-off-by: Benjamin Boren Signed-off-by: David Hunt --- app/test/test_cpuflags.c | 17 + 1 file changed, 17 insertions(+) diff --git a/app/test/test_cpuflags.c b/app/test/test_cpuflags.c index 5b92061..a498511 100644 ---

[dpdk-dev] [PATCH 0/5] ARMv8 additions to ARMv7 support

2015-10-29 Thread David Hunt
added to the Release notes. David Hunt (5): eal/arm: split arm rte_memcpy.h into 32 and 64 bit versions. eal/arm: split arm rte_prefetch.h into 32 and 64 bit versions eal/arm: fix 64-bit compilation for armv8 mk: Add makefile support for armv8 architecture test: add test for cpu flags

[dpdk-dev] [PATCH 1/5] eal: split arm rte_memcpy.h into 32-bit and 64-bit versions

2015-10-29 Thread David Hunt
Signed-off-by: David Hunt --- .../common/include/arch/arm/rte_memcpy.h | 302 +-- .../common/include/arch/arm/rte_memcpy_32.h| 334 + .../common/include/arch/arm/rte_memcpy_64.h| 308 +++ 3 files changed, 647

[dpdk-dev] [PATCH 2/5] eal: split arm rte_prefetch.h into 32-bit and 64-bit versions

2015-10-29 Thread David Hunt
Signed-off-by: David Hunt --- .../common/include/arch/arm/rte_prefetch.h | 31 +++ .../common/include/arch/arm/rte_prefetch_32.h | 61 ++ .../common/include/arch/arm/rte_prefetch_64.h | 61 ++ 3 files changed, 128 insertions

[dpdk-dev] [PATCH 3/5] eal: fix compilation for armv8 64-bit

2015-10-29 Thread David Hunt
Signed-off-by: David Hunt --- lib/librte_eal/common/include/arch/arm/rte_cpuflags.h | 9 + 1 file changed, 9 insertions(+) diff --git a/lib/librte_eal/common/include/arch/arm/rte_cpuflags.h b/lib/librte_eal/common/include/arch/arm/rte_cpuflags.h index 7ce9d14..27d49c0 100644 --- a/lib

[dpdk-dev] [PATCH 4/5] mk: add support for armv8 on top of armv7

2015-10-29 Thread David Hunt
Signed-off-by: David Hunt --- MAINTAINERS| 3 +- config/defconfig_arm64-armv8a-linuxapp-gcc | 56 + doc/guides/rel_notes/release_2_2.rst | 7 ++-- mk/arch/arm64/rte.vars.mk | 58

[dpdk-dev] [PATCH 5/5] test: add checks for cpu flags on armv8

2015-10-29 Thread David Hunt
Signed-off-by: David Hunt --- app/test/test_cpuflags.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/app/test/test_cpuflags.c b/app/test/test_cpuflags.c index 557458f..1689048 100644 --- a/app/test/test_cpuflags.c +++ b/app/test/test_cpuflags.c @@ -1,4 +1,4

[dpdk-dev] [PATCH v2 0/6] ARMv8 additions to ARMv7 support

2015-10-30 Thread David Hunt
two ports on a 82599 NIC connected via fibre cable. We have no plans to upstream a kernel patch for this and hope that someone more familiar with the arm architecture can create a proper patch and enable this functionality. David Hunt (6): eal/arm: add 64-bit armv8 version of rte_memcpy.h eal/a

[dpdk-dev] [PATCH v2 3/6] eal/arm: add 64-bit armv8 version of rte_cycles.h

2015-10-30 Thread David Hunt
Signed-off-by: David Hunt --- .../common/include/arch/arm/rte_cycles.h | 4 ++ .../common/include/arch/arm/rte_cycles_64.h| 77 ++ 2 files changed, 81 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm/rte_cycles_64.h diff --git a/lib

[dpdk-dev] [PATCH v2 1/6] eal/arm: add 64-bit armv8 version of rte_memcpy.h

2015-10-30 Thread David Hunt
Signed-off-by: David Hunt --- .../common/include/arch/arm/rte_memcpy.h | 4 + .../common/include/arch/arm/rte_memcpy_64.h| 308 + 2 files changed, 312 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm/rte_memcpy_64.h diff --git

[dpdk-dev] [PATCH v2 2/6] eal/arm: add 64-bit armv8 version of rte_prefetch.h

2015-10-30 Thread David Hunt
Signed-off-by: David Hunt --- .../common/include/arch/arm/rte_prefetch.h | 4 ++ .../common/include/arch/arm/rte_prefetch_64.h | 61 ++ 2 files changed, 65 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm/rte_prefetch_64.h diff --git

[dpdk-dev] [PATCH v2 4/6] eal/arm: fix 64-bit armv8 compilation of rte_cpuflags.h

2015-10-30 Thread David Hunt
Signed-off-by: David Hunt --- lib/librte_eal/common/include/arch/arm/rte_cpuflags.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/librte_eal/common/include/arch/arm/rte_cpuflags.h b/lib/librte_eal/common/include/arch/arm/rte_cpuflags.h index 7ce9d14..5c5fd6a

[dpdk-dev] [PATCH v2 5/6] mk: add support for armv8 on top of armv7

2015-10-30 Thread David Hunt
Signed-off-by: David Hunt --- MAINTAINERS| 3 +- config/defconfig_arm64-armv8a-linuxapp-gcc | 56 + doc/guides/rel_notes/release_2_2.rst | 7 ++-- mk/arch/arm64/rte.vars.mk | 58

[dpdk-dev] [PATCH v2 6/6] test: add checks for cpu flags on armv8

2015-10-30 Thread David Hunt
Signed-off-by: David Hunt --- app/test/test_cpuflags.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/app/test/test_cpuflags.c b/app/test/test_cpuflags.c index 557458f..1689048 100644 --- a/app/test/test_cpuflags.c +++ b/app/test/test_cpuflags.c @@ -1,4 +1,4

[dpdk-dev] [PATCH v3 3/6] eal/arm: add 64-bit armv8 version of rte_cycles.h

2015-10-30 Thread David Hunt
Signed-off-by: David Hunt --- .../common/include/arch/arm/rte_cycles.h | 4 ++ .../common/include/arch/arm/rte_cycles_64.h| 77 ++ 2 files changed, 81 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm/rte_cycles_64.h diff --git a/lib

[dpdk-dev] [PATCH v3 0/6] ARMv8 additions to ARMv7 support

2015-10-30 Thread David Hunt
82599 NIC connected via fibre cable. We have no plans to upstream a kernel patch for this and hope that someone more familiar with the arm architecture can create a proper patch and enable this functionality. Reviewed-by: Jan Viktorin David Hunt (6): eal/arm: add 64-bit armv8 version of rt

[dpdk-dev] [PATCH v3 2/6] eal/arm: add 64-bit armv8 version of rte_prefetch.h

2015-10-30 Thread David Hunt
Signed-off-by: David Hunt --- .../common/include/arch/arm/rte_prefetch.h | 4 ++ .../common/include/arch/arm/rte_prefetch_64.h | 61 ++ 2 files changed, 65 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm/rte_prefetch_64.h diff --git

[dpdk-dev] [PATCH v3 4/6] eal/arm: fix 64-bit armv8 compilation of rte_cpuflags.h

2015-10-30 Thread David Hunt
Signed-off-by: David Hunt --- lib/librte_eal/common/include/arch/arm/rte_cpuflags.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/librte_eal/common/include/arch/arm/rte_cpuflags.h b/lib/librte_eal/common/include/arch/arm/rte_cpuflags.h index 7ce9d14..5c5fd6a

[dpdk-dev] [PATCH v3 5/6] mk: add support for armv8 on top of armv7

2015-10-30 Thread David Hunt
The ARMv8 include files are in the arm directory in lib/librte_eal/common/include/arch/arm/ with the ARMv7 include files Signed-off-by: David Hunt --- MAINTAINERS| 3 +- config/defconfig_arm64-armv8a-linuxapp-gcc | 56 + doc/guides

[dpdk-dev] [PATCH v3 6/6] test: add checks for cpu flags on armv8

2015-10-30 Thread David Hunt
Signed-off-by: David Hunt --- app/test/test_cpuflags.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/app/test/test_cpuflags.c b/app/test/test_cpuflags.c index 557458f..1689048 100644 --- a/app/test/test_cpuflags.c +++ b/app/test/test_cpuflags.c @@ -1,4 +1,4

[dpdk-dev] [PATCH v3 1/6] eal/arm: add 64-bit armv8 version of rte_memcpy.h

2015-10-30 Thread David Hunt
Signed-off-by: David Hunt --- .../common/include/arch/arm/rte_memcpy.h | 4 + .../common/include/arch/arm/rte_memcpy_64.h| 308 + 2 files changed, 312 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm/rte_memcpy_64.h diff --git

[dpdk-dev] [PATCH] test: fix crash in pmd_perf_test

2015-11-23 Thread David Hunt
t exception (core dumped) Signed-off-by: David Hunt --- app/test/test_pmd_perf.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/app/test/test_pmd_perf.c b/app/test/test_pmd_perf.c index 8f55640..25b4d09 100644 --- a/app/test/test_pmd_perf.c +++ b/app/test/t

[dpdk-dev] [PATCH] add armv7 architecture support

2015-10-02 Thread David Hunt
This patch provides EAL support for the ARMv7 architecture. We hope that this will encourage the ARM community to contribute PMDs for their SoCs to DPDK. For now, we've added Intel engineers to the MAINTAINERS file. We would like to encourage the ARM community to take over maintenance of this

[dpdk-dev] [PATCH] lib: added support for armv7 architecture

2015-10-02 Thread David Hunt
From: Amruta Zende <amruta.ze...@intel.com> Signed-off-by: Amruta Zende Signed-off-by: David Hunt --- MAINTAINERS|5 + config/defconfig_arm-native-linuxapp-gcc | 56 .../common/include/arch/arm/rte_atomic.h

[dpdk-dev] [PATCH 2/5] memool: add stack (lifo) based external mempool handler

2016-01-26 Thread David Hunt
adds a simple stack based mempool handler Signed-off-by: David Hunt --- app/test/test_mempool_perf.c | 1 - lib/librte_mempool/Makefile| 1 + lib/librte_mempool/rte_mempool_stack.c | 167 + 3 files changed, 168 insertions(+), 1 deletion

[dpdk-dev] [PATCH 3/5] mempool: add custom external mempool handler example

2016-01-26 Thread David Hunt
adds a simple ring-based mempool handler using mallocs for each object Signed-off-by: David Hunt --- lib/librte_mempool/Makefile | 1 + lib/librte_mempool/custom_mempool.c | 160 2 files changed, 161 insertions(+) create mode 100644 lib

[dpdk-dev] [PATCH 1/5] mempool: add external mempool manager support

2016-01-26 Thread David Hunt
Signed-off-by: David Hunt --- app/test/test_mempool_perf.c | 1 - lib/librte_mempool/Makefile | 1 + lib/librte_mempool/rte_mempool.c | 210 +++ lib/librte_mempool/rte_mempool.h | 207 +++ lib

[dpdk-dev] [PATCH 4/5] mempool: add autotest for external mempool custom example

2016-01-26 Thread David Hunt
Signed-off-by: David Hunt --- app/test/Makefile | 1 + app/test/test_ext_mempool.c | 474 2 files changed, 475 insertions(+) create mode 100644 app/test/test_ext_mempool.c diff --git a/app/test/Makefile b/app/test/Makefile index ec33e1a

[dpdk-dev] [PATCH 0/5] add external mempool manager

2016-01-26 Thread David Hunt
nd example of a simple malloc based mempool manager, see lib/librte_mempool/custom_mempool.c For an example of API usage, please see app/test/test_ext_mempool.c, which implements a rudimentary mempool manager using simple mallocs for each mempool object (custom_mempool.c). David Hunt (5): mempool: ad

[dpdk-dev] [PATCH 5/5] mempool: allow rte_pktmbuf_pool_create switch between memool handlers

2016-01-26 Thread David Hunt
if the user wants to have rte_pktmbuf_pool_create() use an external mempool handler, they simply define MEMPOOL_HANDLER_NAME to be the name of the mempool handler they wish to use. May move this to config Signed-off-by: David Hunt --- lib/librte_mbuf/rte_mbuf.c | 11 +++ 1 file changed

[dpdk-dev] [PATCH v6 0/2] mempool: add stack mempool handler

2016-07-01 Thread David Hunt
is very similar to the stack handler, so there's no need to have both. v3 changes: * Updated based on the latest version (v15) of the Mempool Handler feature v2 changes: * updated based on mailing list feedback (Thanks Stephen) * checkpatch fixes. David Hunt (2) mempool: add stack (lifo

[dpdk-dev] [PATCH v6 1/2] mempool: add stack (lifo) mempool handler

2016-07-01 Thread David Hunt
on every mbuf allocated when the number of mbufs is large. A stack recycles buffers more effectively in this case. Signed-off-by: David Hunt --- lib/librte_mempool/Makefile| 1 + lib/librte_mempool/rte_mempool_stack.c | 145 + 2 files changed, 146

[dpdk-dev] [PATCH v6 2/2] test: migrate custom handler test to stack handler

2016-07-01 Thread David Hunt
handler test with a stack handler test, and removes the custom handler code. Signed-off-by: David Hunt --- app/test/test_mempool.c | 117 ++-- 1 file changed, 14 insertions(+), 103 deletions(-) diff --git a/app/test/test_mempool.c b/app/test/test_mempool.c

[dpdk-dev] [PATCH v4 0/2] mempool: add stack mempool handler

2016-06-30 Thread David Hunt
no need to have both. v3 changes: * Updated based on the latest version (v15) of the Mempool Handler feature v2 changes: * updated based on mailing list feedback (Thanks Stephen) * checkpatch fixes. David Hunt (2) mempool: add stack (lifo) mempool handler test: migrate custom handler test

[dpdk-dev] [PATCH v4 1/2] mempool: add stack (lifo) mempool handler

2016-06-30 Thread David Hunt
on every mbuf allocated when the number of mbufs is large. A stack recycles buffers more effectively in this case. Signed-off-by: David Hunt --- lib/librte_mempool/Makefile| 1 + lib/librte_mempool/rte_mempool_stack.c | 145 + 2 files changed, 146

[dpdk-dev] [PATCH v4 2/2] test: migrate custom handler test to stack handler

2016-06-30 Thread David Hunt
handler test with a stack handler test, and removes the custom handler code. Signed-off-by: David Hunt --- app/test/test_mempool.c | 114 ++-- 1 file changed, 13 insertions(+), 101 deletions(-) diff --git a/app/test/test_mempool.c b/app/test/test_mempool.c

[dpdk-dev] [PATCH v5 0/2] mempool: add stack mempool handler

2016-06-30 Thread David Hunt
changes: * Updated based on the latest version (v15) of the Mempool Handler feature v2 changes: * updated based on mailing list feedback (Thanks Stephen) * checkpatch fixes. David Hunt (2) mempool: add stack (lifo) mempool handler test: migrate custom handler test to stack handler

[dpdk-dev] [PATCH v5 1/2] mempool: add stack (lifo) mempool handler

2016-06-30 Thread David Hunt
on every mbuf allocated when the number of mbufs is large. A stack recycles buffers more effectively in this case. Signed-off-by: David Hunt --- lib/librte_mempool/Makefile| 1 + lib/librte_mempool/rte_mempool_stack.c | 145 + 2 files changed, 146

[dpdk-dev] [PATCH v5 2/2] test: migrate custom handler test to stack handler

2016-06-30 Thread David Hunt
handler test with a stack handler test, and removes the custom handler code. Signed-off-by: David Hunt --- app/test/test_mempool.c | 114 ++-- 1 file changed, 13 insertions(+), 101 deletions(-) diff --git a/app/test/test_mempool.c b/app/test/test_mempool.c

[dpdk-dev] [PATCH v3 0/4] external mempool manager

2016-03-09 Thread David Hunt
ry mempool manager using simple mallocs for each mempool object. This file also contains the callbacks and self registration for the new handler. David Hunt (4): mempool: add external mempool manager support mempool: add custom mempool handler example mempool: allow rte_pktmbuf_pool_create swit

[dpdk-dev] [PATCH v3 1/4] mempool: add external mempool manager support

2016-03-09 Thread David Hunt
the duplicated code in rte_mempool_xmem_create and rte_mempool_create_ext into one common function. The old functions now call the new common function with the relevant parameters. Signed-off-by: David Hunt --- app/test/test_mempool_perf.c | 1 - lib/librte_mempool/Makefile

[dpdk-dev] [PATCH v3 2/4] mempool: add custom mempool handler example

2016-03-09 Thread David Hunt
Add a custom mempool handler as part of an autotest: ext_mempool_autotest as defined in test_ext_mempool.c v3: now contains the mempool handler within the test file along with it's get/put/get_count callbacks and self registration Signed-off-by: David Hunt --- app/test/Makefile | 1

  1   2   >