Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
According to the IB Spec, Vol 1, Rel-1.6.2022.07-15b: 10.2.9.3 SHARED RECEIVE QUEUE MODIFICATION: "If the HCA supports the modification of the maximum number of outstanding SRQ WRs, then Consumer may request to change the maximum number of outstanding WRs through the Modify SRQ verb. The CI returns the actual maximum number of WQEs that can be outstanding on the SRQ, this value must be greater than or equal to the number requested." Change the max_wr assert to greater or equal to the requested value (instead of equal). In addition, remove max_sge modification as it's irrelevant and not supported. Fixes: 27f1562 ("tests: Add SRQ tests") Reported-by: Bob Pearson <[email protected]> Signed-off-by: Edward Srouji <[email protected]>
- Loading branch information