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)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 23 Jul 2017 02:58:27 +0000 (02:58 +0000)
commit51d9e858741ed74d1935ad2fa0d684e4b38484aa
tree6d9a8c6a427db9c7edd64c3489a7f0d4f777814e
parent801dc6de90fc3c9f35cbcae5746362762de52186
net/mlx5: E-Switch, Err when retrieving steering name-space fails

[ Upstream commit 5403dc703ff277f8a2a12a83ac820750485f13b3 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c