Re: [dpdk-dev] [PATCH v5 3/8] mempool: add flags arg in xmem size and usage

2017-09-07 Thread santosh
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 >>

Re: [dpdk-dev] [PATCH v5 3/8] mempool: add flags arg in xmem size and usage

2017-09-07 Thread Olivier MATZ
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

[dpdk-dev] [PATCH v5 3/8] mempool: add flags arg in xmem size and usage

2017-09-06 Thread Santosh Shukla
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