[ovs-dev] [PATCH 5/8] vswitchd: Cache interface carrier when bonding.

Ben Pfaff blp at nicira.com
Tue Feb 1 18:03:12 UTC 2011


On Sun, Jan 30, 2011 at 03:58:12PM -0800, Ethan Jackson wrote:
> This commit caches each interface's carrier status when bonding is
> enabled.  This allows port_update_bond_compat() to be called less
> often, and will prove useful in future patches.

This looks fine to me.

I think that we could just set port->bond_compat_is_stale to true when
the link status changes.  I don't know why we were calling that function
directly here.

Thanks,

Ben.




More information about the dev mailing list