Re: [dpdk-dev] [PATCH 1/2] mempool/octeontx2: fix shift calculation

2021-06-30 Thread Jerin Jacob
On Tue, Jun 15, 2021 at 12:54 AM wrote: > > From: Pavan Nikhilesh > > 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: 7bcc47cbe2f

[dpdk-dev] [PATCH 1/2] mempool/octeontx2: fix shift calculation

2021-06-14 Thread pbhagavatula
From: Pavan Nikhilesh 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: 7bcc47cbe2fa ("mempool/octeontx2: add mempool alloc op") Signed-o