diff options
author | Damjan Marion <damarion@cisco.com> | 2016-10-25 18:53:41 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2016-10-26 14:52:00 +0000 |
commit | f530a5526a1f501462ff4247a5bb38e80c13678d (patch) | |
tree | d8c6661467f561411197d6d7dbd5f3b551a78bb1 /vnet/vnet/devices/dpdk/cli.c | |
parent | 6398397125e1d37a9f9463351e537eb4012baba7 (diff) |
dpdk: remove support for dpdk 16.04
This also removes old DPDK vhost-user code which doesn't help
much with DPDK 16.07 or newer.
Change-Id: Ic996df1eaccc33acd3fa6cabeaf7381a672c2a90
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vnet/vnet/devices/dpdk/cli.c')
-rw-r--r-- | vnet/vnet/devices/dpdk/cli.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/vnet/vnet/devices/dpdk/cli.c b/vnet/vnet/devices/dpdk/cli.c index 2683030658a..fbd1637e654 100644 --- a/vnet/vnet/devices/dpdk/cli.c +++ b/vnet/vnet/devices/dpdk/cli.c @@ -169,13 +169,8 @@ show_dpdk_buffer (vlib_main_t * vm, unformat_input_t * input, rmp = vm->buffer_main->pktmbuf_pools[i]; if (rmp) { -#if RTE_VERSION >= RTE_VERSION_NUM(16, 7, 0, 0) unsigned count = rte_mempool_avail_count (rmp); unsigned free_count = rte_mempool_in_use_count (rmp); -#else - unsigned count = rte_mempool_count (rmp); - unsigned free_count = rte_mempool_free_count (rmp); -#endif vlib_cli_output (vm, "name=\"%s\" available = %7d allocated = %7d total = %7d\n", |