On Fri, Feb 14, 2020 at 05:54:27PM +0000, anton.iva...@cambridgegreys.com wrote:
> From: Anton Ivanov <anton.iva...@cambridgegreys.com>
> 
> Run JSON RPC every time there is a backlog and not only if
> backlog was created on this iteration.

The rationale for the current behavior is that the condition will be
true (and we will send the message) if the underlying socket's buffer
hasn't filled up.  However, if it did fill up, there is not much benefit
in trying to send another message; it will probably just waste a system
call.

The >= condition will always be true (unless there's an overflow), so
there's no point in testing it at all.
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to