mem: retrieve mempool cache only when needed
authorIntel <intel.com>
Wed, 18 Sep 2013 10:00:00 +0000 (12:00 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 9 Oct 2013 14:04:09 +0000 (16:04 +0200)
commitd15808aa1e8299271e72ed6b89785703df34fb53
tree8e65f887f3c639ffd9fe0914d76fbdfde4faae1e
parent7c60fd9ef68d96a58f6e29e4e7352d5b33283a30
mem: retrieve mempool cache only when needed

It is an optimization for the single consumer case,
or when cache is too small,
or when cache is disabled.

Signed-off-by: Intel
lib/librte_mempool/rte_mempool.h