net/mlx5: block pop VLAN action on Tx
authorDekel Peled <dekelp@mellanox.com>
Wed, 22 Jan 2020 14:27:19 +0000 (16:27 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 5 Feb 2020 08:51:20 +0000 (09:51 +0100)
commit159e9217a5cfd2949aceab6a7fe0516d8fce5ba5
tree6516a41b0f7ec5f4d04e7508056b2d99bf197402
parent55060e62e4d2802b963fb00a45efc31ae1f8aca0
net/mlx5: block pop VLAN action on Tx

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

Fixes: b41e47da2592 ("net/mlx5: support pop 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