diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/infiniband/core/verbs.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/infiniband/core/verbs.c b/drivers/infiniband/core/verbs.c index 8ffb5f2c21f7..05042089de6e 100644 --- a/drivers/infiniband/core/verbs.c +++ b/drivers/infiniband/core/verbs.c | |||
@@ -630,6 +630,13 @@ struct ib_cq *ib_create_cq(struct ib_device *device, | |||
630 | } | 630 | } |
631 | EXPORT_SYMBOL(ib_create_cq); | 631 | EXPORT_SYMBOL(ib_create_cq); |
632 | 632 | ||
633 | int ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period) | ||
634 | { | ||
635 | return cq->device->modify_cq ? | ||
636 | cq->device->modify_cq(cq, cq_count, cq_period) : -ENOSYS; | ||
637 | } | ||
638 | EXPORT_SYMBOL(ib_modify_cq); | ||
639 | |||
633 | int ib_destroy_cq(struct ib_cq *cq) | 640 | int ib_destroy_cq(struct ib_cq *cq) |
634 | { | 641 | { |
635 | if (atomic_read(&cq->usecnt)) | 642 | if (atomic_read(&cq->usecnt)) |