net/mlx5: DR, Fix matching on vport gvmi
authorHamdan Igbaria <hamdani@mellanox.com>
Wed, 5 Feb 2020 12:31:12 +0000 (14:31 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 19 Feb 2020 03:01:19 +0000 (19:01 -0800)
commit52d214976d4f64504c1bbb52d47b46a5a3d5ee42
tree503cb03efb823c83fa55ee6b5b08feb94a25cf5a
parent1ad6c43c6a7b8627240c6cc19c69e31fedc596a7
net/mlx5: DR, Fix matching on vport gvmi

Set vport gvmi in the tag, only when source gvmi is set in the bit mask.

Fixes: 26d688e3 ("net/mlx5: DR, Add Steering entry (STE) utilities")
Signed-off-by: Hamdan Igbaria <hamdani@mellanox.com>
Reviewed-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c