[dpdk-dev] usages issue with external mempool

2016-07-29 Thread Hemant Agrawal
Hi Oliver > -Original Message- > From: Olivier MATZ [mailto:olivier.matz at 6wind.com] > Sent: Thursday, July 28, 2016 2:03 PM > On 07/27/2016 11:51 AM, Jerin Jacob wrote: > > On Tue, Jul 26, 2016 at 10:11:13AM +, Hemant Agrawal wrote: > >> Hi, > >> There was lengthy

[dpdk-dev] usages issue with external mempool

2016-07-28 Thread Jerin Jacob
On Thu, Jul 28, 2016 at 10:32:44AM +0200, Olivier MATZ wrote: Hi Olivier, > Hi Hemant, Jerin, > > On 07/27/2016 11:51 AM, Jerin Jacob wrote: > > On Tue, Jul 26, 2016 at 10:11:13AM +, Hemant Agrawal wrote: > > > > > I agree, To me, this is very bad. I have raised this concern earlier > >

[dpdk-dev] usages issue with external mempool

2016-07-28 Thread Olivier MATZ
Hi Hemant, Jerin, On 07/27/2016 11:51 AM, Jerin Jacob wrote: > On Tue, Jul 26, 2016 at 10:11:13AM +, Hemant Agrawal wrote: >> Hi, >> There was lengthy discussions w.r.t external mempool >> patches. However, I am still finding usages issue with the agreed approach. >> >> The

[dpdk-dev] usages issue with external mempool

2016-07-28 Thread Thomas Monjalon
2016-07-27 16:52, Hemant Agrawal: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > 2016-07-27 13:23, Hemant Agrawal: > > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > > 2016-07-27 15:21, Jerin Jacob: > > > > > If we agree on this then may be I can send the

[dpdk-dev] usages issue with external mempool

2016-07-27 Thread Hemant Agrawal
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Wednesday, July 27, 2016 7:05 PM > To: Hemant Agrawal > Cc: Jerin Jacob ; David Hunt > ; dev at dpdk.org; olivier.matz at 6wind.com; > viktorin at rehivetech.com; Shreyansh Jain > Subject: Re:

[dpdk-dev] usages issue with external mempool

2016-07-27 Thread Thomas Monjalon
2016-07-27 13:23, Hemant Agrawal: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > 2016-07-27 15:21, Jerin Jacob: > > > If we agree on this then may be I can send the API deprecation notices > > > for rte_mempool_create for v16.11 > > > > It would have been a lot better to send a

[dpdk-dev] usages issue with external mempool

2016-07-27 Thread Jerin Jacob
On Tue, Jul 26, 2016 at 10:11:13AM +, Hemant Agrawal wrote: > Hi, >There was lengthy discussions w.r.t external mempool patches. > However, I am still finding usages issue with the agreed approach. > > The existing API to create packet mempool, "rte_pktmbuf_pool_create" does

[dpdk-dev] usages issue with external mempool

2016-07-27 Thread Hemant Agrawal
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > 2016-07-27 15:21, Jerin Jacob: > > On Tue, Jul 26, 2016 at 10:11:13AM +, Hemant Agrawal wrote: > > > This is not a user friendly approach to ask for changing 1 API to 6 new > > > APIs. > Or, am I

[dpdk-dev] usages issue with external mempool

2016-07-27 Thread Thomas Monjalon
2016-07-27 15:21, Jerin Jacob: > On Tue, Jul 26, 2016 at 10:11:13AM +, Hemant Agrawal wrote: > > This is not a user friendly approach to ask for changing 1 API to 6 new > > APIs. Or, am I missing something? > > I agree, To me, this is very bad. I have raised this concern earlier > also > >

[dpdk-dev] usages issue with external mempool

2016-07-26 Thread Hemant Agrawal
Hi, There was lengthy discussions w.r.t external mempool patches. However, I am still finding usages issue with the agreed approach. The existing API to create packet mempool, "rte_pktmbuf_pool_create" does not provide the option to change the object init iterator. This may be