summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRaju Rangoju <rajur@chelsio.com>2018-07-25 21:22:13 +0530
committerJason Gunthorpe <jgg@mellanox.com>2018-07-25 21:08:04 -0600
commit7fc7a7cffab6b94cb5e47148e6852ba633078ea1 (patch)
treeeb8653e46d58fcfbf68010ce620af00c3b1bb5ce /include
parent076dd53be52b729acc1e24e50669dbd761d8ee06 (diff)
rdma/cxgb4: Add support for srq functions & structs
This patch adds kernel mode t4_srq structures and support functions, uapi structures and defines, as well as firmware work request structures. Signed-off-by: Raju Rangoju <rajur@chelsio.com> Reviewed-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/rdma/cxgb4-abi.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/uapi/rdma/cxgb4-abi.h b/include/uapi/rdma/cxgb4-abi.h
index 65c9eacd3ffb..d0b2d829471a 100644
--- a/include/uapi/rdma/cxgb4-abi.h
+++ b/include/uapi/rdma/cxgb4-abi.h
@@ -84,6 +84,23 @@ struct c4iw_create_qp_resp {
__u32 flags;
};
+struct c4iw_create_srq_resp {
+ __aligned_u64 srq_key;
+ __aligned_u64 srq_db_gts_key;
+ __aligned_u64 srq_memsize;
+ __u32 srqid;
+ __u32 srq_size;
+ __u32 rqt_abs_idx;
+ __u32 qid_mask;
+ __u32 flags;
+ __u32 reserved; /* explicit padding */
+};
+
+enum {
+ /* HW supports SRQ_LIMIT_REACHED event */
+ T4_SRQ_LIMIT_SUPPORT = 1 << 0,
+};
+
struct c4iw_alloc_ucontext_resp {
__aligned_u64 status_page_key;
__u32 status_page_size;