Hi, > -----Original Message----- > From: Wisam Monther <[email protected]> > Sent: Tuesday, February 11, 2020 3:20 PM > To: Matan Azrad <[email protected]>; Slava Ovsiienko > <[email protected]>; Raslan Darawsheh <[email protected]> > Cc: [email protected]; Dekel Peled <[email protected]> > Subject: [PATCH] net/mlx5: fix the blocker for push VLAN in Rx path > > The blocker should take FDB into consideration, since FDB all directions > have transfer ingress in it. > > Fixes: 55060e62e4d2 ("net/mlx5: block push VLAN action on Rx") > Cc: [email protected] Removed Cc: Dekel, Added Cc: [email protected]
> > Signed-off-by: Wisam Jaddo <[email protected]> Acked-by: Raslan Darawsheh <[email protected]> > --- > drivers/net/mlx5/mlx5_flow_dv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/mlx5/mlx5_flow_dv.c > b/drivers/net/mlx5/mlx5_flow_dv.c > index e71b3b5..c986f25 100644 > --- a/drivers/net/mlx5/mlx5_flow_dv.c > +++ b/drivers/net/mlx5/mlx5_flow_dv.c > @@ -1746,7 +1746,7 @@ flow_dv_validate_action_push_vlan(uint64_t > action_flags, > { > const struct rte_flow_action_of_push_vlan *push_vlan = action- > >conf; > > - if (attr->ingress) > + if (!attr->transfer && attr->ingress) > return rte_flow_error_set(error, ENOTSUP, > > RTE_FLOW_ERROR_TYPE_ATTR_INGRESS, > NULL, > -- > 2.7.4 Patch applied to next-net-mlx, Kindest regards Raslan Darawsheh

