[lacp] Add simple LACP implementation

Some switch configurations will refuse to enable our port unless we
can speak LACP to inform the switch that we are alive.  Add a very
simple passive LACP implementation that is sufficient to convince at
least Linux's bonding driver (when tested using qemu attached to a tap
device enslaved to a bond device configured as "mode=802.3ad").

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2010-05-10 16:30:10 +01:00
parent 2d9a303248
commit 84996b7b09
5 changed files with 526 additions and 406 deletions

View File

@@ -191,3 +191,6 @@ struct net_device * alloc_etherdev ( size_t priv_size ) {
}
return netdev;
}
/* Drag in Ethernet slow protocols */
REQUIRE_OBJECT ( eth_slow );