On 14/02/2020 21:13, Ben Pfaff wrote:
On Fri, Feb 14, 2020 at 05:54:27PM +0000, [email protected] wrote:
From: Anton Ivanov <[email protected]>
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.
That is taken care of in the next patch in the series.
The >= condition will always be true (unless there's an overflow), so
there's no point in testing it at all.
OK. That makes sense provided send is synchronous (as it is today). We
can skip it for now and revisit when offloading SSL to worker threads.
--
Anton R. Ivanov
Cambridgegreys Limited. Registered in England. Company Number 10273661
https://www.cambridgegreys.com/
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev