net/mlx5: Lag, set match mask according to the traffic type bitmap
authorMaor Gottlieb <maorg@nvidia.com>
Tue, 13 Jul 2021 12:30:45 +0000 (15:30 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 19 Oct 2021 03:18:09 +0000 (20:18 -0700)
commite465550b38edd71e233520d01b2d5db91d0ae077
tree7e9c637ada89003713a319afa47817b89c31922c
parent1065e0015dd7d83b3d03a9396ca37d3cca9a5ce5
net/mlx5: Lag, set match mask according to the traffic type bitmap

Set the related bits in the match definer mask according to the
TT mapping.
This mask will be used to create the match definers.

Signed-off-by: Maor Gottlieb <maorg@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/lag/port_sel.c