]> git.baikalelectronics.ru Git - kernel.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)
commitbf8c1f71331e68e0c68d9c531d97c954f07f115e
tree7464cb1c3d2cc566ae9f250a704360b42174451a
parent9541808a17ca40d6c8d20c3c90063ea09c553fe9
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