net/mlx5: block push VLAN action on Rx
authorDekel Peled <dekelp@mellanox.com>
Wed, 22 Jan 2020 14:27:18 +0000 (16:27 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 5 Feb 2020 08:51:20 +0000 (09:51 +0100)
commit55060e62e4d2802b963fb00a45efc31ae1f8aca0
treec048a87016426fa3685639a950820c60a9810554
parent70faf9ae0a299e5750b687dfecb6efc65b038304
net/mlx5: block push VLAN action on Rx

Add missing check in validation function of 'push VLAN' action.
Action is not allowed for ingress flow rules.

Fixes: 9aee7a8418d4 ("net/mlx5: support push flow action on VLAN header")
Cc: stable@dpdk.org
Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Ori Kam <orika@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5_flow_dv.c