We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18a2b7f commit 6c4e9bcCopy full SHA for 6c4e9bc
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
@@ -846,18 +846,15 @@ static int connect_fts_in_prio(struct mlx5_core_dev *dev,
846
{
847
struct mlx5_flow_root_namespace *root = find_root(&prio->node);
848
struct mlx5_flow_table *iter;
849
- int i = 0;
850
int err;
851
852
fs_for_each_ft(iter, prio) {
853
- i++;
854
err = root->cmds->modify_flow_table(root, iter, ft);
855
if (err) {
856
- mlx5_core_warn(dev, "Failed to modify flow table %d\n",
857
- iter->id);
+ mlx5_core_err(dev,
+ "Failed to modify flow table id %d, type %d, err %d\n",
+ iter->id, iter->type, err);
858
/* The driver is out of sync with the FW */
859
- if (i > 1)
860
- WARN_ON(true);
861
return err;
862
}
863
0 commit comments