mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: jgg@ziepe.ca, Abhijit Gangurde <abhijit.gangurde@amd.com>
Cc: allen.hubbe@amd.com, nikhil.agarwal@amd.com,
	linux-rdma@vger.kernel.org,  linux-kernel@vger.kernel.org,
	Keith Lucas <keith.lucas@oracle.com>,
	 stable@vger.kernel.org
Subject: Re: [for-next 1/1] RDMA/ionic: Use a linear QID space when udma_shift is zero
Date: Tue, 03 Nov 2026 08:36:46 -0500	[thread overview]
Message-ID: <179371300602.1727061.708492342043734954.b4-ty@kernel.org> (raw)
In-Reply-To: <20261030082402.841751-1-abhijit.gangurde@amd.com>


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@kernel.org>


      reply	other threads:[~2026-11-03 13:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-30  8:24 Abhijit Gangurde
2026-11-03 13:36 ` Leon Romanovsky [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179371300602.1727061.708492342043734954.b4-ty@kernel.org \
    --to=leon@kernel.org \
    --cc=abhijit.gangurde@amd.com \
    --cc=allen.hubbe@amd.com \
    --cc=jgg@ziepe.ca \
    --cc=keith.lucas@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=nikhil.agarwal@amd.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®