numam-dpdk/lib/librte_eal
Jozef Martiniak b4d63fb622 eal: customize delay function
When running single-core, some drivers tend to call rte_delay_us for a
long time, and that is causing packet drops.
To avoid this, rte_delay_us can be replaced with user-defined delay
function with:

void rte_delay_us_callback_register(void(*userfunc)(unsigned));

When userfunc==rte_delay_us_block build-in blocking delay function is
restored.

Signed-off-by: Jozef Martiniak <jozmarti@cisco.com>
2016-09-26 14:48:42 +02:00
..
bsdapp eal: customize delay function 2016-09-26 14:48:42 +02:00
common eal: customize delay function 2016-09-26 14:48:42 +02:00
linuxapp eal: customize delay function 2016-09-26 14:48:42 +02:00
Makefile config: remove EAL flags for OS environment 2016-03-05 11:09:31 +01:00