]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit013409c6dc158dc11b12d4f55fc63155246829ce
tree652051f30070a30e7710d08a2d1c71b70db0b1c5
parent9728c9ce4d09822a918ae94b527d485516475ed3
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