Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bnxt_re/lib: Remove roundup_pow_of_two depth for all hardware queue r…
…esources Rounding up the queue depth to power of two is not a hardware requirement. In order to optmize the per connection memory usage, removing lib's implementation which round up to the queue depths to the power of 2. Implements a mask to maintain backward compatibility with older drivers. Signed-off-by: Chandramohan Akula <[email protected]> Signed-off-by: Selvin Xavier <[email protected]>
- Loading branch information
1 parent
729041e
commit a0bea24
Showing
4 changed files
with
30 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters