|
@@ -255,15 +255,24 @@ static int mlx5i_create_flow_steering(struct mlx5e_priv *priv)
|
|
priv->netdev->hw_features &= ~NETIF_F_NTUPLE;
|
|
priv->netdev->hw_features &= ~NETIF_F_NTUPLE;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ err = mlx5e_create_inner_ttc_table(priv);
|
|
|
|
+ if (err) {
|
|
|
|
+ netdev_err(priv->netdev, "Failed to create inner ttc table, err=%d\n",
|
|
|
|
+ err);
|
|
|
|
+ goto err_destroy_arfs_tables;
|
|
|
|
+ }
|
|
|
|
+
|
|
err = mlx5e_create_ttc_table(priv);
|
|
err = mlx5e_create_ttc_table(priv);
|
|
if (err) {
|
|
if (err) {
|
|
netdev_err(priv->netdev, "Failed to create ttc table, err=%d\n",
|
|
netdev_err(priv->netdev, "Failed to create ttc table, err=%d\n",
|
|
err);
|
|
err);
|
|
- goto err_destroy_arfs_tables;
|
|
|
|
|
|
+ goto err_destroy_inner_ttc_table;
|
|
}
|
|
}
|
|
|
|
|
|
return 0;
|
|
return 0;
|
|
|
|
|
|
|
|
+err_destroy_inner_ttc_table:
|
|
|
|
+ mlx5e_destroy_inner_ttc_table(priv);
|
|
err_destroy_arfs_tables:
|
|
err_destroy_arfs_tables:
|
|
mlx5e_arfs_destroy_tables(priv);
|
|
mlx5e_arfs_destroy_tables(priv);
|
|
|
|
|
|
@@ -273,6 +282,7 @@ err_destroy_arfs_tables:
|
|
static void mlx5i_destroy_flow_steering(struct mlx5e_priv *priv)
|
|
static void mlx5i_destroy_flow_steering(struct mlx5e_priv *priv)
|
|
{
|
|
{
|
|
mlx5e_destroy_ttc_table(priv);
|
|
mlx5e_destroy_ttc_table(priv);
|
|
|
|
+ mlx5e_destroy_inner_ttc_table(priv);
|
|
mlx5e_arfs_destroy_tables(priv);
|
|
mlx5e_arfs_destroy_tables(priv);
|
|
}
|
|
}
|
|
|
|
|