diff options
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_cmd.c')
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_cmd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_cmd.c b/drivers/infiniband/hw/mthca/mthca_cmd.c index acd00831ef08..890c060ff4d1 100644 --- a/drivers/infiniband/hw/mthca/mthca_cmd.c +++ b/drivers/infiniband/hw/mthca/mthca_cmd.c | |||
@@ -1560,6 +1560,13 @@ int mthca_HW2SW_SRQ(struct mthca_dev *dev, struct mthca_mailbox *mailbox, | |||
1560 | CMD_TIME_CLASS_A, status); | 1560 | CMD_TIME_CLASS_A, status); |
1561 | } | 1561 | } |
1562 | 1562 | ||
1563 | int mthca_QUERY_SRQ(struct mthca_dev *dev, u32 num, | ||
1564 | struct mthca_mailbox *mailbox, u8 *status) | ||
1565 | { | ||
1566 | return mthca_cmd_box(dev, 0, mailbox->dma, num, 0, | ||
1567 | CMD_QUERY_SRQ, CMD_TIME_CLASS_A, status); | ||
1568 | } | ||
1569 | |||
1563 | int mthca_ARM_SRQ(struct mthca_dev *dev, int srq_num, int limit, u8 *status) | 1570 | int mthca_ARM_SRQ(struct mthca_dev *dev, int srq_num, int limit, u8 *status) |
1564 | { | 1571 | { |
1565 | return mthca_cmd(dev, limit, srq_num, 0, CMD_ARM_SRQ, | 1572 | return mthca_cmd(dev, limit, srq_num, 0, CMD_ARM_SRQ, |