mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
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>
This commit is contained in:
parent
89f81008ba
commit
37cb11acf1
8 changed files with 825 additions and 98 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue