]> git.proxmox.com Git - ovs.git/commit
netdev-dpdk: Remove use of rte_mempool_ops_get_count.
authorKevin Traynor <ktraynor@redhat.com>
Wed, 23 May 2018 13:41:30 +0000 (14:41 +0100)
committerIan Stokes <ian.stokes@intel.com>
Fri, 25 May 2018 08:09:50 +0000 (09:09 +0100)
commit1f84a2d5b57b9db62abfb7cfe79385f5768005bb
tree4f7e8eaa2dbc1a6799af17689fffd212c212bb04
parent55b259471719ceca1f0083bdd6a5f8c3e7690bae
netdev-dpdk: Remove use of rte_mempool_ops_get_count.

rte_mempool_ops_get_count is not exported by DPDK so it means it
cannot be used by OVS when using DPDK as a shared library.

Remove rte_mempool_ops_get_count but still use rte_mempool_full
and document it's behavior.

Fixes: 91fccdad72a2 ("netdev-dpdk: Free mempool only when no in-use mbufs.")
Reported-by: Timothy Redaelli <tredaelli@redhat.com>
Reported-by: Markos Chandras <mchandras@suse.de>
Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Signed-off-by: Ian Stokes <ian.stokes@intel.com>
lib/netdev-dpdk.c