mempool: use bit flags for multi consumers and producers
authorLazaros Koromilas <l@nofutznetworks.com>
Tue, 28 Jun 2016 23:47:37 +0000 (00:47 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 30 Jun 2016 09:28:10 +0000 (11:28 +0200)
commitd6f78df6feadaddd001ccf6e9e5062e388d1d98d
treea55b5fb0652f2cfc863ff3a84420ca391b7a1761
parent656f2d3ede96902202a1a5ffa22870289cf6a9db
mempool: use bit flags for multi consumers and producers

Pass the same flags as in rte_mempool_create(). Changes API calls:

    rte_mempool_generic_put(mp, obj_table, n, flags)
    rte_mempool_generic_get(mp, obj_table, n, flags)

Signed-off-by: Lazaros Koromilas <l@nofutznetworks.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_mempool/rte_mempool.h