[dpdk-dev] [PATCH] rte_delay_us can be replaced with user function

2016-09-22 Thread Jozef Martiniak -X (jozmarti - PANTHEON TECHNOLOGIES@Cisco)
Hello Thomas, > First a general comment: please check your patch with scripts/checkpatches.sh. > Done. checkpath.pl is taken from latest linux kernel... > What will happen if we need to provide more builtin handlers? > I still think that rte_delay_us_block can be exported and initialized The idea

[dpdk-dev] [PATCH] rte_delay_us can be replaced with user function

2016-07-19 Thread Jozef Martiniak -X (jozmarti - PANTHEON TECHNOLOGIES@Cisco)
Hi, On Tue, 2016-07-19 at 15:21 +0200, Thomas Monjalon wrote: Hi, > > 2016-07-19 14:42, jozmarti at cisco.com: > > when running single-core, some drivers tend to call rte_delay_us for a > > long time, and that is causing packet drops. > > Attached patch introduces 2 new functions: > > > > void r