[aoe] Use an AoE config query to identify the target MAC address
commit246ddf5ee4fe0d95f056ad00c670a4a851097418
authorMichael Brown <mcb30@etherboot.org>
Wed, 19 Nov 2008 21:42:33 +0000 (19 21:42 +0000)
committerMichael Brown <mcb30@etherboot.org>
Wed, 19 Nov 2008 21:42:33 +0000 (19 21:42 +0000)
tree6cbb0f629e450a1edebec1a5900b28122a95ce52
parenta2686a55c4799f34dcaa60e14097ed0e8f5c9254
[aoe] Use an AoE config query to identify the target MAC address

The AoE spec does not specify that the source MAC address of a
received packet actually matches the MAC address of the AoE target.
In principle an AoE server can respond to an AoE request on any
interface available to it, which may not be an address configured to
accept AoE requests.

This issue is resolved by implementing AoE device discovery.  The
purpose of AoE discovery is to find out which addresses an AoE target
can use for requests.  An AoE configuration command is sent when the
AoE attach is attempted.  The AoE target must respond to that
configuration query from an interface that can accept requests.

Based on a patch from Ryan Thomas <ryan@coraid.com>
src/include/gpxe/aoe.h
src/net/aoe.c