mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
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>
This commit is contained in:
parent
076dd53be5
commit
7fc7a7cffa
4 changed files with 190 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue