[dpdk-dev] [PATCH 0/5] mlx5: workaround MR issues in FW\kernel
From: Matan Azrad <hidden>
Date: 2021-11-07 15:30:26
As a workaround to kernel driver/FW issues of the mlx5 devices, it is needed to use MR, which is an indirect mkey pointing to direct mkey created by the kernel for any DevX command uses an MR. Fix any direct mkey usage to be configured by the ibv_reg_mr API. If the direct mkey is for DevX command usage, werap it with an indiect mkey to workaround the issues. Matan Azrad (2): common/mlx5: add wrapped MR create API vdpa/mlx5: workaround dirty bitmap MR creation Michael Baum (3): common/mlx5: glue MR registration with IOVA vdpa/mlx5: workaround guest MR registrations net/mlx5: workaround counter memory region creation drivers/common/mlx5/linux/meson.build | 2 + drivers/common/mlx5/linux/mlx5_common_os.c | 56 ++++++++++++++++++++++ drivers/common/mlx5/linux/mlx5_glue.c | 18 +++++++ drivers/common/mlx5/linux/mlx5_glue.h | 3 ++ drivers/common/mlx5/mlx5_common.h | 18 +++++++ drivers/common/mlx5/version.map | 3 ++ drivers/net/mlx5/mlx5.c | 8 +--- drivers/net/mlx5/mlx5.h | 5 +- drivers/net/mlx5/mlx5_flow.c | 25 +++------- drivers/vdpa/mlx5/mlx5_vdpa.h | 9 ++-- drivers/vdpa/mlx5/mlx5_vdpa_lm.c | 37 +++----------- drivers/vdpa/mlx5/mlx5_vdpa_mem.c | 43 ++++++----------- 12 files changed, 134 insertions(+), 93 deletions(-) -- 2.25.1