Re: [for-next 1/1] RDMA/ionic: Use a linear QID space when udma_shift is zero
From: Leon Romanovsky
Date: Tue Nov 03 2026 - 09:51:32 EST
On Fri, 30 Oct 2026 13:54:02 +0530, Abhijit Gangurde wrote:
> Firmware reports udma_shift as the log2 of the number of queues in
> a queue group. A value of zero means the queues are not striped
> across two UDMAs, so the QID space is linear and the device has one UDMA.
>
> The interleaved bitid/qid transform treats bit 0 as the UDMA selector
> when the group shift is zero. QID 1 then becomes bitid
> 1 << half_qid_shift, and freeing that QID releases the wrong allocator
> index. Skip the transform and select one UDMA so QP and CQ allocation
> uses the QID directly.
>
> [...]
Applied, thanks!
[1/1] RDMA/ionic: Use a linear QID space when udma_shift is zero
https://git.kernel.org/rdma/rdma/c/687a1e161457b2
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>