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)
commitb8a92577f4be89427f0b150261626ebcc25c498d
tree7adf2e51e38528f80a5ac17e0a893570e31b4eeb
parent8693115af4c24d92b971ad895c5f329761ed5d38
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