[dpdk-dev] [PATCH v3 0/4] external mempool manager
Yuanhan Liu
yuanhan.liu at linux.intel.com
Tue Apr 12 00:46:11 CEST 2016
On Wed, Mar 09, 2016 at 09:50:33AM +0000, David Hunt wrote:
...
> The external mempool manager needs to provide the following functions.
> 1. alloc - allocates the mempool memory, and adds each object onto a ring
> 2. put - puts an object back into the mempool once an application has
> finished with it
> 3. get - gets an object from the mempool for use by the application
> 4. get_count - gets the number of available objects in the mempool
> 5. free - frees the mempool memory
It's a lengthy and great description, and it's a pity that you don't
include it in the commit log: cover letter will not be in the history.
>
> For and example of a simple malloc based mempool manager, see
> lib/librte_mempool/custom_mempool.c
I didn't see this file. Forgot to include it?
--yliu
More information about the dev
mailing list