mlx5-fixes-2017-12-19

Misc fixes for mlx5 core and mlx5 netdev driver.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAABAgAGBQJaOXH2AAoJEEg/ir3gV/o+fkcH/103/m5LxoHvjU2iNyuiPI/i
s0Fzc/cvzXPsN1+yzVeHKICTBKH7GfrEATt/VMifFlmstg8VvgY4q2VeWuj/9FX3
A4Q0A2UUk9NbNdhy7tM7vk1bCYDQJiVyu0VuAO2QbKCIeihfcr6Q5vSr/ADDtozX
MwYMPebAAhsjitQyVXX5P59p4XLySclDm86IR1NzDhuhvX7tlZSAoTYiYhHeUJyE
HF0owu85dyMd+a0wPXX+r725ZTOdpJmpLpz9oSFcgegCetw/xmpxmZAK3WYbaO6D
uTBwRb8DXy3yVVpm3Rt6PgtVC59OV7ZP7OdosPgW/MVUHt7RlQzMTQOB/Pj3e9U=
=vqzE
-----END PGP SIGNATURE-----
net/mlx5: Stay in polling mode when command EQ destroy fails

During unload, on mlx5_stop_eqs we move command interface from events
mode to polling mode, but if command interface EQ destroy fail we move
back to events mode.
That's wrong since even if we fail to destroy command interface EQ, we
do release its irq, so no interrupts will be received.

Fixes: e126ba97dba9 ("mlx5: Add driver for Mellanox Connect-IB adapters")
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
1 file changed