for memory allocation while
maintaining its ABI.
It would be possible to free memzones and therefore any other structure
based on memzones, ie. mempools
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_eal/common/eal_common_memzone.c| 289 +-
lib/librte_eal
. Thus, memzones would allocate memory through malloc,
allowing to free memzones.
Signed-off-by: Sergio Gonzalez Monroy
---
MAINTAINERS | 22 +-
config/common_bsdapp| 9 +-
config/common_linuxapp | 9
all available memsegs to malloc heap at init
- Update memzone/malloc unit tests
v6 Acked-by: Konstantin Ananyev
Sergio Gonzalez Monroy (9):
eal: move librte_malloc to eal/common
eal: memzone allocated by malloc
app/test: update malloc/memzone unit tests
config: rem
Update malloc documentation to reflect new implementation details.
Signed-off-by: Sergio Gonzalez Monroy
---
doc/guides/prog_guide/env_abstraction_layer.rst | 220 +-
doc/guides/prog_guide/img/malloc_heap.png | Bin 81329 -> 80952 bytes
doc/guides/prog_guide/index.
Announce the creation of dummy malloc library for 2.1 and removal of
such library, now integrated in librte_eal, for 2.2 release.
Signed-off-by: Sergio Gonzalez Monroy
---
doc/guides/rel_notes/abi.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/rel_notes/abi.rst b/doc/guides
Add new unit test for rte_memzone_free API.
Signed-off-by: Sergio Gonzalez Monroy
---
app/test/test_memzone.c | 82 +++--
1 file changed, 80 insertions(+), 2 deletions(-)
diff --git a/app/test/test_memzone.c b/app/test/test_memzone.c
index 6934eee
is not used, so we also need
to change how we look for the next memzone entry free.
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_eal/bsdapp/eal/rte_eal_version.map | 6 ++
lib/librte_eal/common/eal_common_memzone.c| 67 ++-
lib/librte_eal/common/include
Remove free_memseg field from internal mem config structure as it is
not used anymore.
Also remove code in ivshmem that was setting up free_memseg on init.
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_eal/common/include/rte_eal_memconfig.h | 3 ---
lib/librte_eal/linuxapp/eal
During initializaio malloc sets all available memory as part of the heaps.
CONFIG_RTE_MALLOC_MEMZONE_SIZE was used to specify the default memory
block size to expand the heap. The option is not used/relevant anymore,
so we remove it.
Signed-off-by: Sergio Gonzalez Monroy
---
config
, to calculate maximum free
block size available.
Signed-off-by: Sergio Gonzalez Monroy
---
app/test/test_malloc.c | 86 --
app/test/test_memzone.c | 440
2 files changed, 35 insertions(+), 491 deletions(-)
diff --git a/app/test/test_malloc.c b/app
for memory allocation while
maintaining its ABI.
It would be possible to free memzones and therefore any other structure
based on memzones, ie. mempools
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_eal/common/eal_common_memzone.c| 274 ++
lib/librte_eal
. Thus, memzones would allocate memory through malloc,
allowing to free memzones.
Signed-off-by: Sergio Gonzalez Monroy
---
MAINTAINERS | 22 +-
config/common_bsdapp| 9 +-
config/common_linuxapp | 9
sts
Sergio Gonzalez Monroy (9):
eal: move librte_malloc to eal/common
eal: memzone allocated by malloc
app/test: update malloc/memzone unit tests
config: remove CONFIG_RTE_MALLOC_MEMZONE_SIZE
eal: remove free_memseg and references to it
eal: new rte_memzone_free
app/test: rte_memzone_free u
Update malloc documentation to reflect new implementation details.
Signed-off-by: Sergio Gonzalez Monroy
---
doc/guides/prog_guide/env_abstraction_layer.rst | 220 +-
doc/guides/prog_guide/img/malloc_heap.png | Bin 81329 -> 80952 bytes
doc/guides/prog_guide/index.
Announce the creation of dummy malloc library for 2.1 and removal of
such library, now integrated in librte_eal, for 2.2 release.
Signed-off-by: Sergio Gonzalez Monroy
---
doc/guides/rel_notes/abi.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/rel_notes/abi.rst b/doc/guides
Add new unit test for rte_memzone_free API.
Signed-off-by: Sergio Gonzalez Monroy
---
app/test/test_memzone.c | 82 +++--
1 file changed, 80 insertions(+), 2 deletions(-)
diff --git a/app/test/test_memzone.c b/app/test/test_memzone.c
index 6934eee
is not used, so we also need
to change how we look for the next memzone entry free.
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_eal/bsdapp/eal/rte_eal_version.map | 6 ++
lib/librte_eal/common/eal_common_memzone.c| 67 ++-
lib/librte_eal/common/include
Remove free_memseg field from internal mem config structure as it is
not used anymore.
Also remove code in ivshmem that was setting up free_memseg on init.
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_eal/common/include/rte_eal_memconfig.h | 3 ---
lib/librte_eal/linuxapp/eal
, to calculate maximum free
block size available.
Signed-off-by: Sergio Gonzalez Monroy
---
app/test/test_malloc.c | 86 --
app/test/test_memzone.c | 440
2 files changed, 35 insertions(+), 491 deletions(-)
diff --git a/app/test/test_malloc.c b/app
for memory allocation while
maintaining its ABI.
It would be possible to free memzones and therefore any other structure
based on memzones, ie. mempools
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_eal/common/eal_common_memzone.c| 274 ++
lib/librte_eal
memzones.
Signed-off-by: Sergio Gonzalez Monroy
---
MAINTAINERS | 9 +-
config/common_bsdapp| 9 +-
config/common_linuxapp | 9 +-
drivers/net/af_packet/Makefile | 1 -
drivers/net
loc
- Add deprecation notice
- Rework some of the code
- Doc update
- checkpatch
v2:
- New rte_memzone_free
- Support memzone len = 0
- Add all available memsegs to malloc heap at init
- Update memzone/malloc unit tests
Sergio Gonzalez Monroy (9):
eal: move librte_malloc to eal/common
Update malloc documentation to reflect new implementation details.
Signed-off-by: Sergio Gonzalez Monroy
---
doc/guides/prog_guide/env_abstraction_layer.rst | 220 +-
doc/guides/prog_guide/img/malloc_heap.png | Bin 81329 -> 80952 bytes
doc/guides/prog_guide/index.
Announce the creation of dummy malloc library for 2.1 and removal of
such library, now integrated in librte_eal, for 2.2 release.
Signed-off-by: Sergio Gonzalez Monroy
---
doc/guides/rel_notes/abi.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/rel_notes/abi.rst b/doc/guides
Update memzone unit test for the new rte_memzone_free API.
Signed-off-by: Sergio Gonzalez Monroy
---
app/test/test_memzone.c | 80 +
1 file changed, 80 insertions(+)
diff --git a/app/test/test_memzone.c b/app/test/test_memzone.c
index 6934eee
is not used, so we also need
to change how we look for the next memzone entry free.
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_eal/bsdapp/eal/rte_eal_version.map | 6 ++
lib/librte_eal/common/eal_common_memzone.c| 68 ++-
lib/librte_eal/common/include
Remove free_memseg field from internal mem config structure as it is
not used anymore.
Also remove code in ivshmem that was setting up free_memseg on init.
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_eal/common/include/rte_eal_memconfig.h | 3 ---
lib/librte_eal/linuxapp/eal
During initializaio malloc sets all available memory as part of the heaps.
CONFIG_RTE_MALLOC_MEMZONE_SIZE was used to specify the default memory
block size to expand the heap. The option is not used/relevant anymore,
so we remove it.
Signed-off-by: Sergio Gonzalez Monroy
---
config
, to calculate maximum free
block size available.
Signed-off-by: Sergio Gonzalez Monroy
---
app/test/test_malloc.c | 86 --
app/test/test_memzone.c | 440
2 files changed, 35 insertions(+), 491 deletions(-)
diff --git a/app/test/test_malloc.c b/app
for memory allocation while
maintaining its ABI.
It would be possible to free memzones and therefore any other structure
based on memzones, ie. mempools
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_eal/common/eal_common_memzone.c| 274 ++
lib/librte_eal
memzones.
Signed-off-by: Sergio Gonzalez Monroy
---
MAINTAINERS | 9 +-
config/common_bsdapp| 9 +-
config/common_linuxapp | 9 +-
drivers/net/af_packet/Makefile | 1 -
drivers/net
ome of the code
- Doc update
- checkpatch
v2:
- New rte_memzone_free
- Support memzone len = 0
- Add all available memsegs to malloc heap at init
- Update memzone/malloc unit tests
Sergio Gonzalez Monroy (9):
eal: move librte_malloc to eal/common
eal: memzone allocated by malloc
app/t
Update malloc documentation to reflect new implementation details.
Signed-off-by: Sergio Gonzalez Monroy
---
doc/guides/prog_guide/env_abstraction_layer.rst | 220 +-
doc/guides/prog_guide/img/malloc_heap.png | Bin 81329 -> 80952 bytes
doc/guides/prog_guide/index.
Announce the creation of dummy malloc library for 2.1 and removal of
such library, now integrated in librte_eal, for 2.2 release.
Signed-off-by: Sergio Gonzalez Monroy
---
doc/guides/rel_notes/abi.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/rel_notes/abi.rst b/doc/guides
Update memzone unit test for the new rte_memzone_free API.
Signed-off-by: Sergio Gonzalez Monroy
---
app/test/test_memzone.c | 53 +
1 file changed, 53 insertions(+)
diff --git a/app/test/test_memzone.c b/app/test/test_memzone.c
index 6934eee
is not used, so we also need
to change how we look for the next memzone entry free.
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_eal/bsdapp/eal/rte_eal_version.map | 6 +++
lib/librte_eal/common/eal_common_memzone.c| 55 +--
lib/librte_eal/common/include
Remove free_memseg field from internal mem config structure as it is
not used anymore.
Also remove code in ivshmem that was setting up free_memseg on init.
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_eal/common/include/rte_eal_memconfig.h | 3 ---
lib/librte_eal/linuxapp/eal
During initializaio malloc sets all available memory as part of the heaps.
CONFIG_RTE_MALLOC_MEMZONE_SIZE was used to specify the default memory
block size to expand the heap. The option is not used/relevant anymore,
so we remove it.
Signed-off-by: Sergio Gonzalez Monroy
---
config
, to calculate maximum free
block size available.
Signed-off-by: Sergio Gonzalez Monroy
---
app/test/test_malloc.c | 86 --
app/test/test_memzone.c | 440
2 files changed, 35 insertions(+), 491 deletions(-)
diff --git a/app/test/test_malloc.c b/app
for memory allocation while
maintaining its ABI.
It would be possible to free memzones and therefore any other structure
based on memzones, ie. mempools
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_eal/common/eal_common_memzone.c| 274 ++
lib/librte_eal
memzones.
Signed-off-by: Sergio Gonzalez Monroy
---
MAINTAINERS | 9 +-
config/common_bsdapp| 9 +-
config/common_linuxapp | 9 +-
drivers/net/af_packet/Makefile | 1 -
drivers/net
ree
- Support memzone len = 0
- Add all available memsegs to malloc heap at init
- Update memzone/malloc unit tests
Sergio Gonzalez Monroy (9):
eal: move librte_malloc to eal/common
eal: memzone allocated by malloc
app/test: update malloc/memzone unit tests
config: rem
Update malloc documentation to reflect new implementation details.
Signed-off-by: Sergio Gonzalez Monroy
---
doc/guides/prog_guide/env_abstraction_layer.rst | 220 +-
doc/guides/prog_guide/img/malloc_heap.png | Bin 81329 -> 80952 bytes
doc/guides/prog_guide/index.
Announce the creation of dummy malloc library for 2.1 and removal of
such library, now integrated in librte_eal, for 2.2 release.
Signed-off-by: Sergio Gonzalez Monroy
---
doc/guides/rel_notes/abi.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/rel_notes/abi.rst b/doc/guides
Update memzone unit test for the new rte_memzone_free API.
Signed-off-by: Sergio Gonzalez Monroy
---
app/test/test_memzone.c | 53 +
1 file changed, 53 insertions(+)
diff --git a/app/test/test_memzone.c b/app/test/test_memzone.c
index 6934eee
is not used, so we also need
to change how we look for the next memzone entry free.
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_eal/bsdapp/eal/rte_eal_version.map | 6 +++
lib/librte_eal/common/eal_common_memzone.c| 55 +--
lib/librte_eal/common/include
Remove free_memseg field from internal mem config structure as it is
not used anymore.
Also remove code in ivshmem that was setting up free_memseg on init.
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_eal/common/include/rte_eal_memconfig.h | 3 ---
lib/librte_eal/linuxapp/eal
During initializaio malloc sets all available memory as part of the heaps.
CONFIG_RTE_MALLOC_MEMZONE_SIZE was used to specify the default memory
block size to expand the heap. The option is not used/relevant anymore,
so we remove it.
Signed-off-by: Sergio Gonzalez Monroy
---
config
, to calculate maximum free
block size available.
Signed-off-by: Sergio Gonzalez Monroy
---
app/test/test_malloc.c | 86 --
app/test/test_memzone.c | 440
2 files changed, 35 insertions(+), 491 deletions(-)
diff --git a/app/test/test_malloc.c b/app
for memory allocation while
maintaining its ABI.
It would be possible to free memzones and therefore any other structure
based on memzones, ie. mempools
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_eal/common/eal_common_memzone.c| 274 ++
lib/librte_eal
memzones.
Signed-off-by: Sergio Gonzalez Monroy
---
MAINTAINERS | 9 +-
config/common_bsdapp| 9 +-
config/common_linuxapp | 9 +-
drivers/net/af_packet/Makefile | 1 -
drivers/net
all available memsegs to malloc heap at init
- Update memzone/malloc unit tests
Sergio Gonzalez Monroy (9):
eal: move librte_malloc to eal/common
eal: memzone allocated by malloc
app/test: update malloc/memzone unit tests
config: remove CONFIG_RTE_MALLOC_MEMZONE_SIZE
eal: remove free_mem
Depending on the configured segments it is possible to hit a
segmentation fault as a result of decrementing an unsigned index with
value 0.
To avoid it, exit the loop if the index has value 0.
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_ivshmem/rte_ivshmem.c | 2 ++
1 file changed, 2
.
- when checksum is enabled, incorrect vector RX function is selected.
To solve above issues, change the VF RX function selection logic to
mimic PF side.
Signed-off-by: Sergio Gonzalez Monroy
---
drivers/net/ixgbe/ixgbe_ethdev.c | 9 +
drivers/net/ixgbe/ixgbe_rxtx.c | 11 ++-
2
The combined lib was being created after building the lib root dir.
With the new directory hierarchy, it should be created after the
drivers root dir instead.
Fixes: 980ed498eb1dd0 ("drivers: create new directory")
Signed-off-by: Sergio Gonzalez Monroy
---
mk/rte.sdkbuild.mk | 2
Update memzone unit test for the new rte_memzone_free API.
Signed-off-by: Sergio Gonzalez Monroy
---
app/test/test_memzone.c | 49 +
1 file changed, 49 insertions(+)
diff --git a/app/test/test_memzone.c b/app/test/test_memzone.c
index c5e4872
is not used, so we also need
to change how we look for the next memzone entry free.
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_eal/bsdapp/eal/rte_eal_version.map | 6 +++
lib/librte_eal/common/eal_common_memzone.c| 50 +--
lib/librte_eal/common/include
Remove code setting up free_memseg as it is not used/relevant anymore.
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_eal/linuxapp/eal/eal_ivshmem.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/lib/librte_eal/linuxapp/eal/eal_ivshmem.c
b/lib/librte_eal/linuxapp/eal
, to calculate maximum free
block size available.
Signed-off-by: Sergio Gonzalez Monroy
---
app/test/test_malloc.c | 86 --
app/test/test_memzone.c | 436
2 files changed, 35 insertions(+), 487 deletions(-)
diff --git a/app/test/test_malloc.c b/app
This patch moves the malloc library inside the eal.
This is the first step towards using malloc to allocate memory directly
from memsegs. Thus, memzones would allocate memory through malloc,
allowing unreserve/free memzones.
Signed-off-by: Sergio Gonzalez Monroy
---
config/common_bsdapp
ode gives plenty of errors
Sergio Gonzalez Monroy (7):
eal: move librte_malloc to eal/common
eal: memzone allocated by malloc
app/test: update malloc/memzone unit tests
config: remove CONFIG_RTE_MALLOC_MEMZONE_SIZE
eal: remove setup of free_memseg in ivshmem
eal: new rte_memzone_free
internally for memoy allocation while
maintaining its ABI. The only exception is the reserving a memzone with
len=0 is not supported anymore.
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_eal/common/eal_common_memzone.c | 233 ++--
lib/librte_eal/common/include
This patch moves the malloc library inside the eal.
This is the first step towards using malloc to allocate memory directly
from memsegs. Thus, memzones would allocate memory through malloc,
allowing unreserve/free memzones.
Signed-off-by: Sergio Gonzalez Monroy
---
config/common_bsdapp
ion).
- Improve malloc algorithm? ie. jemalloc (or any other).
Any comments/toughts and/or different approaches are welcome.
Sergio Gonzalez Monroy (2):
eal: move librte_malloc to eal/common
eal: memzone allocated by malloc
config/common_bsdapp| 9 +-
config/common_linux
Use flag --as-needed when linking against shared libs, exluding
eal, malloc, mempool and ring as explained in:
7cee5f6b4a9b ("lib: set LDLIBS for each library")
Signed-off-by: Sergio Gonzalez Monroy
---
mk/rte.app.mk | 36
1 file changed, 20
Set proper DT_NEEDED entries for shared libraries by explicitly
linking against its dependent libraries (LDLIBS).
Signed-off-by: Sergio Gonzalez Monroy
---
mk/rte.lib.mk | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/mk/rte.lib.mk b/mk/rte.lib.mk
index 0d7482d..5d0988f
not directly use mempool (therefore
no DT_NEEDED entry). In such case, the application will fail to start as
eal does not have a DT_NEEDED entry for mempool either.
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_acl/Makefile | 2 ++
lib/librte_cfgfile/Makefile | 2
.
More on this can be read in:
http://dpdk.org/ml/archives/dev/2015-January/011927.html
Sergio Gonzalez Monroy (3):
lib: set LDLIBS for each library
mk: use LDLIBS when linking shared libraries
mk: update app linking flags against shared libs
lib/librte_acl/Makefile | 2
.
Signed-off-by: Sergio Gonzalez Monroy
---
mk/rte.app.mk | 54 ++
1 file changed, 30 insertions(+), 24 deletions(-)
diff --git a/mk/rte.app.mk b/mk/rte.app.mk
index e8630b6..2d6b2ca 100644
--- a/mk/rte.app.mk
+++ b/mk/rte.app.mk
@@ -59,7 +59,30
is enable (D).
Signed-off-by: Sergio Gonzalez Monroy
---
mk/rte.lib.mk | 15 ++-
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/mk/rte.lib.mk b/mk/rte.lib.mk
index d96101a..603badf 100644
--- a/mk/rte.lib.mk
+++ b/mk/rte.lib.mk
@@ -62,16 +62,19 @@ build: _postbuild
exe2cmd
-by: Sergio Gonzalez Monroy
---
lib/librte_acl/Makefile | 2 ++
lib/librte_cfgfile/Makefile | 2 ++
lib/librte_cmdline/Makefile | 2 ++
lib/librte_distributor/Makefile | 2 ++
lib/librte_eal/bsdapp/eal/Makefile | 2 ++
lib/librte_eal/linuxapp/eal/Makefile | 2 ++
lib
After the patch, building DPDK will always generate a linker script
(name use is based on CONFIG_RTE_LIBNAME config option) that behaves
as a combined library when linking against it.
Signed-off-by: Sergio Gonzalez Monroy
---
mk/rte.combinedlib.mk | 89
removes CONFIG_RTE_BUILD_COMBINE_LIB build config option and
removes the makefiles associated with building a combined library.
The CONFIG_RTE_LIBNAME config option is kept as it will be use to
always generate a linker script that acts as a single combined library.
Signed-off-by: Sergio Gonzalez Monroy
between
eal, malloc, mempool and ring libraries. Instead, add DT_NEEDED
entries for all libraries but eal, then for application linking,
always link against these libraries by preceding them with
--no-as-needed flag.
Sergio Gonzalez Monroy (5):
mk: remove combined library and related
This patch adds the handle function for the LPE mailbox message (VF to
PF) to set maximum packet size, which can be used to enable jumbo
frame support.
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_pmd_e1000/igb_pf.c | 28
1 file changed, 28 insertions
.
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_jobstats/Makefile | 2 ++
lib/librte_pmd_fm10k/Makefile | 2 ++
lib/librte_pmd_mlx4/Makefile | 2 ++
lib/librte_pmd_null/Makefile | 2 ++
lib/librte_reorder/Makefile | 2 ++
mk/rte.app.mk | 57
is enable (D).
Signed-off-by: Sergio Gonzalez Monroy
---
mk/rte.lib.mk | 15 ++-
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/mk/rte.lib.mk b/mk/rte.lib.mk
index d96101a..603badf 100644
--- a/mk/rte.lib.mk
+++ b/mk/rte.lib.mk
@@ -62,16 +62,19 @@ build: _postbuild
exe2cmd
will not have proper DT_NEEDED entries and we will have
to force link against them by preceding such libraries with
--no-as-needed flag.
This patch sets LDLIBS variable for each library but eal and updates
DEPDIRS of some libraries.
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_acl/Makefile
Remove CONFIG_RTE_BUILD_COMBINE_LIBS and CONFIG_RTE_LIBNAME.
Signed-off-by: Sergio Gonzalez Monroy
---
config/common_bsdapp| 6 --
config/common_linuxapp | 6 --
config/defconfig_ppc_64-power8-linuxapp-gcc | 2 -
lib/Makefile
these libraries by preceding them with
--no-as-needed flag.
Sergio Gonzalez Monroy (4):
mk: Remove combined library and related options
lib: Set LDLIBS for each library
mk: Use LDLIBS when linking shared libraries
mk: update LDLIBS for app building
config/common_bsdapp
There was no error checking after calling rte_reorder_create.
Move the creation of the reorder buffer before launching threads
in case of memory error.
Signed-off-by: Sergio Gonzalez Monroy
---
examples/packet_ordering/main.c | 37 +
1 file changed, 25
Fix a couple of doxygen comments in mbuf structure:
- seqn had no doxygen syntax.
- usr was not generating proper link to function.
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_mbuf/rte_mbuf.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/librte_mbuf
Add missing reorder lirbary directory to doxygen configuration.
Signed-off-by: Sergio Gonzalez Monroy
---
doc/api/doxy-api.conf | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/api/doxy-api.conf b/doc/api/doxy-api.conf
index 27c782c..86298b7 100644
--- a/doc/api/doxy-api.conf
+++ b/doc
threads.
Sergio Gonzalez Monroy (3):
doc: add librte_reorder to doxygen conf
mbuf: fix a couple of doxygen comments
examples/packet_ordering: move creation of reorder buffer
doc/api/doxy-api.conf | 1 +
examples/packet_ordering/main.c | 37
Add files related to reorder library and claim it.
Signed-off-by: Sergio Gonzalez Monroy
---
MAINTAINERS | 8
1 file changed, 8 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index e7a425b..d7d672c 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -264,6 +264,14 @@ F: app/test
This patch describes how to build and run he new packet ordering sample
application that exercises the reorder library.
Signed-off-by: Sergio Gonzalez Monroy
---
doc/guides/sample_app_ug/index.rst | 1 +
doc/guides/sample_app_ug/packet_ordering.rst | 102
This patch introduces a new section in the programmers guide describing
the reorder library.
Signed-off-by: Sergio Gonzalez Monroy
---
doc/guides/prog_guide/index.rst | 1 +
doc/guides/prog_guide/reorder_lib.rst | 115 ++
2 files changed, 116 insertions
and enqueue
them in ring.
* Workers dequeue mbufs from ring, do some 'work' and enqueue mbufs in
ring.
* TX dequeue mbufs from ring, inserts them in reorder buffer, drains
mbufs from reorder and sends them to the driver.
Signed-off-by: Reshma Pattan
Signed-off-by: Sergio Gonzalez Monroy
Adding new reorder unit test for the test app.
The command to run the unit test from the test shell is: reorder_autotest
Signed-off-by: Reshma Pattan
Signed-off-by: Sergio Gonzalez Monroy
---
app/test/Makefile | 2 +
app/test/test_reorder.c | 393
- use malloc instead of memzone to allocate memory
- modify create and init implementation, init takes a reorder buffer as input
and create reserves memory and call init.
- update unit tests
Sergio Gonzalez Monroy (6):
reorder: new reorder library
app: New reorder unit test
examples
This patch removes all references to RTE_MBUF_REFCNT, setting the refcnt
field in the mbuf struct permanently.
Signed-off-by: Sergio Gonzalez Monroy
Acked-by: Olivier Matz
---
app/test/test_link_bonding.c| 15 ---
app/test/test_mbuf.c| 17
permanently.
The patch also modifies the vhost example as it was using the
RTE_MBUF_INDERECT macro to detect if it was an mbuf with external buffer.
Signed-off-by: Sergio Gonzalez Monroy
Acked-by: Olivier Matz
---
v2:
- Add missing parenthesis to RTE_MBUF_INDIRECT macro
examples/vhost/main.c
to RTE_MBUF_INDIRECT macro
Sergio Gonzalez Monroy (2):
mbuf: Introduce IND_ATTACHED_MBUF flag
Remove RTE_MBUF_REFCNT references
app/test/test_link_bonding.c| 15 ---
app/test/test_mbuf.c| 17 +++--
config/common_bsdapp| 1
This patch removes all references to RTE_MBUF_REFCNT, setting the refcnt
field in the mbuf struct permanently.
Signed-off-by: Sergio Gonzalez Monroy
---
app/test/test_link_bonding.c| 15 ---
app/test/test_mbuf.c| 17 -
config
permanently.
The patch also modifies the vhost example as it was using the
RTE_MBUF_INDERECT macro to detect if it was an mbuf with external buffer.
Signed-off-by: Sergio Gonzalez Monroy
---
examples/vhost/main.c | 6 --
lib/librte_mbuf/rte_mbuf.h | 15 +--
2 files changed, 13
buffer is the same as freeing a non attached mbuf.
The flag is set during attach and clear on detach.
So in the case of vhost zero copy where we have mbufs with external
buffers, by default we just free the mbuf and it is up to the user to deal with
the external buffer.
Sergio Gonzalez Monroy (2
Variables are unsigned int but format scans for signed int.
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_eal/linuxapp/eal/eal_pci_uio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_eal/linuxapp/eal/eal_pci_uio.c
b/lib/librte_eal/linuxapp/eal
Building shared libraries and using virtio PMD results in undefined
reference to 'rte_eal_iopl_init'.
Add missing function to eal version map.
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_eal/bsdapp/eal/rte_eal_version.map | 1 +
lib/librte_eal/linuxapp/eal/rte_eal_version.map | 1
Common rte_eal_iopl_init function is missing from eal version map.
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_eal/bsdapp/eal/rte_eal_version.map | 1 +
lib/librte_eal/linuxapp/eal/rte_eal_version.map | 1 +
2 files changed, 2 insertions(+)
diff --git a/lib/librte_eal/bsdapp/eal
This patch describes how to build and run he new packet ordering sample
application that exercises the reorder library.
Signed-off-by: Sergio Gonzalez Monroy
---
doc/guides/sample_app_ug/index.rst | 1 +
doc/guides/sample_app_ug/packet_ordering.rst | 102
201 - 300 of 399 matches
Mail list logo