diff options
author | Max Gurtovoy <maxg@mellanox.com> | 2016-10-27 16:36:36 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-11-16 20:04:48 -0500 |
commit | 2d2215888d758c194efb38332aaf5e2069ac578e (patch) | |
tree | 464716f2e270e6223113ced6311640fc83db8d28 /drivers/infiniband/hw | |
parent | 8ecc7985b4b15f1f14bce31d8ab45dc426df7da3 (diff) | |
download | op-kernel-dev-2d2215888d758c194efb38332aaf5e2069ac578e.zip op-kernel-dev-2d2215888d758c194efb38332aaf5e2069ac578e.tar.gz |
IB/mlx5: Replace numerical constant with predefined MACRO
Replace the pre-defined macro signifying inline umr instead
of the numerical constant.
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r-- | drivers/infiniband/hw/mlx5/qp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx5/qp.c b/drivers/infiniband/hw/mlx5/qp.c index 41f4c2a..00cffbf 100644 --- a/drivers/infiniband/hw/mlx5/qp.c +++ b/drivers/infiniband/hw/mlx5/qp.c @@ -3068,7 +3068,7 @@ static void set_linv_umr_seg(struct mlx5_wqe_umr_ctrl_seg *umr) { memset(umr, 0, sizeof(*umr)); umr->mkey_mask = cpu_to_be64(MLX5_MKEY_MASK_FREE); - umr->flags = 1 << 7; + umr->flags = MLX5_UMR_INLINE; } static __be64 get_umr_reg_mr_mask(void) |