net/mlx5e: Refactor on-the-fly configuration changes
[sfrench/cifs-2.6.git] / drivers / net / ethernet / mellanox / mlx5 / core / ipoib / ipoib.c
index 9555127ce7e710a608403287e9a0ab0f223911ec..df409111ef3a90870c385dee33ae76aa290d1f18 100644 (file)
@@ -489,7 +489,7 @@ static int mlx5i_change_mtu(struct net_device *netdev, int new_mtu)
        new_channels.params = priv->channels.params;
        new_channels.params.sw_mtu = new_mtu;
 
-       err = mlx5e_safe_switch_channels(priv, &new_channels, NULL, NULL);
+       err = mlx5e_safe_switch_channels(priv, &new_channels, NULL, NULL, true);
        if (err)
                goto out;