diff options
| author | Selvin Xavier <selvin.xavier@broadcom.com> | 2024-09-04 03:04:13 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-09 13:32:05 +0100 |
| commit | 36e1b6890f228ccfc867031ecedffe50958b25e4 (patch) | |
| tree | f080f1fa5486e64470c5731e50aa3e1bdbec1543 /scripts/mod | |
| parent | c3b5a7d6a13baa7e5d6deadb929da20809b345e8 (diff) | |
RDMA/bnxt_re: Fix the max WQE size for static WQE support
[ Upstream commit 227f51743b61fe3f6fc481f0fb8086bf8c49b8c9 ]
When variable size WQE is supported, max_qp_sges reported
is more than 6. For devices that supports variable size WQE,
the Send WQE size calculation is wrong when an an older library
that doesn't support variable size WQE is used.
Set the WQE size to 128 when static WQE is supported.
Fixes: de1d364c3815 ("RDMA/bnxt_re: Add support for Variable WQE in Genp7 adapters")
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://patch.msgid.link/1725444253-13221-3-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/mod')
0 files changed, 0 insertions, 0 deletions
