commit | 3a6ef5158d4a01a2ddd88c3c978e6de0d10ee759 | [log] [tgz] |
---|---|---|
author | Maor Gottlieb <maorg@mellanox.com> | Thu Aug 29 23:42:34 2019 +0000 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Sun Sep 01 23:44:42 2019 -0700 |
tree | afa4011ca5229428f0d7308bb06c04286aab719e | |
parent | 97b5484ed608605dca9e461c0289d1195ba9608d [diff] |
net/mlx5: Avoid disabling RoCE when uninitialized Move the check if RoCE steering is initialized to the disable RoCE function, it will ensure that we disable RoCE only if we succeeded in enabling it before. Fixes: 80f09dfc237f ("net/mlx5: Eswitch, enable RoCE loopback traffic") Signed-off-by: Maor Gottlieb <maorg@mellanox.com> Reviewed-by: Mark Bloch <markb@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>