diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2019-07-08 13:59:05 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-07-08 16:37:22 -0300 |
commit | 96e2fd733b9af304edcf30ef922dcaa4d3e1bfa6 (patch) | |
tree | ef025c36c1ebb6d32b965f683fd15871ca3be3b5 /drivers/infiniband/hw/mlx5/main.c | |
parent | f8fc8cd9c612c31f92b19b72f619fa043ec76e5e (diff) | |
download | linux-96e2fd733b9af304edcf30ef922dcaa4d3e1bfa6.tar.bz2 |
RDMA/mlx5: Set RDMA DIM to be enabled by default
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>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/main.c')
-rw-r--r-- | drivers/infiniband/hw/mlx5/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c index 56d4b1e9dd23..c2a5780cb394 100644 --- 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; } |