mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
mlx4_core: Add a way to set the "collapsed" CQ flag
Extend the mlx4_cq_resize() API with a way to set the "collapsed" flag for the CQ being created. Signed-off-by: Yevgeny Petrilin <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
This commit is contained in:
parent
7663c1e279
commit
e463c7b197
3 changed files with 6 additions and 3 deletions
|
|
@ -221,7 +221,7 @@ struct ib_cq *mlx4_ib_create_cq(struct ib_device *ibdev, int entries, int vector
|
|||
}
|
||||
|
||||
err = mlx4_cq_alloc(dev->dev, entries, &cq->buf.mtt, uar,
|
||||
cq->db.dma, &cq->mcq);
|
||||
cq->db.dma, &cq->mcq, 0);
|
||||
if (err)
|
||||
goto err_dbmap;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue