diff options
author | Michael Brown <mcb30@ipxe.org> | 2010-05-10 16:30:10 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2010-05-10 16:34:17 +0100 |
commit | 84996b7b09341b3cb4b93fdae4bdb2cb217045c7 (patch) | |
tree | f3c9385844d21202ffc8a74e5fc72995e6f8b110 /src/net/ethernet.c | |
parent | 2d9a303248645af88cef9ffbf0a2f66c1bed8959 (diff) | |
download | ipxe-84996b7b09341b3cb4b93fdae4bdb2cb217045c7.tar.gz |
[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>
Diffstat (limited to 'src/net/ethernet.c')
-rw-r--r-- | src/net/ethernet.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/ethernet.c b/src/net/ethernet.c index 5c5936f4..d14cfefc 100644 --- a/src/net/ethernet.c +++ b/src/net/ethernet.c @@ -191,3 +191,6 @@ struct net_device * alloc_etherdev ( size_t priv_size ) { } return netdev; } + +/* Drag in Ethernet slow protocols */ +REQUIRE_OBJECT ( eth_slow ); |