net/mlx5: Add fsm_reactivate callback support
authorEran Ben Elisha <eranbe@mellanox.com>
Fri, 21 Feb 2020 21:46:12 +0000 (21:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Feb 2020 23:41:10 +0000 (15:41 -0800)
commitb7331aa204a1b3417d0485bad9380ad7360558d5
tree1e0514a7886c2e07284b12e7e79e68ab5a2be1dd
parent958dfd0dc6d845fd20a044587bf58ef9310fce33
net/mlx5: Add fsm_reactivate callback support

Add support for fsm reactivate via MIRC (Management Image Re-activation
Control) set and query commands.
For re-activation flow, driver shall first run MIRC set, and then wait
until FW is done (via querying MIRC status).

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/fw.c