projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ecc798
)
IB/mlx5: Replace numerical constant with predefined MACRO
author
Max Gurtovoy
<maxg@mellanox.com>
Thu, 27 Oct 2016 13:36:36 +0000
(16:36 +0300)
committer
Doug Ledford
<dledford@redhat.com>
Thu, 17 Nov 2016 01:04:48 +0000
(20:04 -0500)
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>
drivers/infiniband/hw/mlx5/qp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/hw/mlx5/qp.c
b/drivers/infiniband/hw/mlx5/qp.c
index 41f4c2afbcdd6264a05c38d9c0cd2ce7d807bccc..00cffbfe6c350be1493b52a3999b057fa5fcf15f 100644
(file)
--- 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)