From 8fed5ff8b379c58d7ad7f2181ee688e305cd378b Mon Sep 17 00:00:00 2001 From: leonidk Date: Sun, 14 Jun 2009 09:47:05 +0000 Subject: [PATCH] [MLX4] enabled facility to connect CQ to required CPU. [mlnx: 4439] git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2254 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- hw/mlx4/kernel/bus/ib/cq.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hw/mlx4/kernel/bus/ib/cq.c b/hw/mlx4/kernel/bus/ib/cq.c index 8b05a8a9..77f56d3f 100644 --- a/hw/mlx4/kernel/bus/ib/cq.c +++ b/hw/mlx4/kernel/bus/ib/cq.c @@ -128,8 +128,6 @@ struct ib_cq *mlx4_ib_create_cq(struct ib_device *ibdev, int entries, int vector int buf_size; int err; - UNUSED_PARAM(vector); - if (mlx4_is_barred(ibdev->dma_device)) return ERR_PTR(-EFAULT); @@ -212,7 +210,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.da, &cq->mcq, 0, 0); + cq->db.dma.da, &cq->mcq, vector, 0); if (err) goto err_dbmap; -- 2.17.1