diff options
author | Selvin Xavier <[email protected]> | 2020-11-30 05:13:06 -0800 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2020-12-07 15:43:42 -0400 |
commit | c63e1c4dfc33d1bdae395ee8fbcbfad4830b12c0 (patch) | |
tree | b1880e7afc23d09b0bd1b78b47f54b0bf62d1394 /net/lapb/lapb_subr.c | |
parent | c277f98b3e3e2cc3e28836bf4125a95dc0e1dd54 (diff) |
RDMA/bnxt_re: Fix max_qp_wrs reported
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/[email protected]
Signed-off-by: Devesh Sharma <[email protected]>
Signed-off-by: Selvin Xavier <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions