[dpdk-dev] [RFC] More changes for rte_mempool.h:__mempool_get_bulk()

2014-09-29 Thread Bruce Richardson
> > > > > > > > > > > > >> -Original Message- > > > >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wiles, Roger > > > >> Keith > > > >> Sent: Sunday, September 28, 2014 6:52 PM > > >

[dpdk-dev] [RFC] More changes for rte_mempool.h:__mempool_get_bulk()

2014-09-29 Thread Ananyev, Konstantin
> -Original Message- > From: Richardson, Bruce > Sent: Monday, September 29, 2014 1:34 PM > To: Ananyev, Konstantin > Cc: Wiles, Roger Keith (Wind River); > Subject: Re: [dpdk-dev] [RFC] More changes for > rte_mempool.h:__mempool_get_bulk() > > On Mon, Sep 2

[dpdk-dev] [RFC] More changes for rte_mempool.h:__mempool_get_bulk()

2014-09-29 Thread Bruce Richardson
oger Keith > >> Sent: Sunday, September 28, 2014 6:52 PM > >> To: > >> Subject: [dpdk-dev] [RFC] More changes for > >> rte_mempool.h:__mempool_get_bulk() > >> > >> Here is a Request for Comment on __mempool_get_bulk() routine. I believe I

[dpdk-dev] [RFC] More changes for rte_mempool.h:__mempool_get_bulk()

2014-09-29 Thread Ananyev, Konstantin
> -Original Message- > From: Richardson, Bruce > Sent: Monday, September 29, 2014 1:06 PM > To: Wiles, Roger Keith (Wind River) > Cc: Ananyev, Konstantin; > Subject: Re: [dpdk-dev] [RFC] More changes for > rte_mempool.h:__mempool_get_bulk() > > On Sun, Sep 2

[dpdk-dev] [RFC] More changes for rte_mempool.h:__mempool_get_bulk()

2014-09-28 Thread Wiles, Roger Keith
On Sep 28, 2014, at 5:41 PM, Ananyev, Konstantin wrote: > > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wiles, Roger Keith >> Sent: Sunday, September 28, 2014 6:52 PM >> To: >> Subject: [dpdk-dev]

[dpdk-dev] [RFC] More changes for rte_mempool.h:__mempool_get_bulk()

2014-09-28 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wiles, Roger Keith > Sent: Sunday, September 28, 2014 6:52 PM > To: > Subject: [dpdk-dev] [RFC] More changes for rte_mempool.h:__mempool_get_bulk() > > Here is a Request for Comment

[dpdk-dev] [RFC] More changes for rte_mempool.h:__mempool_get_bulk()

2014-09-28 Thread Wiles, Roger Keith
Here is a Request for Comment on __mempool_get_bulk() routine. I believe I am seeing a few more issues in this routine, please look at the code below and see if these seem to fix some concerns in how the ring is handled. The first issue I believe is cache->len is increased by ret and not req as

[dpdk-dev] [RFC] More changes for rte_mempool.h:__mempool_get_bulk()

2014-09-28 Thread Neil Horman
On Sun, Sep 28, 2014 at 05:52:16PM +, Wiles, Roger Keith wrote: > Here is a Request for Comment on __mempool_get_bulk() routine. I believe I am > seeing a few more issues in this routine, please look at the code below and > see if these seem to fix some concerns in how the ring is handled. >