Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mempool/octeontx2: fix shift calculation
[ upstream commit 43d8940 ] Shift is used to generate an 8-bit saturate value from the current aura used count. The shift value should be derived from the log2 of block count if it is greater than 256 else the shift should be 0. Fixes: 7bcc47c ("mempool/octeontx2: add mempool alloc op") Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
- Loading branch information