Xiaoyu Min e9e7994c45 net/mlx5: check port ID and VLAN actions ordering
Rdma-core needs the dst_vport (port_id) action be after push/pop VLAN
and modify hdr actions otherwise it will reject to create rule.

This pach validates the port_id is after push/pop VLAN and set VLAN
VID/PCP otherwise PMD spits out errors.

Fixes: 5f163d520cff ("net/mlx5: support modify VLAN ID on existing VLAN header")

Signed-off-by: Xiaoyu Min <jackmin@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
2019-11-08 23:15:04 +01:00
..
2019-10-25 19:23:22 +02:00
2019-10-25 19:00:22 +02:00
2019-10-25 19:00:22 +02:00
2019-11-08 23:15:04 +01:00
2019-11-08 23:15:04 +01:00
2019-11-08 23:15:04 +01:00
2019-11-08 23:15:04 +01:00
2019-10-25 19:00:22 +02:00
2019-11-08 23:15:04 +01:00
2019-11-08 23:15:04 +01:00
2018-11-14 00:35:53 +01:00
2019-11-08 23:15:04 +01:00