diff options
author | 2017-02-28 23:26:30 +0100 | |
---|---|---|
committer | 2017-02-28 23:26:30 +0100 | |
commit | f7c379403a98cf060d28bac24916c51067c4ec90 (patch) | |
tree | 2abcefb884b9a9894a8319c243b5b0fc223eea82 /src/vnet/devices/dpdk/main.c | |
parent | 7100b9cc6f1342a320c372bf746ae85cf815c41b (diff) |
dpdk: retire support for dpdk 16.07
Change-Id: I8585552c026415340fe9fd0458cb8450da3c4ae2
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/devices/dpdk/main.c')
-rw-r--r-- | src/vnet/devices/dpdk/main.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/vnet/devices/dpdk/main.c b/src/vnet/devices/dpdk/main.c index 1e6ec2f892f..9ea3aa04b09 100644 --- a/src/vnet/devices/dpdk/main.c +++ b/src/vnet/devices/dpdk/main.c @@ -61,14 +61,12 @@ rte_delay_us_override (unsigned us) return 0; // no override } -#if RTE_VERSION >= RTE_VERSION_NUM(16, 11, 0, 0) static void rte_delay_us_override_cb (unsigned us) { if (rte_delay_us_override (us) == 0) rte_delay_us_block (us); } -#endif static clib_error_t * dpdk_main_init (vlib_main_t * vm) { @@ -77,12 +75,9 @@ static clib_error_t * dpdk_main_init (vlib_main_t * vm) if ((error = vlib_call_init_function (vm, dpdk_init))) return error; -#if DPDK -#if RTE_VERSION >= RTE_VERSION_NUM(16, 11, 0, 0) /* register custom delay function */ rte_delay_us_callback_register (rte_delay_us_override_cb); -#endif -#endif + return error; } |