diff options
| author | Dragos Tatulea <dtatulea@nvidia.com> | 2025-08-27 17:40:00 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-08-28 16:05:32 -0700 |
| commit | 1b416902cd255f51be37c1b7f7307b9f7027e04f (patch) | |
| tree | f971fb76ef1feca63666de3173e10b2c67dc13d9 /rust/helpers/build_bug.c | |
| parent | 512c88fb0e884cbb4c495b8f3351a9185d1d50b1 (diff) | |
net: devmem: pre-read requested rx queues during bind
Instead of reading the requested rx queues after binding the buffer,
read the rx queues in advance in a bitmap and iterate over them when
needed.
This is a preparation for fetching the DMA device for each queue.
This patch has no functional changes besides adding an extra
rq index bounds check.
Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Reviewed-by: Mina Almasry <almasrymina@google.com>
Link: https://patch.msgid.link/20250827144017.1529208-8-dtatulea@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions
