aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/devx.c
diff options
context:
space:
mode:
authorAharon Landau <[email protected]>2021-10-12 10:26:34 +0000
committerLeon Romanovsky <[email protected]>2021-10-19 11:35:28 +0000
commit4123bfb0b28b77b944360be8c758b1a0974e96ad (patch)
tree43098e767f6926e410671254d229b49e07f7ed65 /drivers/infiniband/hw/mlx5/devx.c
parentRDMA/mlx5: Replace struct mlx5_core_mkey by u32 key (diff)
downloadkernel-4123bfb0b28b77b944360be8c758b1a0974e96ad.tar.gz
kernel-4123bfb0b28b77b944360be8c758b1a0974e96ad.zip
RDMA/mlx5: Move struct mlx5_core_mkey to mlx5_ib
Move mlx5_core_mkey struct to mlx5_ib, as the mlx5_core doesn't use it at this point. Signed-off-by: Aharon Landau <[email protected]> Reviewed-by: Shay Drory <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/devx.c')
-rw-r--r--drivers/infiniband/hw/mlx5/devx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx5/devx.c b/drivers/infiniband/hw/mlx5/devx.c
index 5322d787c094..d07a21a13ac0 100644
--- a/drivers/infiniband/hw/mlx5/devx.c
+++ b/drivers/infiniband/hw/mlx5/devx.c
@@ -1293,7 +1293,7 @@ static int devx_handle_mkey_indirect(struct devx_obj *obj,
void *in, void *out)
{
struct mlx5_ib_devx_mr *devx_mr = &obj->devx_mr;
- struct mlx5_core_mkey *mkey;
+ struct mlx5_ib_mkey *mkey;
void *mkc;
u8 key;