numam-dpdk/drivers/mempool/octeontx2
Pavan Nikhilesh 43d8940495 mempool/octeontx2: fix shift calculation
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: 7bcc47cbe2 ("mempool/octeontx2: add mempool alloc op")
Cc: stable@dpdk.org

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
2021-06-30 18:42:54 +02:00
..
meson.build drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
otx2_mempool_debug.c common/octeontx2: fix mbox memory access 2019-08-05 23:18:27 +02:00
otx2_mempool_irq.c drivers/octeontx2: fix recursive interrupts 2019-07-29 22:18:01 +02:00
otx2_mempool_ops.c mempool/octeontx2: fix shift calculation 2021-06-30 18:42:54 +02:00
otx2_mempool.c mempool/octeontx2: add devargs to lock context in cache 2020-05-19 18:28:58 +02:00
otx2_mempool.h mempool/octeontx2: mark internal symbols 2020-05-18 17:29:24 +02:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00