Re: [dpdk-dev] [PATCH v1 3/6] mempool: support block dequeue operation

2018-04-25 Thread Andrew Rybchenko
On 04/19/2018 07:41 PM, Olivier Matz wrote: On Mon, Mar 26, 2018 at 05:12:56PM +0100, Andrew Rybchenko wrote: [...] @@ -1531,6 +1615,71 @@ rte_mempool_get(struct rte_mempool *mp, void **obj_p) } /** + * @internal Get contiguous blocks of objects from the pool. Used internally. + * @param

Re: [dpdk-dev] [PATCH v1 3/6] mempool: support block dequeue operation

2018-04-19 Thread Olivier Matz
On Mon, Mar 26, 2018 at 05:12:56PM +0100, Andrew Rybchenko wrote: > From: "Artem V. Andreev" > > If mempool manager supports object blocks (physically and virtual > contiguous set of objects), it is sufficient to get the first > object only and the function allows to avoid filling in of > informa

[dpdk-dev] [PATCH v1 3/6] mempool: support block dequeue operation

2018-03-26 Thread Andrew Rybchenko
From: "Artem V. Andreev" If mempool manager supports object blocks (physically and virtual contiguous set of objects), it is sufficient to get the first object only and the function allows to avoid filling in of information about each block member. Signed-off-by: Artem V. Andreev Signed-off-by: