Skip to content

Mbuf Structure Rework, part 3

Bruce Richardson dpdk-dev 2 versions – Applied

Status from this message: Applied

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 7 repliesApplied
  2. v15 patches 20 repliesSuperseded

Changes in v2 from the cover letter

* Updated userdata pointer in mbuf to always be 8 bytes big
* Updated a number of commit messages to have more details about the performance benefits of the changes proposed in the patches
* Removed old patch 5 which added the second vlan tag, and replaced it with a new, smaller patch which just moves the existing vlan_tci field above the 16-bit reserved space.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5mbuf: ensure next pointer is set to null on freelib/librte_mbuf/rte_mbuf.h lib/librte_pmd_ixgbe/ixgbe_rxtx.c+4 -10 replies
2/5ixgbe: add prefetch to improve slow-path tx perflib/librte_pmd_ixgbe/ixgbe_rxtx.c+7 -50 replies
3/5testpmd: Change rxfreet default to 32app/test-pmd/testpmd.c+3 -15 replies
4/5mbuf: add userdata pointer fieldlib/librte_eal/linuxapp/eal/include/exec-env/rte_kni_common.h lib/librte_mbuf/rte_mbuf.h+10 -20 replies
5/5mbuf: switch vlan_tci and reserved2 fieldslib/librte_mbuf/rte_mbuf.h+1 -10 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPablo de Lara
SeriesA-b
1/5
2/5
3/5
4/5
5/5

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

Read the v2 thread

Cover letter [PATCH v2 0/5] Mbuf Structure Rework, part 3

This is the final planned set of patches to make changes to the mbuf data structure and associated files. This patch set makes more changes to help improve performance following the mbuf changes and adds in two new fields into the mbuf structure.

It is planned to add other fields other than the two provided here, but patches for adding those fields will be included in the patch sets for the changes making use of those fields, since adding them does not affect, or move, any other mbuf fields.

Changes in V2:
* Updated userdata pointer in mbuf to always be 8 bytes big
* Updated a number of commit messages to have more details about the performance benefits of the changes proposed in the patches
* Removed old patch 5 which added the second vlan tag, and replaced it with a new, smaller patch which just moves the existing vlan_tci field above the 16-bit reserved space.

Bruce Richardson (5):
mbuf: ensure next pointer is set to null on free
ixgbe: add prefetch to improve slow-path tx perf
testpmd: Change rxfreet default to 32
mbuf: add userdata pointer field
mbuf: switch vlan_tci and reserved2 fields

 app/test-pmd/testpmd.c                                      |  4 +++-
 .../linuxapp/eal/include/exec-env/rte_kni_common.h          |  6 ++++--
 lib/librte_mbuf/rte_mbuf.h                                  | 12 ++++++++++--
 lib/librte_pmd_ixgbe/ixgbe_rxtx.c                           | 13 ++++++++-----
 4 files changed, 25 insertions(+), 10 deletions(-)
Signature · 1 line
1.9.3