summaryrefslogtreecommitdiffstats
path: root/src/drivers
diff options
context:
space:
mode:
authorMichael Brown2010-09-12 18:35:35 +0200
committerMichael Brown2010-09-12 23:35:42 +0200
commit30e7d7efa1b451d4b518e452887fc08ec666fb2e (patch)
treeaed1fccc6d2839c8f3257228b0bddb51f2ca60ad /src/drivers
parent[hermon] Improve debugging output and facilities (diff)
downloadipxe-30e7d7efa1b451d4b518e452887fc08ec666fb2e.tar.gz
ipxe-30e7d7efa1b451d4b518e452887fc08ec666fb2e.tar.xz
ipxe-30e7d7efa1b451d4b518e452887fc08ec666fb2e.zip
[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>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/infiniband/hermon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/infiniband/hermon.c b/src/drivers/infiniband/hermon.c
index 49894334b..5db494279 100644
--- a/src/drivers/infiniband/hermon.c
+++ b/src/drivers/infiniband/hermon.c
@@ -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,