projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8fc8cd
)
RDMA/mlx5: Set RDMA DIM to be enabled by default
author
Leon Romanovsky
<leonro@mellanox.com>
Mon, 8 Jul 2019 10:59:05 +0000
(13:59 +0300)
committer
Jason Gunthorpe
<jgg@mellanox.com>
Mon, 8 Jul 2019 19:37:22 +0000
(16:37 -0300)
Enable RDMA DIM by default for better user experience.
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/main.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/mlx5/main.c
b/drivers/infiniband/hw/mlx5/main.c
index 56d4b1e9dd2366cc2c1718e316f26dba8ce8571a..c2a5780cb394e64b013fbeff00e78eb7e3361287 100644
(file)
--- a/
drivers/infiniband/hw/mlx5/main.c
+++ b/
drivers/infiniband/hw/mlx5/main.c
@@
-6428,6
+6428,8
@@
static int mlx5_ib_stage_caps_init(struct mlx5_ib_dev *dev)
MLX5_CAP_GEN(dev->mdev, disable_local_lb_mc)))
mutex_init(&dev->lb.mutex);
+ dev->ib_dev.use_cq_dim = true;
+
return 0;
}