diff options
author | 2025-07-04 10:08:56 +0530 | |
---|---|---|
committer | 2025-07-07 01:37:35 -0400 | |
commit | 0aed817380d620987b2d5c573fdd2f01c30976a4 (patch) | |
tree | faaa395df3ed3fcb5367b8767e8e1d14eddbfd13 /tools/perf/scripts/python | |
parent | RDMA/bnxt_re: Fix size of uverbs_copy_to() in BNXT_RE_METHOD_GET_TOGGLE_MEM (diff) | |
download | wireguard-linux-0aed817380d620987b2d5c573fdd2f01c30976a4.tar.xz wireguard-linux-0aed817380d620987b2d5c573fdd2f01c30976a4.zip |
RDMA/bnxt_re: Support 2G message size
bnxt_qplib_put_sges is calculating the length in
a signed int. So handling the 2G message size
is not working since it is considered as negative.
Use a unsigned number to calculate the total message
length. As per the spec, IB message size shall be
between zero and 2^31 bytes (inclusive). So adding
a check for 2G message size.
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Shravya KN <shravya.k-n@broadcom.com>
Link: https://patch.msgid.link/20250704043857.19158-3-kalesh-anakkur.purayil@broadcom.com
Reviewed-by: Saravanan Vajravel <saravanan.vajravel@broadcom.com>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions