]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: TC, Fix post_act to not match on in_port metadata
authorMaor Dickman <maord@nvidia.com>
Mon, 18 Jul 2022 06:44:13 +0000 (09:44 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 28 Jul 2022 20:44:21 +0000 (13:44 -0700)
commit58c82dfba45c961ee89099c4efed108fedf2c19e
tree20b3fd8f43ebe7967fa1b07c9bf2f9d74ddc9d2d
parent19423a5ff91f3609f01bc42e07b4cce966bd39fb
net/mlx5e: TC, Fix post_act to not match on in_port metadata

The cited commit changed CT to use multi table actions post act infrastructure instead
of using it own post act infrastructure, this broke decap during VF tunnel offload
(Stack devices) with CT due to wrong match on in_port metadata in the post act table.
This changed only broke VF tunnel offload because it modify the packet in_port metadata
to be VF metadata and it isn't propagate the post act creation.

Fixed by modify post act rules to match only on fte_id and not match on in_port metadata
which isn't needed.

Fixes: 69a1b849ea32 ("net/mlx5e: Use multi table support for CT and sample actions")
Signed-off-by: Maor Dickman <maord@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c