net/mlx5: allow push VLAN without VID
authorDekel Peled <dekelp@mellanox.com>
Wed, 22 Jan 2020 14:27:16 +0000 (16:27 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 5 Feb 2020 08:51:20 +0000 (09:51 +0100)
commit5507cb79279d03d196133bcc26feace49e8e1fab
tree9cb24130ff1ed4cbcb63f82ddcf1c8522075d98f
parent82e4aca2caa011c85911615dc38e17da86c5a184
net/mlx5: allow push VLAN without VID

Currently the push VLAN action requires a VID value, either from
existing VLAN item, or from following 'set VLAN vid' action.

This patch removes this limitation, allowing a push VLAN action with
vid value 0.

Fixes: b8c0372bc5ac ("net/mlx5: fix set VLAN ID/PCP in new 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