On Thursday 07 September 2017 01:16 PM, Olivier MATZ wrote:
> On Wed, Sep 06, 2017 at 04:58:29PM +0530, Santosh Shukla wrote:
>> @@ -1503,6 +1505,8 @@ size_t rte_mempool_xmem_size(uint32_t elt_num, size_t
>> total_elt_sz,
>> * Number of elements in the paddr array.
>> * @param pg_shift
>>
On Wed, Sep 06, 2017 at 04:58:29PM +0530, Santosh Shukla wrote:
> @@ -1503,6 +1505,8 @@ size_t rte_mempool_xmem_size(uint32_t elt_num, size_t
> total_elt_sz,
> * Number of elements in the paddr array.
> * @param pg_shift
> * LOG2 of the physical pages size.
> + * @param flags
> + * The
xmem_size and xmem_usage need to know the status of mempool flags,
so add 'flags' arg in _xmem_size/usage() api.
Following patch will make use of that.
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
---
v4 --> v5:
- Removed 'mp' param and replaced with 'flags' param for
xmem_size/_u
3 matches
Mail list logo