Skip to content

Commit 915fe1a

Browse files
ogerlitzSaeed Mahameed
authored andcommitted
net/mlx5: E-Switch, Remove redundant reloading of the IB interface
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 <[email protected]> Reviewed-by: Mark Bloch <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
1 parent 9582466 commit 915fe1a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1450,9 +1450,6 @@ static int esw_offloads_stop(struct mlx5_eswitch *esw,
14501450
}
14511451
}
14521452

1453-
/* enable back PF RoCE */
1454-
mlx5_reload_interface(esw->dev, MLX5_INTERFACE_PROTOCOL_IB);
1455-
14561453
return err;
14571454
}
14581455

0 commit comments

Comments
 (0)