net/mlx5: E-Switch, Err when retrieving steering name-space fails
authorOr Gerlitz <ogerlitz@mellanox.com>
Wed, 11 Jan 2017 17:39:42 +0000 (19:39 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Sun, 29 Jan 2017 21:01:38 +0000 (23:01 +0200)
commit5403dc703ff277f8a2a12a83ac820750485f13b3
tree652051f30070a30e7710d08a2d1c71b70db0b1c5
parenteff596da48784316ccb83bef82bc1213b512d5e0
net/mlx5: E-Switch, Err when retrieving steering name-space fails

Make sure to return error when we failed retrieving the FDB steering
name space. Also, while around, correctly print the error when mode
change revert fails in the warning message.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reported-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c