]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[infiniband] Add node GUID as distinct from the first port GUID
authorMichael Brown <mcb30@ipxe.org>
Wed, 15 Sep 2010 22:10:15 +0000 (23:10 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 16 Sep 2010 02:30:45 +0000 (03:30 +0100)
commit42cf4a720cb85f71d43739b304cc1f25353f68c4
tree5f6d9d242ae34c97dddfc580b850644edfd36d55
parent3e8e2773de7acd47084c04205385e294c7825020
[infiniband] Add node GUID as distinct from the first port GUID

iPXE currently uses the first port's port GUID as the node GUID,
rather than using the (possibly distinct) real node GUID.  This can
confuse opensm during the handover to a loaded OS: it thinks the port
already belongs to a different node and so discards our port
information with a warning message about duplicate ports.  Everything
is picked up correctly on the second subnet sweep, after opensm has
established that the "old" node no longer exists, but this can delay
link-up unnecessarily by several seconds.

Fix by using the real node GUID.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/infiniband/linda.c
src/drivers/infiniband/qib7322.c
src/include/ipxe/infiniband.h
src/net/infiniband.c
src/net/infiniband/ib_cm.c
src/net/infiniband/ib_sma.c
src/net/infiniband/ib_smc.c