opengnsys_ipxe/src
Christian Iversen 699b9f1d1b [hermon] Use Ethernet MAC as eIPoIB local EMAC
The eIPoIB local Ethernet MAC is currently constructed from the port
GUID.  Given a base GUID/MAC value of N, Mellanox seems to populate:

  Node GUID:   N + 0
  Port 1 GUID: N + 1
  Port 2 GUID: N + 2

and

  Port 1 MAC:  N + 0
  Port 2 MAC:  N + 1

This causes a duplicate local MAC address when port 1 is configured as
Infiniband and port 2 as Ethernet, since both will derive their MAC
address as (N + 1).

Fix by using the port's Ethernet MAC as the eIPoIB local EMAC.  This
is a behavioural change that could potentially break configurations
that rely on the local EMAC value, such as a DHCP server relying on
the chaddr field for DHCP reservations.

Signed-off-by: Christian Iversen <ci@iversenit.dk>
Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2021-01-29 00:13:46 +00:00
..
arch [image] Provide image_memory() 2021-01-25 17:03:56 +00:00
bin Rename .cvsignore files to .gitignore 2007-06-09 22:57:00 +01:00
config [image] Add the "imgmem" command 2021-01-22 18:44:58 +00:00
core [image] Provide image_memory() 2021-01-25 17:03:56 +00:00
crypto [x509] Clarify debug message for an untrusted X.509 issuer 2020-12-28 18:18:58 +00:00
doc [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
drivers [hermon] Use Ethernet MAC as eIPoIB local EMAC 2021-01-29 00:13:46 +00:00
hci [cmdline] Expose "iflinkwait" as a command 2021-01-26 17:07:52 +00:00
image [image] Implicitly trust first embedded image 2021-01-27 12:42:31 +00:00
include [infiniband] Require drivers to specify the number of ports 2021-01-27 01:15:35 +00:00
interface [efi] Use EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL if available 2021-01-27 12:45:53 +00:00
libgcc [libgcc] Change __divmoddi4 from int64 [unknown] to int64_t 2020-07-21 14:33:32 +01:00
net [infiniband] Require drivers to specify the number of ports 2021-01-27 01:15:35 +00:00
scripts [efi] Centralise architecture-independent EFI Makefile and linker script 2016-03-12 21:47:13 +00:00
tests [x509] Make root of trust a reference-counted structure 2020-12-09 16:45:50 +00:00
usr [ifmgmt] Make "ifstat" show the link-layer protocol for each netdev 2021-01-26 21:02:10 +00:00
util [efi] Automatically load "/autoexec.ipxe" when booted from a filesystem 2021-01-25 17:04:44 +00:00
.gitignore [build] Add support for local configuration files 2010-03-26 19:07:22 +00:00
Makefile [bnxt] Add driver support for Broadcom NetXtreme-E Adapters 2020-05-06 15:41:45 +01:00
Makefile.efi [build] Create util/genfsimg for building filesystem-based images 2021-01-13 17:58:02 +00:00
Makefile.housekeeping [build] Provide a testable platform macro alongside -DPLATFORM 2020-10-16 15:16:00 +01:00
doxygen.cfg [build] Remove PACKED macro 2010-05-29 23:49:47 +01:00