提交 6b6c07bd 编写于 作者: O Or Gerlitz 提交者: David S. Miller

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: e126ba97 ('mlx5: Add driver for Mellanox Connect-IB adapters')
Signed-off-by: NOr Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: NLeon Romanovsky <leonro@mellanox.com>
Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 2fcb92fb
...@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册