iPXE - Open Source Boot Firmware

[linda] Wait up to 20us for link state to update
authorMichael Brown <mcb30@etherboot.org>
Mon, 16 Nov 2009 21:21:12 +0000 (21:21 +0000)
committerMichael Brown <mcb30@etherboot.org>
Mon, 16 Nov 2009 22:19:39 +0000 (22:19 +0000)
commit7467cf5f0942a1e3cbe887272a884dda26c240e4
treef5ed248fd41a06170342ae814eb11911a9951b4e
parentc2c77377a6025495c2bbdd4fae96ecaa2b4651f1
[linda] Wait up to 20us for link state to update

Some subnet managers expect the GetResponse from a SetPortInfo MAD to
contain the new link state.  The transition is not immediate, so we
often end up returning the previous link state.  This can cause the SM
to fail to activate the port.

Fix by waiting for up to 20us for the link state transition to take
effect.
src/drivers/infiniband/linda.c
src/drivers/infiniband/linda.h