Patch "IB/mlx5: Expose correct maximum number of CQE capacity" has been added to the 4.4-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
IB/mlx5: Expose correct maximum number of CQE capacity
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
ib-mlx5-expose-correct-maximum-number-of-cqe-capacity.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
9f17768611ebf81dfac69948dd12622b6f2e45fcMon Sep 17 00:00:00 2001
From: Leon Romanovsky <[email protected]>
Date: Thu, 14 Jan 2016 08:11:40 +0200
Subject: IB/mlx5: Expose correct maximum number of CQE capacity
From: Leon Romanovsky <[email protected]>
commit 9f17768611ebf81dfac69948dd12622b6f2e45fc upstream.
Maximum number of EQE capacity per CQ was mistakenly exposed as CQE. Fix that.
--- drivers/infiniband/hw/mlx5/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/infiniband/hw/mlx5/main.c +1 -1
@@ -275,7 +275,7 @@ static int mlx5_ib_query_device(struct i props->max_sge =min (max_rq_sg, max_sq_sg); props->max_sge_rd = props->max_sge; props->max_cq =1 <<MLX5_CAP_GEN (mdev, log_max_cq); - props->max_cqe = (1 <<MLX5_CAP_GEN (mdev, log_max_eq_sz)) -1 ; + props->max_cqe = (1 <<MLX5_CAP_GEN (mdev, log_max_cq_sz)) -1 ; props->max_mr =1 <<MLX5_CAP_GEN (mdev, log_max_mkey); props->max_pd =1 <<MLX5_CAP_GEN (mdev, log_max_pd); props->max_qp_rd_atom =1 <<MLX5_CAP_GEN (mdev, log_max_ra_req_qp);
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/ib-mlx5-expose-correct-maximum-number-of-cqe-capacity.patch