On Sun, Jun 02, 2019 at 04:06:34PM +0000, Nitin Katiyar wrote:
> Problem:
> ========
> During port DOWN->UP of link (slave) in a LACP bond, after receiving the
> LACP PDU with SYNC set for both actor and partner, the bond-slave remains
> "disabled" until OVS main thread runs LACP state machine and eventually
> "enables" the bond-slave. With this, we have observed delays in the order
> of 350ms and packets are dropped in OVS due to bond-admissibility check
> (packets received on slave in "disabled" state are dropped).

I had to think about this a bit.  Is the following alternate statement
of the problem also correct?

The OVS state machine that enables and disables bond slaves runs in the OVS
main thread.  The OVS code that processes received LACP packets runs in a 
different thread.  Until now, when the latter processes a LACP PDU that
should enable a slave, the slave was only enabled when the main thread was
able to run the state machine.   In some cases this led to delays of up to
350ms when the main thread was busy or not scheduled, which led to
corresponding delays in which packets were dropped due to the
bond-admissibility check.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to