diff options
author | Chandramohan Akula <chandramohan.akula@broadcom.com> | 2023-10-23 07:03:22 -0700 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2023-11-13 10:26:41 +0200 |
commit | 3a4304d82695015d0703ee0c3331458d22e3ba7c (patch) | |
tree | d3e6c6f64c954bd1e5c4b9b3b029902b0762e64f /include/uapi/rdma | |
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 <chandramohan.akula@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://lore.kernel.org/r/1698069803-1787-2-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/uapi/rdma')
0 files changed, 0 insertions, 0 deletions