net/mlx5: Handle LAG FW commands failure gracefully
authorAviv Heller <avivh@mellanox.com>
Mon, 27 Aug 2018 12:39:40 +0000 (15:39 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 14 Dec 2018 21:28:56 +0000 (13:28 -0800)
commit9582466640432c86fb060a4fa4d9d3c48e708ca6
tree8a43183264a5e420aebbca2519ce637e50f25d4a
parent7c34ec19e10c0d13ca2f3435fb85d2dddccad917
net/mlx5: Handle LAG FW commands failure gracefully

When create_lag or destroy_lag FW commands fail, display an appropriate
error message, and try to recover, if possible.

Signed-off-by: Aviv Heller <avivh@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Yevgeny Kliteynik <kliteyn@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/lag.c