mempool: add flags arg in xmem size and usage
authorSantosh Shukla <santosh.shukla@caviumnetworks.com>
Sun, 1 Oct 2017 09:28:57 +0000 (14:58 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 6 Oct 2017 19:43:33 +0000 (21:43 +0200)
commit6eac187bff30e7329e44a221517080b06d68e849
tree6710aa4c8224cabc7ed57f5cd92a0d1da67b5f49
parent0cc0f8aaa35dc4b797d9226c51c1c5aba17a7b2d
mempool: add flags arg in xmem size and usage

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 <santosh.shukla@caviumnetworks.com>
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
drivers/net/xenvirt/rte_mempool_gntalloc.c
lib/librte_mempool/rte_mempool.c
lib/librte_mempool/rte_mempool.h
test/test/test_mempool.c