opengnsys_ipxe/src/drivers
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
..
bitbash [mii] Add bit-bashing interface 2018-04-20 15:24:33 +01:00
block [iscsi] Fix iBFT when no explicit initiator name setting exists 2017-05-10 16:01:47 +01:00
bus [build] Inhibit spurious array bounds warning on some versions of gcc 2021-01-15 20:54:27 +00:00
infiniband [hermon] Use Ethernet MAC as eIPoIB local EMAC 2021-01-29 00:13:46 +00:00
linux [linux] Impose receive quota on tap driver 2017-09-04 18:00:34 +01:00
net [sfc] Update email addresses 2020-12-28 18:41:55 +00:00
nvs [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
usb [xhci] Avoid false positive Coverity warning 2021-01-04 09:37:59 +00:00