summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/devx.h
diff options
context:
space:
mode:
authorAharon Landau <aharonl@nvidia.com>2021-10-12 12:26:35 +0200
committerLeon Romanovsky <leonro@nvidia.com>2021-10-19 13:42:53 +0200
commitae0579acde812bc1efd074086ae3bc5eae170f20 (patch)
tree9720fc198e67478ab97e4d0c2009e515c6ac1e20 /drivers/infiniband/hw/mlx5/devx.h
parentRDMA/mlx5: Move struct mlx5_core_mkey to mlx5_ib (diff)
downloadlinux-ae0579acde812bc1efd074086ae3bc5eae170f20.tar.xz
linux-ae0579acde812bc1efd074086ae3bc5eae170f20.zip
RDMA/mlx5: Attach ndescs to mlx5_ib_mkey
Generalize the use of ndescs by adding it to mlx5_ib_mkey. Signed-off-by: Aharon Landau <aharonl@nvidia.com> Reviewed-by: Shay Drory <shayd@nvidia.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/devx.h')
-rw-r--r--drivers/infiniband/hw/mlx5/devx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx5/devx.h b/drivers/infiniband/hw/mlx5/devx.h
index 1f69866aed16..ee2213275fd6 100644
--- a/drivers/infiniband/hw/mlx5/devx.h
+++ b/drivers/infiniband/hw/mlx5/devx.h
@@ -16,7 +16,7 @@ struct devx_obj {
u32 dinbox[MLX5_MAX_DESTROY_INBOX_SIZE_DW];
u32 flags;
union {
- struct mlx5_ib_devx_mr devx_mr;
+ struct mlx5_ib_mkey mkey;
struct mlx5_core_dct core_dct;
struct mlx5_core_cq core_cq;
u32 flow_counter_bulk_size;