diff options
author | Selvin Xavier <selvin.xavier@broadcom.com> | 2020-11-30 05:13:06 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-09 13:25:02 +0100 |
commit | 070d214c01836ea0b41663f327bd1e53ea64cddc (patch) | |
tree | 9ee6bacbd08b1e025adbe9ed4023611538e9fdc8 /scripts/documentation-file-ref-check | |
parent | cff07807f6935b0ae1a0bb6c123153dc9997ae96 (diff) |
RDMA/bnxt_re: Fix max_qp_wrs reported
[ Upstream commit c63e1c4dfc33d1bdae395ee8fbcbfad4830b12c0 ]
While creating qps, the driver adds one extra entry to the sq size passed
by the ULPs in order to avoid queue full condition. When ULPs creates QPs
with max_qp_wr reported, driver creates QP with 1 more than the max_wqes
supported by HW. Create QP fails in this case. To avoid this error, reduce
1 entry in max_qp_wqes and report it to the stack.
Link: https://lore.kernel.org/r/1606741986-16477-1-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Devesh Sharma <devesh.sharma@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/documentation-file-ref-check')
0 files changed, 0 insertions, 0 deletions