to be
run on the same core, and a few more commented out lines to allow
skipping of flow matching algo, etc. Code is comment in the appropriate
location
Signed-off-by: David Hunt
---
examples/distributor/main.c | 489 ++--
1 file changed, 380 insertio
Now sends bursts of up to 8 mbufs to each worker, and tracks
the in-flight flow-ids (atomic scheduling)
New file with a new api, similar to the old API except with _burst
at the end of the function names.
Signed-off-by: David Hunt
---
lib/librte_distributor/Makefile | 2
This patch aims to improve the throughput of the distributor library.
It uses a similar handshake mechanism to the previous version of
the library, in that bits are used to indicate when packets are ready
to be sent to a worker and ready to be returned from a worker. One main
difference is that
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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)
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
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
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
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)
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
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
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
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
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
() 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
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
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
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
() 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
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
() 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
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
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
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
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
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
() 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
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
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
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
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
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
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
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
recent CPU's can easily wrap around a 32-bit unsigned int in
the mempool perf test. Increase to a 64-bit uint.
v2: change from %lu to %"PRIu64"
Signed-off-by: David Hunt
---
app/test/test_mempool_perf.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
recent CPU's can easily wrap around a 32-bit unsigned int in
the mempool perf test. Increase to a 64-bit uint.
Signed-off-by: David Hunt
---
app/test/test_mempool_perf.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/app/test/test_mempool_perf.c b/app/test
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 f55d126..b98804a 100644
--- a/app/test/test_mempool.c
+++ b/app/test/test_mempool.c
@@ -570,6 +570,7
on every mbuf allocated when the number of
mbufs is large. A stack recycles buffers more effectively in this
case.
v2: cleanup based on mailing list comments. Mainly removal of
unnecessary casts and comments.
Signed-off-by: David Hunt
---
lib/librte_mempool/Makefile| 1 +
lib
This patch set adds a fifo stack handler to the external mempool
manager.
This patch set depends on the 3 part external mempool handler
patch set (v5 of the series):
http://dpdk.org/ml/archives/dev/2016-May/039364.html
v2 changes:
* updated based on mailing list feedback (Thanks Stephen)
*
a different value for RTE_MBUF_DEFAULT_MEMPOOL_HANDLER.
Signed-off-by: David Hunt
Signed-off-by: Olivier Matz
---
config/common_base | 1 +
lib/librte_mbuf/rte_mbuf.c | 21 +
2 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/config/common_base b/config
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 | 113
1 file changed, 113 insertions(+)
diff --git a/app
rte_mempool_create_empty() allows to
change the handler that will be used when populating the mempool.
v5 changes: rebasing on top of 35 patch set mempool work.
Signed-off-by: David Hunt
Signed-off-by: Olivier Matz
---
app/test/test_mempool_perf.c | 1 -
lib/librte_mempool/Makefile
alloc based mempool manager, see
lib/librte_mempool/custom_mempool.c
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 sel
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 09951cc..8190f20 100644
--- a/app/test/test_mempool.c
+++ b/app/test/test_mempool.c
@@ -570,6 +570,7
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 | 154 +
2 files changed, 155
/patchwork/patch/12038/
David Hunt (2):
mempool: add stack (fifo) mempool handler
test: add autotest for external mempool stack handler
app/test/test_mempool.c| 26 ++
lib/librte_mempool/Makefile| 1 +
lib/librte_mempool/rte_mempool_stack.c | 154
Announce the ABI breakage due to addition of external mempool
manager functionality which requires changes to rte_mempool
structure.
Signed-off-by: David Hunt
---
doc/guides/rel_notes/deprecation.rst | 10 ++
1 file changed, 10 insertions(+)
diff --git a/doc/guides/rel_notes
the
previous patches easier to read, and also to imake it clear what
code is necessary to keep ABI compatibility when NEXT_ABI is
disabled.
Signed-off-by: David Hunt
---
app/test/Makefile| 2 +
app/test/test_mempool_perf.c | 3 +
lib/librte_mbuf/rte_mbuf.c | 7
If the user wants to have rte_pktmbuf_pool_create() use an external mempool
handler, they define RTE_MEMPOOL_HANDLER_NAME to be the name of the
mempool handler they wish to use, and change RTE_MEMPOOL_HANDLER_EXT to 'y'
Signed-off-by: David Hunt
---
config/common_base | 2 ++
lib
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
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
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
v2: Kept all the NEXT_ABI defs to this patch so as to make the
previous patches easier to read, and also to imake it clear what
code is necessary to keep ABI compatibility when NEXT_ABI is
disabled.
Signed-off-by: David Hunt
---
app/test/Makefile| 2 +
app/test
config files
Signed-off-by: David Hunt
---
config/common_bsdapp | 2 ++
config/common_linuxapp | 2 ++
lib/librte_mbuf/rte_mbuf.c | 8
3 files changed, 12 insertions(+)
diff --git a/config/common_bsdapp b/config/common_bsdapp
index 696382c..e0c812a 100644
--- a/config
Signed-off-by: David Hunt
---
app/test/Makefile | 1 +
app/test/test_ext_mempool.c | 451
2 files changed, 452 insertions(+)
create mode 100644 app/test/test_ext_mempool.c
diff --git a/app/test/Makefile b/app/test/Makefile
index ec33e1a
Signed-off-by: David Hunt
---
lib/librte_mempool/Makefile | 1 +
lib/librte_mempool/custom_mempool.c | 146
2 files changed, 147 insertions(+)
create mode 100644 lib/librte_mempool/custom_mempool.c
diff --git a/lib/librte_mempool/Makefile b/lib
adds a simple stack based mempool handler
Signed-off-by: David Hunt
---
lib/librte_mempool/Makefile| 2 +-
lib/librte_mempool/rte_mempool.c | 4 +-
lib/librte_mempool/rte_mempool.h | 1 +
lib/librte_mempool/rte_mempool_stack.c | 164
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
ool object (custom_mempool.c).
David Hunt (6):
mempool: add external mempool manager support
mempool: add stack (lifo) based external mempool handler
mempool: adds a simple ring-based mempool handler using mallocs for
objects
mempool: add autotest for external mempool custom example
memp
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
1 - 100 of 125 matches
Mail list logo