net/mlx5: fix bit mask to validate push VLAN
authorDekel Peled <dekelp@mellanox.com>
Wed, 22 Jan 2020 14:27:15 +0000 (16:27 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 5 Feb 2020 08:51:20 +0000 (09:51 +0100)
commit82e4aca2caa011c85911615dc38e17da86c5a184
treeefaa58b9e073b1e1f0e24825aedcf29dc667453f
parenta2268a4cfb08e70e3f0f0a082033ad5a24a2a07d
net/mlx5: fix bit mask to validate push VLAN

Validation function of 'push VLAN' action uses (POP_VLAN or PUSH_VLAN)
actions flags, instead of using a mask of both flags.

This patch replaces it to use existing VLAN_ACTIONS mask.

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