david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[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:
Michael Brown 2010-09-12 17:35:35 +01:00
parent 42f451e070
commit 30e7d7efa1
1 changed files with 1 additions and 0 deletions

View File

@ -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,