summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2016-03-02 01:13:39 +0300
committerDavid S. Miller <davem@davemloft.net>2016-03-02 01:28:00 +0300
commit6b6c07bdcdc97ccac2596063bfc32a5faddfe884 (patch)
treecaa542c6e288318f443c13e30cd6c2bb3b9c0e09 /include/linux
parent2fcb92fbd04eef26dfe7e67839da6262d83d6b65 (diff)
downloadlinux-6b6c07bdcdc97ccac2596063bfc32a5faddfe884.tar.xz
net/mlx5: Make command timeout way shorter
The command timeout is terribly long, whole two hours. Make it 60s so if things do go wrong, the user gets feedback in relatively short time, so they can take corrective actions and/or investigate using tools and such. Fixes: e126ba97dba9 ('mlx5: Add driver for Mellanox Connect-IB adapters') Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mlx5/driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h
index a815da92d4eb..3388a43b78f6 100644
--- a/include/linux/mlx5/driver.h
+++ b/include/linux/mlx5/driver.h
@@ -54,7 +54,7 @@ enum {
/* one minute for the sake of bringup. Generally, commands must always
* complete and we may need to increase this timeout value
*/
- MLX5_CMD_TIMEOUT_MSEC = 7200 * 1000,
+ MLX5_CMD_TIMEOUT_MSEC = 60 * 1000,
MLX5_CMD_WQ_MAX_NAME = 32,
};