Re: [dpdk-dev] [PATCH] mempool: introduce flag to indicate hw mempool

2017-04-04 Thread Olivier MATZ
Hi Hemant, On Tue, 4 Apr 2017 12:59:08 +0530 Hemant Agrawal wrote: > Hi Thomas/Olivier, > > On 4/4/2017 12:28 PM, Thomas Monjalon wrote: > > 2017-04-04 11:05, Hemant Agrawal: > >> Hi Olivier, > >> > >> On 4/3/2017 8:49 PM, Olivier Matz wrote: > >>> Hi Hemant, > >>> > >>> On Mon, 3 Apr 2017

Re: [dpdk-dev] [PATCH] mempool: introduce flag to indicate hw mempool

2017-04-04 Thread Olivier MATZ
On Tue, 04 Apr 2017 08:58:40 +0200 Thomas Monjalon wrote: > 2017-04-04 11:05, Hemant Agrawal: > > Hi Olivier, > > > > On 4/3/2017 8:49 PM, Olivier Matz wrote: > > > Hi Hemant, > > > > > > On Mon, 3 Apr 2017 14:42:09 +0530, Hemant Agrawal > > > wrote: > > >> Hardware pools need to distinguis

Re: [dpdk-dev] [PATCH] mempool: introduce flag to indicate hw mempool

2017-04-04 Thread Hemant Agrawal
Hi Thomas/Olivier, On 4/4/2017 12:28 PM, Thomas Monjalon wrote: 2017-04-04 11:05, Hemant Agrawal: Hi Olivier, On 4/3/2017 8:49 PM, Olivier Matz wrote: Hi Hemant, On Mon, 3 Apr 2017 14:42:09 +0530, Hemant Agrawal wrote: Hardware pools need to distinguish between buffers allocated using sof

Re: [dpdk-dev] [PATCH] mempool: introduce flag to indicate hw mempool

2017-04-03 Thread Thomas Monjalon
2017-04-04 11:05, Hemant Agrawal: > Hi Olivier, > > On 4/3/2017 8:49 PM, Olivier Matz wrote: > > Hi Hemant, > > > > On Mon, 3 Apr 2017 14:42:09 +0530, Hemant Agrawal > > wrote: > >> Hardware pools need to distinguish between buffers allocated using > >> software or hardware backed pools. > >> >

Re: [dpdk-dev] [PATCH] mempool: introduce flag to indicate hw mempool

2017-04-03 Thread Hemant Agrawal
Hi Olivier, On 4/3/2017 8:49 PM, Olivier Matz wrote: Hi Hemant, On Mon, 3 Apr 2017 14:42:09 +0530, Hemant Agrawal wrote: Hardware pools need to distinguish between buffers allocated using software or hardware backed pools. Some HW NICs may choose to autonomously free the pickets during tran

Re: [dpdk-dev] [PATCH] mempool: introduce flag to indicate hw mempool

2017-04-03 Thread Olivier Matz
Hi Hemant, On Mon, 3 Apr 2017 14:42:09 +0530, Hemant Agrawal wrote: > Hardware pools need to distinguish between buffers allocated using > software or hardware backed pools. > > Some HW NICs may choose to autonomously free the pickets during > transmit if the packet is from HW pool. While they

[dpdk-dev] [PATCH] mempool: introduce flag to indicate hw mempool

2017-04-03 Thread Hemant Agrawal
Hardware pools need to distinguish between buffers allocated using software or hardware backed pools. Some HW NICs may choose to autonomously free the pickets during transmit if the packet is from HW pool. While they should not do it for software backed pools. Such flag would also help when multi