public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Jason Gunthorpe <jgg@nvidia.com>
Cc: Yishai Hadas <yishaih@nvidia.com>,
	Edward Srouji <edwards@nvidia.com>,
	linux-rdma@vger.kernel.org
Subject: Re: [PATCH rdma-next v1 4/8] IB/core: Add UVERBS_METHOD_REG_MR on the MR object
Date: Tue, 15 Jul 2025 10:14:04 +0300	[thread overview]
Message-ID: <20250715071404.GD5882@unreal> (raw)
In-Reply-To: <20250714163301.GE2067380@nvidia.com>

On Mon, Jul 14, 2025 at 01:33:01PM -0300, Jason Gunthorpe wrote:
> On Sun, Jul 13, 2025 at 09:37:25AM +0300, Leon Romanovsky wrote:
> > From: Yishai Hadas <yishaih@nvidia.com>
> > +DECLARE_UVERBS_NAMED_METHOD(
> > +	UVERBS_METHOD_REG_MR,
> > +	UVERBS_ATTR_IDR(UVERBS_ATTR_REG_MR_HANDLE,
> > +			UVERBS_OBJECT_MR,
> > +			UVERBS_ACCESS_NEW,
> > +			UA_MANDATORY),
> > +	UVERBS_ATTR_IDR(UVERBS_ATTR_REG_MR_PD_HANDLE,
> > +			UVERBS_OBJECT_PD,
> > +			UVERBS_ACCESS_READ,
> > +			UA_MANDATORY),
> > +	UVERBS_ATTR_PTR_IN(UVERBS_ATTR_REG_MR_IOVA,
> > +			   UVERBS_ATTR_TYPE(u64),
> > +			   UA_MANDATORY),
> > +	UVERBS_ATTR_PTR_IN(UVERBS_ATTR_REG_MR_LENGTH,
> > +			   UVERBS_ATTR_TYPE(u64),
> > +			   UA_MANDATORY),
> > +	UVERBS_ATTR_FLAGS_IN(UVERBS_ATTR_REG_MR_ACCESS_FLAGS,
> > +			     enum ib_access_flags,
> > +			     UA_MANDATORY),
> 
> Another patch is needed to fix this, we should be scrubbing these
> issues when doing new api conversions:
> 
> include/rdma/ib_verbs.h:enum ib_access_flags {
> 
> Needs to be in the uapi headers.

Let's do it as followup patch in next cycle.

Thanks

> 
> Jason

  reply	other threads:[~2025-07-15  7:14 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-13  6:37 [PATCH rdma-next v1 0/8] RDMA support for DMA handle Leon Romanovsky
2025-07-13  6:37 ` [PATCH mlx5-next v1 2/8] net/mlx5: Expose IFC bits for TPH Leon Romanovsky
2025-07-13  6:37 ` [PATCH mlx5-next v1 3/8] net/mlx5: Add support for device steering tag Leon Romanovsky
2025-07-13  6:37 ` [PATCH rdma-next v1 4/8] IB/core: Add UVERBS_METHOD_REG_MR on the MR object Leon Romanovsky
2025-07-14 16:33   ` Jason Gunthorpe
2025-07-15  7:14     ` Leon Romanovsky [this message]
2025-07-13  6:37 ` [PATCH rdma-next v1 5/8] RDMA/core: Introduce a DMAH object and its alloc/free APIs Leon Romanovsky
2025-07-14 16:39   ` Jason Gunthorpe
2025-07-15  8:21     ` Yishai Hadas
2025-07-15 12:53       ` Jason Gunthorpe
2025-07-15 15:45         ` Yishai Hadas
2025-07-14 16:39   ` Jason Gunthorpe
2025-07-15  8:29     ` Yishai Hadas
2025-07-16  3:58   ` Wathsala Wathawana Vithanage
2025-07-17 11:08     ` Leon Romanovsky
2025-07-13  6:37 ` [PATCH rdma-next v1 6/8] RDMA/mlx5: Add DMAH object support Leon Romanovsky
2025-07-13  6:37 ` [PATCH rdma-next v1 7/8] IB: Extend UVERBS_METHOD_REG_MR to get DMAH Leon Romanovsky
2025-07-13 22:04   ` Zhu Yanjun
2025-07-14  7:17     ` Leon Romanovsky
2025-07-14  1:03   ` Junxian Huang
2025-07-13  6:37 ` [PATCH rdma-next v1 8/8] RDMA/mlx5: Add DMAH support for reg_user_mr/reg_user_dmabuf_mr 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=20250715071404.GD5882@unreal \
    --to=leon@kernel.org \
    --cc=edwards@nvidia.com \
    --cc=jgg@nvidia.com \
    --cc=linux-rdma@vger.kernel.org \
    --cc=yishaih@nvidia.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