test/mempool: support default mempool
authorShreyansh Jain <shreyansh.jain@nxp.com>
Wed, 5 Apr 2017 09:35:34 +0000 (15:05 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 19 Apr 2017 13:41:15 +0000 (15:41 +0200)
commitcbee51be40fd2ef9846173b7e392ee9668f01d39
treed69c8c1a54d7cbee7d8273cc97e188a5c0f2901e
parent98aabe1b701f3f58153aef029d483e2d8b9ca7b6
test/mempool: support default mempool

Mempool test currently supports:
 * ring_mp_mc
 * stack

Adding a new default pool options. So, ring* + stack + default
(which can be 'stack' or 'ring')
 * This way, whatever the value of RTE_MBUF_DEFAULT_MEMPOOL_OPS is set,
   it would be verified.
 * even if that means duplicating some test (for example when "stack" is
   set as default and it already part of standard test)

Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Reviewed-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
test/test/test_mempool.c