diff options
author | Kalesh AP <kalesh-anakkur.purayil@broadcom.com> | 2024-11-14 12:49:06 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-11-14 17:52:37 +0300 |
commit | 30b871338c3ebab4c5efb74f6b23b59f1ac4ca1f (patch) | |
tree | e5bfc2f4fc4216823d4a5a0ea64212507e0ffe34 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 65ecee132774e0f15cd76a766eb39ec21118bffc (diff) | |
download | linux-30b871338c3ebab4c5efb74f6b23b59f1ac4ca1f.tar.xz |
RDMA/bnxt_re: Refactor NQ allocation
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>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions