aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma/ib_verbs.h
diff options
context:
space:
mode:
authorRalph Campbell <ralphc@pathscale.com>2006-08-11 17:58:09 -0400
committerRoland Dreier <rolandd@cisco.com>2006-09-22 18:22:25 -0400
commit9bc57e2d19db4da81c1150120658cc3658a99ed4 (patch)
tree0047863da8629f79d59f50d243ad7d6c01a5ec5c /include/rdma/ib_verbs.h
parent64f817ba98095156149ba5991592d5d039f6da74 (diff)
IB/uverbs: Pass userspace data to modify_srq and modify_qp methods
Pass a struct ib_udata to the low-level driver's ->modify_srq() and ->modify_qp() methods, so that it can get to the device-specific data passed in by the userspace driver. Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include/rdma/ib_verbs.h')
-rw-r--r--include/rdma/ib_verbs.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index ee1f3a355666..61eed3996117 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -888,7 +888,8 @@ struct ib_device {
888 struct ib_udata *udata); 888 struct ib_udata *udata);
889 int (*modify_srq)(struct ib_srq *srq, 889 int (*modify_srq)(struct ib_srq *srq,
890 struct ib_srq_attr *srq_attr, 890 struct ib_srq_attr *srq_attr,
891 enum ib_srq_attr_mask srq_attr_mask); 891 enum ib_srq_attr_mask srq_attr_mask,
892 struct ib_udata *udata);
892 int (*query_srq)(struct ib_srq *srq, 893 int (*query_srq)(struct ib_srq *srq,
893 struct ib_srq_attr *srq_attr); 894 struct ib_srq_attr *srq_attr);
894 int (*destroy_srq)(struct ib_srq *srq); 895 int (*destroy_srq)(struct ib_srq *srq);
@@ -900,7 +901,8 @@ struct ib_device {
900 struct ib_udata *udata); 901 struct ib_udata *udata);
901 int (*modify_qp)(struct ib_qp *qp, 902 int (*modify_qp)(struct ib_qp *qp,
902 struct ib_qp_attr *qp_attr, 903 struct ib_qp_attr *qp_attr,
903 int qp_attr_mask); 904 int qp_attr_mask,
905 struct ib_udata *udata);
904 int (*query_qp)(struct ib_qp *qp, 906 int (*query_qp)(struct ib_qp *qp,
905 struct ib_qp_attr *qp_attr, 907 struct ib_qp_attr *qp_attr,
906 int qp_attr_mask, 908 int qp_attr_mask,