Skip to content

Commit

Permalink
net/mlx5: E-Switch, Remove redundant reloading of the IB interface
Browse files Browse the repository at this point in the history
The reload of the IB interface done on the offloads stop call is
redundant b/c we do that on mlx5_eswitch_disable_sriov(), remove it.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
  • Loading branch information
Or Gerlitz authored and Saeed Mahameed committed Dec 17, 2018
1 parent 9582466 commit 915fe1a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
Original file line number Diff line number Diff line change
Expand Up @@ -1450,9 +1450,6 @@ static int esw_offloads_stop(struct mlx5_eswitch *esw,
}
}

/* enable back PF RoCE */
mlx5_reload_interface(esw->dev, MLX5_INTERFACE_PROTOCOL_IB);

return err;
}

Expand Down

0 comments on commit 915fe1a

Please sign in to comment.