diff options
Diffstat (limited to 'drivers/infiniband/hw/cxgb3/iwch_provider.c')
-rw-r--r-- | drivers/infiniband/hw/cxgb3/iwch_provider.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb3/iwch_provider.c b/drivers/infiniband/hw/cxgb3/iwch_provider.c index 93038c007133..78a495f5332e 100644 --- a/drivers/infiniband/hw/cxgb3/iwch_provider.c +++ b/drivers/infiniband/hw/cxgb3/iwch_provider.c | |||
@@ -139,7 +139,7 @@ static int iwch_destroy_cq(struct ib_cq *ib_cq) | |||
139 | return 0; | 139 | return 0; |
140 | } | 140 | } |
141 | 141 | ||
142 | static struct ib_cq *iwch_create_cq(struct ib_device *ibdev, int entries, | 142 | static struct ib_cq *iwch_create_cq(struct ib_device *ibdev, int entries, int vector, |
143 | struct ib_ucontext *ib_context, | 143 | struct ib_ucontext *ib_context, |
144 | struct ib_udata *udata) | 144 | struct ib_udata *udata) |
145 | { | 145 | { |
@@ -1110,6 +1110,7 @@ int iwch_register_device(struct iwch_dev *dev) | |||
1110 | dev->ibdev.node_type = RDMA_NODE_RNIC; | 1110 | dev->ibdev.node_type = RDMA_NODE_RNIC; |
1111 | memcpy(dev->ibdev.node_desc, IWCH_NODE_DESC, sizeof(IWCH_NODE_DESC)); | 1111 | memcpy(dev->ibdev.node_desc, IWCH_NODE_DESC, sizeof(IWCH_NODE_DESC)); |
1112 | dev->ibdev.phys_port_cnt = dev->rdev.port_info.nports; | 1112 | dev->ibdev.phys_port_cnt = dev->rdev.port_info.nports; |
1113 | dev->ibdev.num_comp_vectors = 1; | ||
1113 | dev->ibdev.dma_device = &(dev->rdev.rnic_info.pdev->dev); | 1114 | dev->ibdev.dma_device = &(dev->rdev.rnic_info.pdev->dev); |
1114 | dev->ibdev.query_device = iwch_query_device; | 1115 | dev->ibdev.query_device = iwch_query_device; |
1115 | dev->ibdev.query_port = iwch_query_port; | 1116 | dev->ibdev.query_port = iwch_query_port; |