From: Jiri Pirko <jiri@resnulli.us>
To: Abhijit Gangurde <abhijit.gangurde@amd.com>
Cc: jgg@ziepe.ca, leon@kernel.org, allen.hubbe@amd.com,
nikhil.agarwal@amd.com, linux-rdma@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [for-next v4 0/4] RDMA/ionic: Accept CQ, SQ, and RQ rings as umem attributes
Date: Fri, 4 Dec 2026 09:53:19 +0100 [thread overview]
Message-ID: <axJ_YyrZxXJlSrXt@FV6GYCPJ69> (raw)
In-Reply-To: <20261203110805.2577721-1-abhijit.gangurde@amd.com>
Thu, Dec 03, 2026 at 12:08:01PM +0100, abhijit.gangurde@amd.com wrote:
>Let userspace hand ionic queue rings to create_cq and create_qp as
>struct ib_uverbs_buffer_desc, instead of only as a raw address in the
>driver request. A ring may be a virtual address or a page-aligned
>slice of a dma-buf, so several rings can share one dma-buf.
>
>The get_context bit IONIC_CTX_CMASK_CQ_QP_BUF_UMEM tells userspace it
>may send the descriptors. ionic_cq_req and ionic_qp_req are unchanged,
>so a provider that does not send them still uses the existing write
>path and ib_umem_get_va.
>
>Userspace: https://github.com/linux-rdma/rdma-core/pull/1862
>
>v4:
> - New patch 2 moves the alignment check for all user rings
> - Discarded lookup inside the buffer descriptor
>v3:
> - Move IONIC_CTX_CMASK_CQ_QP_BUF_UMEM from bit 1 to bit 3.
> - Rebased on for-next.
> - https://lore.kernel.org/linux-rdma/20261127040832.16908-1-abhijit.gangurde@amd.com/
>v2:
> - Fix sashiko reported comments
> - New patch 1: bound depth/stride shift counts
> - Reject non-zero qdesc addr for dma-buf
> - QP: pin validated descriptor copy
> - https://lore.kernel.org/linux-rdma/20261126044811.3458258-1-abhijit.gangurde@amd.com/
>v1:
> - https://lore.kernel.org/linux-rdma/20261118152313.113714-1-abhijit.gangurde@amd.com/
>
>Abhijit Gangurde (4):
> RDMA/ionic: Bound user queue depth and stride before shifting
> RDMA/ionic: Check user ring alignment on the pinned umem
> RDMA/ionic: Accept CQ ring buffers as ioctl umem attributes
> RDMA/ionic: Accept QP SQ and RQ rings as ioctl umem attributes
>
> MAINTAINERS | 1 +
> drivers/infiniband/hw/ionic/ionic_admin.c | 2 +-
> .../infiniband/hw/ionic/ionic_controlpath.c | 148 ++++++++++++++----
> drivers/infiniband/hw/ionic/ionic_ibdev.c | 17 ++
> drivers/infiniband/hw/ionic/ionic_ibdev.h | 2 +
> include/uapi/rdma/ionic-abi.h | 3 +
> include/uapi/rdma/ionic_user_ioctl_cmds.h | 15 ++
> 7 files changed, 153 insertions(+), 35 deletions(-)
> create mode 100644 include/uapi/rdma/ionic_user_ioctl_cmds.h
Looks fine to me.
set-
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
prev parent reply other threads:[~2026-12-04 8:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 11:08 Abhijit Gangurde
2026-12-03 11:08 ` [for-next v4 1/4] RDMA/ionic: Bound user queue depth and stride before shifting Abhijit Gangurde
2026-12-03 11:08 ` [for-next v4 2/4] RDMA/ionic: Check user ring alignment on the pinned umem Abhijit Gangurde
2026-12-03 11:08 ` [for-next v4 3/4] RDMA/ionic: Accept CQ ring buffers as ioctl umem attributes Abhijit Gangurde
2026-12-03 11:08 ` [for-next v4 4/4] RDMA/ionic: Accept QP SQ and RQ rings " Abhijit Gangurde
2026-12-04 8:53 ` Jiri Pirko [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=axJ_YyrZxXJlSrXt@FV6GYCPJ69 \
--to=jiri@resnulli.us \
--cc=abhijit.gangurde@amd.com \
--cc=allen.hubbe@amd.com \
--cc=jgg@ziepe.ca \
--cc=leon@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=nikhil.agarwal@amd.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
all inboxes | Powered by JetHome®