[MLX4] enabled facility to connect CQ to required CPU. [mlnx: 4439]
[mirror/winof/.git] / hw / mlx4 / kernel / bus / ib / cq.c
index 8b05a8a..77f56d3 100644 (file)
@@ -128,8 +128,6 @@ struct ib_cq *mlx4_ib_create_cq(struct ib_device *ibdev, int entries, int vector
        int buf_size;\r
        int err;\r
 \r
-       UNUSED_PARAM(vector);\r
-\r
        if (mlx4_is_barred(ibdev->dma_device))\r
                return ERR_PTR(-EFAULT);\r
 \r
@@ -212,7 +210,7 @@ struct ib_cq *mlx4_ib_create_cq(struct ib_device *ibdev, int entries, int vector
        }\r
 \r
        err = mlx4_cq_alloc(dev->dev, entries, &cq->buf.mtt, uar,\r
-               cq->db.dma.da, &cq->mcq, 0, 0);\r
+               cq->db.dma.da, &cq->mcq, vector, 0);\r
        if (err)\r
                goto err_dbmap;\r
 \r