diff options
author | Chandramohan Akula <chandramohan.akula@broadcom.com> | 2023-10-23 17:03:23 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2023-11-13 11:27:14 +0300 |
commit | 48f996d4adf15a0a0af8b8184d3ec6042a684ea4 (patch) | |
tree | 35496fb583430e041dda626021ad940e7b2adbe2 /.clang-format | |
parent | 3a4304d82695015d0703ee0c3331458d22e3ba7c (diff) | |
download | linux-48f996d4adf15a0a0af8b8184d3ec6042a684ea4.tar.xz |
RDMA/bnxt_re: Remove roundup_pow_of_two depth for all hardware queue resources
Rounding up the queue depth to power of two is not a hardware requirement.
In order to optimize the per connection memory usage, removing drivers
implementation which round up to the queue depths to the power of 2.
Implements a mask to maintain backward compatibility with older
library.
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-3-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions