diff options
author | Roland Dreier <rolandd@cisco.com> | 2005-07-07 20:57:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-07 21:23:50 -0400 |
commit | 80c8ec2c04e539aac4e9810a46bc04c1b424b4dd (patch) | |
tree | 2f6b7a3e455f93435797c85a36ea3d07e74fb0cc /drivers/infiniband/hw/mthca/mthca_dev.h | |
parent | 74c2174e7be52f9d2d210511bf3b490f4b41574c (diff) |
[PATCH] IB uverbs: add mthca user QP support
Add support for userspace queue pairs (QPs) to mthca.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_dev.h')
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_dev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_dev.h b/drivers/infiniband/hw/mthca/mthca_dev.h index 751f69479a78..5ecdd2eeeb0f 100644 --- a/drivers/infiniband/hw/mthca/mthca_dev.h +++ b/drivers/infiniband/hw/mthca/mthca_dev.h | |||
@@ -440,12 +440,14 @@ int mthca_alloc_qp(struct mthca_dev *dev, | |||
440 | struct mthca_cq *recv_cq, | 440 | struct mthca_cq *recv_cq, |
441 | enum ib_qp_type type, | 441 | enum ib_qp_type type, |
442 | enum ib_sig_type send_policy, | 442 | enum ib_sig_type send_policy, |
443 | struct ib_qp_cap *cap, | ||
443 | struct mthca_qp *qp); | 444 | struct mthca_qp *qp); |
444 | int mthca_alloc_sqp(struct mthca_dev *dev, | 445 | int mthca_alloc_sqp(struct mthca_dev *dev, |
445 | struct mthca_pd *pd, | 446 | struct mthca_pd *pd, |
446 | struct mthca_cq *send_cq, | 447 | struct mthca_cq *send_cq, |
447 | struct mthca_cq *recv_cq, | 448 | struct mthca_cq *recv_cq, |
448 | enum ib_sig_type send_policy, | 449 | enum ib_sig_type send_policy, |
450 | struct ib_qp_cap *cap, | ||
449 | int qpn, | 451 | int qpn, |
450 | int port, | 452 | int port, |
451 | struct mthca_sqp *sqp); | 453 | struct mthca_sqp *sqp); |