]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Increase wait time for fw initialization
authorDaniel Jurgens <danielj@mellanox.com>
Mon, 10 Jun 2019 23:38:14 +0000 (23:38 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 13 Jun 2019 17:59:48 +0000 (10:59 -0700)
commitf5ab31e2af7eae0bc1330faef7fcae09222bd879
tree7adf2e51e38528f80a5ac17e0a893570e31b4eeb
parent2e37a609f75d67acb516a572d1620728871007f6
net/mlx5: Increase wait time for fw initialization

Firmware FLR happens sequentially, in some cases, like when destroying
a VM that had many VFs, may require waiting much longer than 10 seconds.
Increase the timeout to 2 minutes, and print a wait countdown status
every 20 seconds.

Signed-off-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/main.c