diff options
author | Kashyap Desai <kashyap.desai@broadcom.com> | 2024-12-04 10:54:12 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-09 15:32:09 +0300 |
commit | 3de1b50f055dc2ca7072a526cdda21f691c22dd9 (patch) | |
tree | a972c132a1324188ef854a951b84ea5654f925fb /tools/perf/scripts/python/stackcollapse.py | |
parent | f61e663d78ff9def3eabad63ae2d64a80513cb82 (diff) | |
download | linux-3de1b50f055dc2ca7072a526cdda21f691c22dd9.tar.xz |
RDMA/bnxt_re: Fix max SGEs for the Work Request
commit 79d330fbdffd8cee06d8bdf38d82cb62d8363a27 upstream.
Gen P7 supports up to 13 SGEs for now. WQE software structure
can hold only 6 now. Since the max send sge is reported as
13, the stack can give requests up to 13 SGEs. This is causing
traffic failures and system crashes.
Use the define for max SGE supported for variable size. This
will work for both static and variable WQEs.
Fixes: 227f51743b61 ("RDMA/bnxt_re: Fix the max WQE size for static WQE support")
Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://patch.msgid.link/20241204075416.478431-2-kalesh-anakkur.purayil@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions