vdpa/mlx5: workaround guest MR registrations
authorMichael Baum <michaelba@nvidia.com>
Tue, 9 Nov 2021 12:36:11 +0000 (14:36 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 10 Nov 2021 14:50:35 +0000 (15:50 +0100)
commit04b4e4cbc0352c6323f459d501d7bc0d82b2f1aa
treeb0c2dfabba781a244816096f18dfc9269e524d8c
parent398ea8450c535a1385c7767d6c60c94e8f1c4c25
vdpa/mlx5: workaround guest MR registrations

Due to kernel issue in direct MKEY creation using the DevX API, this
patch replaces the virtio MR creation to use Verbs API.

Fixes: cc07a42da250 ("vdpa/mlx5: prepare memory regions")
Cc: stable@dpdk.org
Signed-off-by: Michael Baum <michaelba@nvidia.com>
Signed-off-by: Matan Azrad <matan@nvidia.com>
drivers/vdpa/mlx5/mlx5_vdpa.h
drivers/vdpa/mlx5/mlx5_vdpa_mem.c