diff options
| author | Abhijit Gangurde <abhijit.gangurde@amd.com> | 2026-10-30 13:54:02 +0530 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-11-03 08:36:36 -0500 |
| commit | 687a1e161457b267963f8334fd143896515cec25 (patch) | |
| tree | aabcd987deb72bfa5cf3a53579534bc3ecceeb13 /tools/perf/scripts/python/bin | |
| parent | ab5389ccf8bcd312a620f974ef94c174067ac1c8 (diff) | |
RDMA/ionic: Use a linear QID space when udma_shift is zero
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.
Fixes: e8521822c733 ("RDMA/ionic: Register device ops for control path")
Reported-by: Keith Lucas <keith.lucas@oracle.com>
Link: https://lore.kernel.org/r/20261021161651.4020222-1-haakon.bugge@oracle.com
Cc: stable@vger.kernel.org # 6.18
Signed-off-by: Abhijit Gangurde <abhijit.gangurde@amd.com>
Link: https://patch.msgid.link/20261030082402.841751-1-abhijit.gangurde@amd.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
