[MLX4] enabled facility to connect CQ to required CPU. [mlnx: 4439]
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 14 Jun 2009 09:47:05 +0000 (09:47 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 14 Jun 2009 09:47:05 +0000 (09:47 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2254 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

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
        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
        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
        }\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
        if (err)\r
                goto err_dbmap;\r
 \r