Re: [ovs-dev] [RFC 5/5] dpif-netdev: Catch reloads faster.

2019-05-08 Thread Eelco Chaudron
On 30 Apr 2019, at 14:18, David Marchand wrote: Looking at the reload flag only every 1024 loops can be a long time under load, since we might be handling 32 packets per iteration, which means 32k packets. Look at the flag every loop, no major performance impact seen. Signed-off-by: David

[ovs-dev] [RFC 5/5] dpif-netdev: Catch reloads faster.

2019-04-30 Thread David Marchand
Looking at the reload flag only every 1024 loops can be a long time under load, since we might be handling 32 packets per iteration, which means 32k packets. Look at the flag every loop, no major performance impact seen. Signed-off-by: David Marchand --- lib/dpif-netdev.c | 10 +- 1