The number of supported WIDs, if they are supported at all, can be limited due to resources. Notifying the user space application the number of available WIDs allows it to utilize them correctly.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -50,6 +50,8 @@ struct qedr_alloc_ucontext_resp { · 49 unmodified lines | ||
| 50 | 50 | __u32 sges_per_srq_wr; |
| 51 | 51 | __u32 max_cqes; |
| 52 | 52 | __u8 dpm_enabled; |
| 53 | + __u8 wids_enabled; | |
| 54 | + __u16 wid_count; | |
| 53 | 55 | }; |
| 54 | 56 | |
| 55 | 57 | struct qedr_alloc_pd_ureq { |