net/mlx5: DR, Use the right GVMI number for drop action
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Sun, 17 Dec 2023 09:24:08 +0000 (11:24 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 24 Jan 2024 08:15:36 +0000 (00:15 -0800)
commit5665954293f13642f9c052ead83c1e9d8cff186f
tree0bcba4b8b3ebd11928df66eee6cd6130720fbc6d
parentec7cc38ef9f83553102e84c82536971a81630739
net/mlx5: DR, Use the right GVMI number for drop action

When FW provides ICM addresses for drop RX/TX, the provided capability
is 64 bits that contain its GVMI as well as the ICM address itself.
In case of TX DROP this GVMI is different from the GVMI that the
domain is operating on.

This patch fixes the action to use these GVMI IDs, as provided by FW.

Fixes: 9db810ed2d37 ("net/mlx5: DR, Expose steering action functionality")
Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c