mirror of
https://github.com/xcat2/xNBA.git
synced 2025-02-19 03:54:38 +00:00
[hermon] Set event queue number for completion queues
Give completion queues a chance to deliver exception events by programming in the number of our event queue (currently used only for port state changes). Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
42f451e070
commit
30e7d7efa1
@ -798,6 +798,7 @@ static int hermon_create_cq ( struct ib_device *ibdev,
|
||||
MLX_FILL_2 ( &cqctx, 3,
|
||||
usr_page, HERMON_UAR_NON_EQ_PAGE,
|
||||
log_cq_size, fls ( cq->num_cqes - 1 ) );
|
||||
MLX_FILL_1 ( &cqctx, 5, c_eqn, hermon->eq.eqn );
|
||||
MLX_FILL_1 ( &cqctx, 7, mtt_base_addr_l,
|
||||
( hermon_cq->mtt.mtt_base_addr >> 3 ) );
|
||||
MLX_FILL_1 ( &cqctx, 15, db_record_addr_l,
|
||||
|
Loading…
x
Reference in New Issue
Block a user