aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma/ib_verbs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rdma/ib_verbs.h')
-rw-r--r--include/rdma/ib_verbs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index d2a5c9b991d1..d0c2dc034054 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -523,6 +523,10 @@ enum ib_cq_notify_flags {
523 IB_CQ_REPORT_MISSED_EVENTS = 1 << 2, 523 IB_CQ_REPORT_MISSED_EVENTS = 1 << 2,
524}; 524};
525 525
526enum ib_srq_type {
527 IB_SRQT_BASIC
528};
529
526enum ib_srq_attr_mask { 530enum ib_srq_attr_mask {
527 IB_SRQ_MAX_WR = 1 << 0, 531 IB_SRQ_MAX_WR = 1 << 0,
528 IB_SRQ_LIMIT = 1 << 1, 532 IB_SRQ_LIMIT = 1 << 1,
@@ -538,6 +542,7 @@ struct ib_srq_init_attr {
538 void (*event_handler)(struct ib_event *, void *); 542 void (*event_handler)(struct ib_event *, void *);
539 void *srq_context; 543 void *srq_context;
540 struct ib_srq_attr attr; 544 struct ib_srq_attr attr;
545 enum ib_srq_type srq_type;
541}; 546};
542 547
543struct ib_qp_cap { 548struct ib_qp_cap {
@@ -888,6 +893,7 @@ struct ib_srq {
888 struct ib_uobject *uobject; 893 struct ib_uobject *uobject;
889 void (*event_handler)(struct ib_event *, void *); 894 void (*event_handler)(struct ib_event *, void *);
890 void *srq_context; 895 void *srq_context;
896 enum ib_srq_type srq_type;
891 atomic_t usecnt; 897 atomic_t usecnt;
892}; 898};
893 899