]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[ipoib] Expose Ethernet-compatible eIPoIB link-layer addresses and headers
authorMichael Brown <mcb30@ipxe.org>
Wed, 29 Aug 2012 22:34:14 +0000 (23:34 +0100)
committerMichael Brown <mcb30@ipxe.org>
Fri, 31 Aug 2012 20:22:59 +0000 (21:22 +0100)
commit03f0c23f8b1a60575f788dd1b9d4ea47debf2345
tree60b2312a0d56d6707a25aef4ce5bb4f6874359d6
parentf54a61e43450fae7d045bebabc4c368d325e71d3
[ipoib] Expose Ethernet-compatible eIPoIB link-layer addresses and headers

Almost all clients of the raw-packet interfaces (UNDI and SNP) can
handle only Ethernet link layers.  Expose an Ethernet-compatible link
layer to local clients, while remaining compatible with IPoIB on the
wire.  This requires manipulation of ARP (but not DHCP) packets within
the IPoIB driver.

This is ugly, but it's the only viable way to allow IPoIB devices to
be driven via the raw-packet interfaces.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/interface/pxe/pxe_undi.c
src/drivers/net/ipoib.c
src/include/ipxe/dhcp.h
src/include/ipxe/ipoib.h
src/include/ipxe/netdevice.h
src/interface/efi/efi_snp.c
src/net/udp/dhcp.c
src/usr/dhcpmgmt.c