diff options
| author | Christian Iversen | 2021-01-25 13:32:04 +0100 |
|---|---|---|
| committer | Michael Brown | 2021-01-28 21:55:14 +0100 |
| commit | 7c40227e18d532bff5fe32b1a71c3916b0ce1774 (patch) | |
| tree | 836089864b9e89c53bface0e41edba485fe6f85d /src/drivers/infiniband/hermon.h | |
| parent | [hermon] Add assorted debug error messages (diff) | |
| download | ipxe-7c40227e18d532bff5fe32b1a71c3916b0ce1774.tar.gz ipxe-7c40227e18d532bff5fe32b1a71c3916b0ce1774.tar.xz ipxe-7c40227e18d532bff5fe32b1a71c3916b0ce1774.zip | |
[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/hermon.h')
| -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 |
