We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 718195d commit 499578cCopy full SHA for 499578c
drivers/net/ethernet/mellanox/mlx4/main.c
@@ -471,8 +471,7 @@ static int mlx4_dev_cap(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap)
471
dev->caps.max_rq_desc_sz = dev_cap->max_rq_desc_sz;
472
/*
473
* Subtract 1 from the limit because we need to allocate a
474
- * spare CQE so the HCA HW can tell the difference between an
475
- * empty CQ and a full CQ.
+ * spare CQE to enable resizing the CQ
476
*/
477
dev->caps.max_cqes = dev_cap->max_cq_sz - 1;
478
dev->caps.reserved_cqs = dev_cap->reserved_cqs;
0 commit comments