summaryrefslogtreecommitdiffstats
path: root/include/uapi/rdma/bnxt_re-abi.h
diff options
context:
space:
mode:
authorDevesh Sharma <devesh.sharma@broadcom.com>2018-01-11 17:52:11 +0100
committerDoug Ledford <dledford@redhat.com>2018-01-18 20:49:19 +0100
commit37cb11acf1f72a007a85894a6dd2ec93932bde46 (patch)
tree93546a71c60875e4a46f79ec85cc659cc5be08b3 /include/uapi/rdma/bnxt_re-abi.h
parentRDMA/bnxt_re: expose detailed stats retrieved from HW (diff)
downloadlinux-37cb11acf1f72a007a85894a6dd2ec93932bde46.tar.xz
linux-37cb11acf1f72a007a85894a6dd2ec93932bde46.zip
RDMA/bnxt_re: Add SRQ support for Broadcom adapters
Shared receive queue (SRQ) is defined as a pool of receive buffers shared among multiple QPs which belong to same protection domain in a given process context. Use of SRQ reduces the memory foot print of IB applications. Broadcom adapters support SRQ, adding code-changes to enable shared receive queue. Signed-off-by: Devesh Sharma <devesh.sharma@broadcom.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/uapi/rdma/bnxt_re-abi.h')
-rw-r--r--include/uapi/rdma/bnxt_re-abi.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/uapi/rdma/bnxt_re-abi.h b/include/uapi/rdma/bnxt_re-abi.h
index 398a514ee446..db54115be044 100644
--- a/include/uapi/rdma/bnxt_re-abi.h
+++ b/include/uapi/rdma/bnxt_re-abi.h
@@ -82,6 +82,15 @@ struct bnxt_re_qp_resp {
__u32 rsvd;
};
+struct bnxt_re_srq_req {
+ __u64 srqva;
+ __u64 srq_handle;
+};
+
+struct bnxt_re_srq_resp {
+ __u32 srqid;
+};
+
enum bnxt_re_shpg_offt {
BNXT_RE_BEG_RESV_OFFT = 0x00,
BNXT_RE_AVID_OFFT = 0x10,