This patch adds kernel mode t4_srq structures and support functions, uapi structures and defines, as well as firmware work request structures.
Showing the changes to include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -84,6 +84,23 @@ struct c4iw_create_qp_resp { · 83 unmodified lines | ||
| 84 | 84 | __u32 flags; |
| 85 | 85 | }; |
| 86 | 86 | |
| 87 | +struct c4iw_create_srq_resp { | |
| 88 | + __aligned_u64 srq_key; | |
| 89 | + __aligned_u64 srq_db_gts_key; | |
| 90 | + __aligned_u64 srq_memsize; | |
| 91 | + __u32 srqid; | |
| 92 | + __u32 srq_size; | |
| 93 | + __u32 rqt_abs_idx; | |
| 94 | + __u32 qid_mask; | |
| 95 | + __u32 flags; | |
| 96 | + __u32 reserved; /* explicit padding */ | |
| 97 | +}; | |
| 98 | + | |
| 99 | +enum { | |
| 100 | + /* HW supports SRQ_LIMIT_REACHED event */ | |
| 101 | + T4_SRQ_LIMIT_SUPPORT = 1 << 0, | |
| 102 | +}; | |
| 103 | + | |
| 87 | 104 | struct c4iw_alloc_ucontext_resp { |
| 88 | 105 | __aligned_u64 status_page_key; |
| 89 | 106 | __u32 status_page_size; |