]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[hermon] Minimise reset time 245/head
authorMichael Brown <mcb30@ipxe.org>
Mon, 1 Feb 2021 22:25:52 +0000 (22:25 +0000)
committerMichael Brown <mcb30@ipxe.org>
Mon, 1 Feb 2021 22:29:30 +0000 (22:29 +0000)
commit410566cef7b760b5e59050b38e1eb4e7572f059b
treecc1db725f32bc3457702debb9a93e20a74564d4c
parent7b2b35981f862ba17765c87f657353f93b5b41d4
[hermon] Minimise reset time

Check for reset completion by waiting for the device to respond to PCI
configuration cycles, as documented in the Programmer's Reference
Manual.  On the original ConnectX HCA, this reduces the time spent on
reset from 1000ms down to 1ms.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/infiniband/hermon.c
src/drivers/infiniband/hermon.h