On Tue, Oct 08, 2019 at 09:33:49AM -0700, Stephen Hemminger wrote: > This is a commonly used operation that surprisingly the > DPDK has not supported. The new rte_pktmbuf_copy does a > deep copy of packet. This is a complete copy including > meta-data. > > It handles the case where the source mbuf comes from a pool > with larger data area than the destination pool. The routine > also has options for skipping data, or truncating at a fixed > length. > > This patch also introduces internal inline to copy the > metadata fields of mbuf. > > Signed-off-by: Stephen Hemminger <step...@networkplumber.org>
Acked-by: Olivier Matz <olivier.m...@6wind.com>