All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: Michael Margolin <mrgolin@amazon.com>
Cc: leon@kernel.org, linux-rdma@vger.kernel.org, sleybo@amazon.com,
	matua@amazon.com, gal.pressman@linux.dev
Subject: Re: [PATCH for-next v2 0/3] RDMA: Support CQs with user memory
Date: Thu, 10 Jul 2025 17:04:25 -0300	[thread overview]
Message-ID: <20250710200425.GU1599700@nvidia.com> (raw)
In-Reply-To: <20250708202308.24783-1-mrgolin@amazon.com>

On Tue, Jul 08, 2025 at 08:23:05PM +0000, Michael Margolin wrote:
> This series is adding a common way for creating CQs on top of
> preallocated memory supplied by userspace. The memory buffer can be
> provided as a virtual address or by dmabuf, in both cases a umem object
> is created for driver's use.
> EFA is the first to support this new interface, new drivers or existing
> drivers that want/need to get the memory from userspace are expected to
> use this flow.
> 
> It's follow-up of the discussion in [1].
> 
> Changelog
> =========
> Changes from v1 [2]:
> - Added a new "create_cq_umem" driver op instead of a flag set by
>   supporting drivers
> - Added ib_umem_is_contiguous() and ib_umem_start_dma_addr() helpers in
>   a new patch
> - Dropped references to umem scatter-gather list in EFA implementation
>   and using the new helpers that hide the details instead
> 
> References
> ==========
> [1] https://lore.kernel.org/all/c7d312ac-19a0-45e3-9f40-3e6f81500f83@amazon.com/
> [2] https://lore.kernel.org/all/20250701231545.14282-1-mrgolin@amazon.com/
> 
> Thanks
> 
> Michael Margolin (3):
>   RDMA/uverbs: Add a common way to create CQ with umem
>   RDMA/core: Add umem "is_contiguous" and "start_dma_addr" helpers
>   RDMA/efa: Add CQ with external memory support

It looks Ok to me

Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>

Jason

  parent reply	other threads:[~2025-07-10 20:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-08 20:23 [PATCH for-next v2 0/3] RDMA: Support CQs with user memory Michael Margolin
2025-07-08 20:23 ` [PATCH for-next v2 1/3] RDMA/uverbs: Add a common way to create CQ with umem Michael Margolin
2025-07-08 20:23 ` [PATCH for-next v2 2/3] RDMA/core: Add umem "is_contiguous" and "start_dma_addr" helpers Michael Margolin
2025-07-08 20:23 ` [PATCH for-next v2 3/3] RDMA/efa: Add CQ with external memory support Michael Margolin
2025-07-10 20:04 ` Jason Gunthorpe [this message]
2025-07-13  8:01 ` [PATCH for-next v2 0/3] RDMA: Support CQs with user memory Leon Romanovsky

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=20250710200425.GU1599700@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=gal.pressman@linux.dev \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=matua@amazon.com \
    --cc=mrgolin@amazon.com \
    --cc=sleybo@amazon.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.