[dpdk-dev] [PATCH v2 0/6] mbuf copy related enhancements
Stephen Hemminger
stephen at networkplumber.org
Mon Sep 30 17:27:15 CEST 2019
This patch set is all about improving the mbuf related cloning
and copying. They are motivated by seeing issues with mbuf copying
in rte_pdump and realized this a wider and more general problem.
The pdump copy could not handle different size pools and did
not handle meta data, etc.
They cause no functional or ABI changes. The only visible part
to older code is converting a couple of inlines to real functions.
This kind of change confuses checkpatch which thinks these new
functions should be marked experimental when they must not be.
v2 - add pdump use of pktmbuf_copy
fix version in map
Stephen Hemminger (6):
mbuf: don't generate invalid mbuf in clone test
mbuf: delinline rte_pktmbuf_linearize
mbuf: deinline rte_pktmbuf_clone
mbuf: add a pktmbuf copy routine
mbuf: add pktmbuf copy test
pdump: use new pktmbuf copy function
app/test/test_mbuf.c | 129 +++++++++++++++++++++++
lib/librte_mbuf/rte_mbuf.c | 149 +++++++++++++++++++++++++++
lib/librte_mbuf/rte_mbuf.h | 102 ++++++------------
lib/librte_mbuf/rte_mbuf_version.map | 8 ++
lib/librte_pdump/rte_pdump.c | 69 +------------
5 files changed, 316 insertions(+), 141 deletions(-)
--
2.20.1
More information about the dev
mailing list