diff options
| author | Abhishek Mohapatra <abhishek.mohapatra@broadcom.com> | 2026-10-13 07:04:26 -0700 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-10-13 11:11:10 -0400 |
| commit | 724a39b36af94787d32094da87729f24a28888b7 (patch) | |
| tree | 270aba11e6344eb72fde647969e423eab21fdc8d /tools/lib/python | |
| parent | 466612f8a8020c6b3af6377c730775a4c630f12c (diff) | |
RDMA/bnxt_re: Use kvzalloc for QP table allocation
The QP table size depends on the firmware reported max_qp, so it can
be large and a physically contiguous kzalloc may fail. Use kvzalloc_objs()
and free it with kvfree().
Fixes: 82f1f575aa13 ("RDMA/bnxt_re: Fix allocation of QP table")
Signed-off-by: Abhishek Mohapatra <abhishek.mohapatra@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://patch.msgid.link/20261013140427.256612-2-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
