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 f4f4096 commit 7f1a6d4Copy full SHA for 7f1a6d4
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
@@ -3633,10 +3633,14 @@ mlx5e_clone_flow_attr_for_post_act(struct mlx5_flow_attr *attr,
3633
attr2->action = 0;
3634
attr2->flags = 0;
3635
attr2->parse_attr = parse_attr;
3636
- attr2->esw_attr->out_count = 0;
3637
- attr2->esw_attr->split_count = 0;
3638
attr2->dest_chain = 0;
3639
attr2->dest_ft = NULL;
+
+ if (ns_type == MLX5_FLOW_NAMESPACE_FDB) {
3640
+ attr2->esw_attr->out_count = 0;
3641
+ attr2->esw_attr->split_count = 0;
3642
+ }
3643
3644
return attr2;
3645
}
3646
0 commit comments