vswitchd: Cache interface carrier when bonding.
authorEthan Jackson <ethan@nicira.com>
Fri, 28 Jan 2011 01:26:45 +0000 (17:26 -0800)
committerEthan Jackson <ethan@nicira.com>
Thu, 3 Feb 2011 20:24:13 +0000 (12:24 -0800)
commitc835c3bf87d8ebf71cb13810a6ef2c167e012180
tree650e280e2007fb53fbf0c3c5265759378605aec5
parentabe457eb08667d9a4e495eafba5a93fc5afab602
vswitchd: Cache interface carrier when bonding.

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.
vswitchd/bridge.c