common/mlx5: share MR top-half search function
authorMichael Baum <michaelba@nvidia.com>
Tue, 19 Oct 2021 20:55:59 +0000 (23:55 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 21 Oct 2021 13:57:28 +0000 (15:57 +0200)
commitfb690f71bdb4c024838f6fa5b9a1f6277e691ae1
tree5cbd81e2f37b0c1281f9b82f2353f797a02131fe
parent5fbc75ace1f83b3616a3614fdcb27ca70db063c0
common/mlx5: share MR top-half search function

Add function to search in local liniar cache and use it in the drivers
instead of their functions.

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/common/mlx5/mlx5_common.h
drivers/common/mlx5/mlx5_common_mr.c
drivers/common/mlx5/version.map
drivers/compress/mlx5/mlx5_compress.c
drivers/crypto/mlx5/mlx5_crypto.c
drivers/regex/mlx5/mlx5_regex_fastpath.c