Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@ziepe.ca>
To: Jacob Moroni <jmoroni@google.com>
Cc: Leon Romanovsky <leon@kernel.org>,
	tatyana.e.nikolova@intel.com, linux-rdma@vger.kernel.org
Subject: Re: [PATCH rdma-next] RDMA/irdma: Check MR contiguity before PBLE alloc
Date: Tue, 13 Oct 2026 13:29:47 -0300	[thread overview]
Message-ID: <20261013162947.GM14213@ziepe.ca> (raw)
In-Reply-To: <CAHYDg1ReKsz_RNB_k3nc+qDu2vjGz+OQfNQhthNzW7TvGMLc6Q@mail.gmail.com>

On Tue, Oct 13, 2026 at 12:08:54PM -0400, Jacob Moroni wrote:
> Okay, I will respin to skip the best_pgsz call. I should have it out soon.
> 
> Just to run this by you: The HW still requires a page size in contiguous mode
> and expects the DMA address to be aligned to that size. So, I'll use SZ_4K which
> should be safe in all cases and then ALIGN_DOWN the value of
> ib_umem_start_dma_addr().

That should be OK, it has a way to disable any unalignement right?

MR IOVA does not have to be page aligned, but the HW has to provide
security.

Jason

      reply	other threads:[~2026-10-13 16:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-10 19:48 [PATCH rdma-next] RDMA/irdma: Check MR contiguity before PBLE alloc Jacob Moroni
2026-10-10 19:57 ` sashiko-bot
2026-10-12 14:00 ` Leon Romanovsky
2026-10-12 18:50 ` Jason Gunthorpe
2026-10-13 11:22   ` Leon Romanovsky
2026-10-13 16:08     ` Jacob Moroni
2026-10-13 16:29       ` Jason Gunthorpe [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=20261013162947.GM14213@ziepe.ca \
    --to=jgg@ziepe.ca \
    --cc=jmoroni@google.com \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=tatyana.e.nikolova@intel.com \
    /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