When building with an older dpdk version, the build fails
as the function 'rte_delay_us_override_cb' is not used.
Change-Id: I4eb5d1c5b357331cf020efd8c6492dd8c82710ee
Signed-off-by: Christophe Fontaine <christophe.fontaine@qosmos.com>
return 0; // no override
}
return 0; // no override
}
+#if RTE_VERSION >= RTE_VERSION_NUM(16, 11, 0, 0)
static void
rte_delay_us_override_cb (unsigned us)
{
static void
rte_delay_us_override_cb (unsigned us)
{
rte_delay_us_block (us);
}
#endif
rte_delay_us_block (us);
}
#endif
static void
vpe_main_init (vlib_main_t * vm)
static void
vpe_main_init (vlib_main_t * vm)