diff options
author | Christian Iversen <ci@iversenit.dk> | 2021-01-25 13:32:04 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2021-01-28 20:55:14 +0000 |
commit | 7c40227e18d532bff5fe32b1a71c3916b0ce1774 (patch) | |
tree | 836089864b9e89c53bface0e41edba485fe6f85d /src/drivers/infiniband | |
parent | cd126c41bbec5563c5042902f4aa22a8e92ee76f (diff) | |
download | ipxe-7c40227e18d532bff5fe32b1a71c3916b0ce1774.tar.gz |
[hermon] Increase command timeout from 2 to 10 seconds
Some commands (particularly in relation to device initialization) can
occasionally take longer than 2 seconds, and the Mellanox documentation
recommends a 10 second timeout.
Signed-off-by: Christian Iversen <ci@iversenit.dk>
Diffstat (limited to 'src/drivers/infiniband')
-rw-r--r-- | src/drivers/infiniband/hermon.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/infiniband/hermon.h b/src/drivers/infiniband/hermon.h index 61e285781..8ac35620c 100644 --- a/src/drivers/infiniband/hermon.h +++ b/src/drivers/infiniband/hermon.h @@ -925,7 +925,7 @@ struct hermon { #define HERMON_HCR_BASE 0x80680 #define HERMON_HCR_REG(x) ( HERMON_HCR_BASE + 4 * (x) ) -#define HERMON_HCR_MAX_WAIT_MS 2000 +#define HERMON_HCR_MAX_WAIT_MS 10000 #define HERMON_MBOX_ALIGN 4096 #define HERMON_MBOX_SIZE 1024 |