common/mlx5: support device DMA map and unmap
authorMichael Baum <michaelba@nvidia.com>
Tue, 19 Oct 2021 20:56:01 +0000 (23:56 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 21 Oct 2021 13:58:00 +0000 (15:58 +0200)
commita5d06c90067b6c0c2facb9614f9b10b2a1f54ffc
tree5b80ef400c722e5e31dfcea90d839e8ea906d720
parent9f1d636f3ef08fd69b40cfe6eb954b0c9d1820d2
common/mlx5: support device DMA map and unmap

Since MR management has moved to the common area, there is no longer a
need for the DMA map and unmap function for each driver.
This patch share those functions. For most drivers it supports these
operations for the first time.

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/common/mlx5/mlx5_common.c
drivers/common/mlx5/mlx5_common.h
drivers/common/mlx5/mlx5_common_mr.c
drivers/common/mlx5/mlx5_common_mr.h
drivers/common/mlx5/version.map
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5_mr.c