qedr: Add user space support for SRQ
This patch adds support for SRQ's created in user space and update qedr_affiliated_event to deal with general SRQ events. Signed-off-by: Michal Kalderon <michal.kalderon@cavium.com> Signed-off-by: Yuval Bason <yuval.bason@cavium.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:

committed by
Jason Gunthorpe

parent
3491c9e799
commit
40b173ddce
@@ -111,4 +111,21 @@ struct qedr_create_qp_uresp {
|
||||
__u32 reserved;
|
||||
};
|
||||
|
||||
struct qedr_create_srq_ureq {
|
||||
/* user space virtual address of producer pair */
|
||||
__aligned_u64 prod_pair_addr;
|
||||
|
||||
/* user space virtual address of SRQ buffer */
|
||||
__aligned_u64 srq_addr;
|
||||
|
||||
/* length of SRQ buffer */
|
||||
__aligned_u64 srq_len;
|
||||
};
|
||||
|
||||
struct qedr_create_srq_uresp {
|
||||
__u16 srq_id;
|
||||
__u16 reserved0;
|
||||
__u32 reserved1;
|
||||
};
|
||||
|
||||
#endif /* __QEDR_USER_H__ */
|
||||
|
Reference in New Issue
Block a user