aboutsummaryrefslogtreecommitdiffstats
path: root/vpp
diff options
context:
space:
mode:
Diffstat (limited to 'vpp')
-rw-r--r--vpp/vnet/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vpp/vnet/main.c b/vpp/vnet/main.c
index 6dac33cb..56790fda 100644
--- a/vpp/vnet/main.c
+++ b/vpp/vnet/main.c
@@ -68,6 +68,7 @@ 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)
{
@@ -75,6 +76,7 @@ rte_delay_us_override_cb (unsigned us)
rte_delay_us_block (us);
}
#endif
+#endif
static void
vpe_main_init (vlib_main_t * vm)