Skip to content

mempool: cleanup, fixes, improvements and optimizations

Morten Brørup dpdk-dev 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 13 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6mempool: fix private data area size alignmentlib/mempool/rte_mempool.c+1 -40 replies
2/6net/sxe2: do not use deprecated mempool cache fielddrivers/net/sxe2/sxe2_txrx_vec_avx512.c+1 -10 replies
3/6mempool: remove deprecated cache flush threshold fielddoc/guides/rel_notes/release_26_11.rst lib/mempool/mempool_trace.h lib/mempool/rte_mempool.c +1 more+11 -130 replies
4/6mempool: various cleanupsapp/test/test_mempool.c lib/mempool/rte_mempool.c lib/mempool/rte_mempool.h +1 more+67 -372 replies
5/6mempool: optimize access to private dataapp/test/test_mempool.c lib/mempool/rte_mempool.c lib/mempool/rte_mempool.h+20 -202 replies
6/6mempool: no cache size limitapp/test/test_mempool.c doc/guides/rel_notes/release_26_11.rst lib/mempool/rte_mempool.c +1 more+86 -638 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchAndrew RybchenkoKonstantin Ananyev
1/6
2/6A-b
3/6A-b
4/6
5/6
6/6Series-Acked-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] mempool: cleanup, fixes, improvements and optimizations

Consolidated mempool patches previously submitted individually into one series, and added a couple more.

Patch 1
Fixed a minor bug regarding the private data size alignment.

Patch 2 and 3
Removed the deprecated cache flush threshold field.
Supersedes: patch-167311
("[v3] mempool: remove cache flush threshold field")

Patch 4
Annotated private cache alloc/free functions as such, improved the ops registration and lookup functions, and improved the audit functions, and
updated some comments.

Patch 5
Swapped the location of the private data and local cache.
Supersedes: patch-169235
("[v2] mempool: no cache size limit")

Patch 6
Rightsized the memory allocated for cache, and
eliminated the cache size max limit.
Supersedes: patch-169235
("[v2] mempool: no cache size limit")

Morten Brørup (6):
mempool: fix private data area size alignment net/sxe2: do not use deprecated mempool cache field
mempool: remove deprecated cache flush threshold field
mempool: various cleanups
mempool: optimize access to private data
mempool: no cache size limit

 app/test/test_mempool.c                 |  17 ++-
 doc/guides/rel_notes/release_26_11.rst  |  16 +++
 drivers/net/sxe2/sxe2_txrx_vec_avx512.c |   2 +-
 lib/mempool/mempool_trace.h             |   1 -
 lib/mempool/rte_mempool.c               | 151 +++++++++++++-----------
 lib/mempool/rte_mempool.h               |  91 +++++++-------
 lib/mempool/rte_mempool_ops.c           |  30 +++--
 7 files changed, 178 insertions(+), 130 deletions(-)
Signature · 1 line
2.43.0