net/mlx5: support push flow action on VLAN header
authorMoti Haimovsky <motih@mellanox.com>
Mon, 9 Sep 2019 15:56:46 +0000 (18:56 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 20 Sep 2019 08:19:41 +0000 (10:19 +0200)
commit9aee7a8418d4490c232084633a10682e9c0a66d5
tree533b753a2b92a4a0c115f41cd0fa2d00c44d6c7e
parentb41e47da259290084965c1f5b9f1012c809e9444
net/mlx5: support push flow action on VLAN header

This commit adds support for RTE_FLOW_ACTION_TYPE_OF_PUSH_VLAN using
direct verbs flow rules.
If present in the flow, The VLAN default values are taken from the
VLAN item configuration.
In this commit only the VLAN TPID value can be set since VLAN
modification actions are not supported yet.

Signed-off-by: Moti Haimovsky <motih@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
doc/guides/nics/mlx5.rst
doc/guides/rel_notes/release_19_11.rst
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_flow.h
drivers/net/mlx5/mlx5_flow_dv.c