net/mlx5: DR, Change push vlan action sequence
authorAlex Vesker <valex@mellanox.com>
Mon, 13 Jul 2020 11:09:04 +0000 (14:09 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 3 Aug 2020 17:13:51 +0000 (10:13 -0700)
commitb206490940216542c68563699b279eed3c55107c
treef36da74ff7221ddf102ee2862d8c31160dca2024
parent45d252ca803b9aa232c455a7c3d0c9e14b89247f
net/mlx5: DR, Change push vlan action sequence

The DR TX state machine supports the following order:
modify header, push vlan and encapsulation.
Instead fs_dr would pass:
push vlan, modify header and encapsulation.

The above caused the rule creation to fail on invalid action
sequence provided error.

Fixes: 6a48faeeca10 ("net/mlx5: Add direct rule fs_cmd implementation")
Signed-off-by: Alex Vesker <valex@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c