diff options
author | Selvin Xavier <selvin.xavier@broadcom.com> | 2024-12-17 13:26:45 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-12-19 14:57:19 +0300 |
commit | 40be32303ec829ea12f9883e499bfd3fe9e52baf (patch) | |
tree | 4faf892090fedf5eaafd16f99fd708ca27b89243 /scripts/gdb/linux/utils.py | |
parent | 16b87037b48889d21854c8e97aec8a1baf2642b3 (diff) | |
download | linux-40be32303ec829ea12f9883e499bfd3fe9e52baf.tar.xz |
RDMA/bnxt_re: Fix max_qp_wrs reported
While creating qps, 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.
Fixes: 1ac5a4047975 ("RDMA/bnxt_re: Add bnxt_re RoCE driver")
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://patch.msgid.link/20241217102649.1377704-2-kalesh-anakkur.purayil@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions