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

2019-10-16 Thread David Marchand
On Wed, Oct 16, 2019 at 8:58 AM Olivier Matz wrote: > > 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 includ

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

2019-10-15 Thread Olivier Matz
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

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

2019-10-08 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