Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bnxt_re: set errno to 'EINVAL' in cq creation bad flow
Currently when the user creates a CQ with CQEs greater than the device max_depth bnxt_re lib will catch this error flow and return immediately without creating a CQ, some test cases expect to have EINVAL in errno which is not set by bnxt. This patch updates the bnxt_re lib to set the errno to EINVAL in case of bad cq creation flow. Signed-off-by: Mohammad Heib <mheib@redhat.com>
- Loading branch information