test/mempool_perf: support default mempool
authorSantosh Shukla <santosh.shukla@caviumnetworks.com>
Tue, 18 Apr 2017 14:41:30 +0000 (20:11 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 19 Apr 2017 13:41:15 +0000 (15:41 +0200)
commit89665ec20c6abc5e9730b33792e96f65241d7fed
treeb0084e28eb014d92e8784bbaeffe7fb130a660d2
parent4fb80afd82d2dbbe5a5fc9f38a9c53442b6c287b
test/mempool_perf: support default mempool

Mempool_perf autotest currently does perf regression for:
 * nochache
 * cache

Introducing default_pool, mainly targeted for ext-mempool regression
test. Ext-mempool don't need 'cache' modes so only adding test-case
support for 'nocache' mode.

So to run ext-mempool perf regression, user has to set
RTE_MBUF_DEFAULT_MEMPOOL_OPS="<>"

There is chance of duplication  ie.. if user sets

RTE_MBUF_DEFAULT_MEMPOOL_OPS="ring_mp_mc" then regression
will happen twice for 'ring_mp_mc'

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