Re: [dpdk-dev] [PATCH 4/5] mbuf: add a pktmbuf copy routine

2019-09-30 Thread Morten Brørup
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Stephen Hemminger > Sent: Saturday, September 28, 2019 2:38 AM > > 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

[dpdk-dev] [PATCH 4/5] mbuf: add a pktmbuf copy routine

2019-09-27 Thread Stephen Hemminger
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