Commit e9e88e89 authored by Or Gerlitz's avatar Or Gerlitz Committed by Kamal Mostafa

net/mlx5: Make command timeout way shorter

commit 6b6c07bd upstream.

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: e126ba97 ('mlx5: Add driver for Mellanox Connect-IB adapters')
Signed-off-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: default avatarLeon Romanovsky <leonro@mellanox.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarKamal Mostafa <kamal@canonical.com>
parent c4a11f51
...@@ -54,7 +54,7 @@ enum { ...@@ -54,7 +54,7 @@ enum {
/* one minute for the sake of bringup. Generally, commands must always /* one minute for the sake of bringup. Generally, commands must always
* complete and we may need to increase this timeout value * 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, MLX5_CMD_WQ_MAX_NAME = 32,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment