RDMA/mlx5: Refactor get flow table function
authorMark Bloch <mbloch@nvidia.com>
Sun, 3 Jul 2022 20:54:06 +0000 (13:54 -0700)
committerLeon Romanovsky <leonro@nvidia.com>
Tue, 19 Jul 2022 17:50:21 +0000 (20:50 +0300)
commite74d2e4dfd0dd05e10c2e4b6d75ddb17e753b78a
treed0f76d96669723ae0076d4ae70897c2a4a5cda0a
parent43038d8418a386ffe8d8c8a7766cd90e9a7d6e86
RDMA/mlx5: Refactor get flow table function

_get_flow_table() requires the entire matcher being passed
while all it needs is the priority and namespace type.
Pass the priority and namespace type directly instead.

Link: https://lore.kernel.org/all/20220703205407.110890-5-saeed@kernel.org/
Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mlx5/fs.c