Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
providers/irdma: Fix the number of CQEs attribute returned in create_…
…ex CQ. [ Upstream commit 2796a42 ] When an application creates extended CQ, irdma library modifies the attribute attr_ex->cqe by doubling it to accommodate for immediate data. This number should not be reported back to the application. Fix this by restoring the attr_ex->cqe to the original value. Unit tests CqExOpTest.BasicPollSend/RecvCq are seeing this issue, i.e. CQ create failed since the application created the second CQE with 2 * max CQ size. Fixes: 14a0fc8 ("rdma-core/irdma: Implement device supported verb APIs") Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com> Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Nicolas Morey <nmorey@suse.com>
- Loading branch information