]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5: DR, Call ste_builder directly with tag pointer
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Mon, 31 Aug 2020 08:56:40 +0000 (11:56 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 1 Oct 2020 04:26:28 +0000 (21:26 -0700)
commite6b69bf379b2423d4603cf265adf4cb050f4dab5
tree7464cb1c3d2cc566ae9f250a704360b42174451a
parent92b4b88531e52ad0c2fecb1c7bd4bc9ccb85a829
net/mlx5: DR, Call ste_builder directly with tag pointer

Instead of getting the tag in each function, call the builder
directly with the tag. This will allow to use the same function
for building the tag and the bitmask.

Signed-off-by: Alex Vesker <valex@nvidia.com>
Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h