summaryrefslogtreecommitdiff
path: root/scripts/include
diff options
context:
space:
mode:
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>2024-11-14 01:49:06 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-07 18:25:25 +0100
commit51612bb4d5805634565a534ca2cc1f50041530ac (patch)
treec46521977bb55b84c8b7a9c28d74a4b1bc87f127 /scripts/include
parent2fab96b538cad684f825a7d4be56146c7eeffe38 (diff)
downloadlinux-51612bb4d5805634565a534ca2cc1f50041530ac.tar.gz
linux-51612bb4d5805634565a534ca2cc1f50041530ac.tar.bz2
linux-51612bb4d5805634565a534ca2cc1f50041530ac.zip
RDMA/bnxt_re: Refactor NQ allocation
[ Upstream commit 30b871338c3ebab4c5efb74f6b23b59f1ac4ca1f ] Move NQ related data structures from rdev to a new structure named "struct bnxt_re_nq_record" by keeping a pointer to in the rdev structure. Allocate the memory for it dynamically. This change is needed for subsequent patches in the series. Also, removed the nq_task variable from rdev structure as it is redundant and no longer used. This change would help to reduce the size of the driver private structure as well. Reviewed-by: Chandramohan Akula <chandramohan.akula@broadcom.com> Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com> Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com> Link: https://patch.msgid.link/1731577748-1804-3-git-send-email-selvin.xavier@broadcom.com Signed-off-by: Leon Romanovsky <leon@kernel.org> Stable-dep-of: f0df225d12fc ("RDMA/bnxt_re: Add sanity checks on rdev validity") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/include')
0 files changed, 0 insertions, 0 deletions