]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net/mlx5: Fix driver load bad flow when having fw initializing timeout
authorMohamad Haj Yahia <mohamad@mellanox.com>
Thu, 30 Mar 2017 14:00:25 +0000 (17:00 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Sat, 22 Apr 2017 18:52:37 +0000 (21:52 +0300)
commit55378a238e04b39cc82957d91d16499704ea719b
tree49c59c2aa32a2db7566c30da79999e0ff407e88a
parent94836ecf1e7378b64d37624fbb81fe48fbd4c772
net/mlx5: Fix driver load bad flow when having fw initializing timeout

If FW is stuck in initializing state we will skip the driver load, but
current error handling flow doesn't clean previously allocated command
interface resources.

Fixes: e3297246c2c8 ('net/mlx5_core: Wait for FW readiness on startup')
Signed-off-by: Mohamad Haj Yahia <mohamad@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/main.c