diff options
| author | Kalesh AP <[email protected]> | 2024-11-14 09:49:06 +0000 |
|---|---|---|
| committer | Leon Romanovsky <[email protected]> | 2024-11-14 14:52:37 +0000 |
| commit | 30b871338c3ebab4c5efb74f6b23b59f1ac4ca1f (patch) | |
| tree | e5bfc2f4fc4216823d4a5a0ea64212507e0ffe34 /rust/helpers/task.c | |
| parent | RDMA/bnxt_re: Fail probe early when not enough MSI-x vectors are reserved (diff) | |
| download | kernel-30b871338c3ebab4c5efb74f6b23b59f1ac4ca1f.tar.gz kernel-30b871338c3ebab4c5efb74f6b23b59f1ac4ca1f.zip | |
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 <[email protected]>
Signed-off-by: Kalesh AP <[email protected]>
Signed-off-by: Selvin Xavier <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions
