diff options
author | Chandramohan Akula <[email protected]> | 2023-10-23 07:03:22 -0700 |
---|---|---|
committer | Leon Romanovsky <[email protected]> | 2023-11-13 10:26:41 +0200 |
commit | 3a4304d82695015d0703ee0c3331458d22e3ba7c (patch) | |
tree | d3e6c6f64c954bd1e5c4b9b3b029902b0762e64f /tools/perf/scripts/python | |
parent | c170d4ff21a8a525d782e3d1bc58d9538d95afe6 (diff) |
RDMA/bnxt_re: Refactor the queue index update
The queue index wrap around logic is based on power of 2 size depth.
All queues are created with power of 2 depth. This increases the
memory usage by the driver. This change is required for the next
patches that avoids the power of 2 depth requirement for each of
the queues.
Update the function that increments producer index and consumer
index during wrap around. Also, changes the index handling across
multiple functions.
Signed-off-by: Chandramohan Akula <[email protected]>
Signed-off-by: Selvin Xavier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions