From: Jason Gunthorpe <jgg@nvidia.com>
To: Leon Romanovsky <leon@kernel.org>
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: Mon, 14 Jul 2025 13:33:01 -0300 [thread overview]
Message-ID: <20250714163301.GE2067380@nvidia.com> (raw)
In-Reply-To: <10def41b658ca56f28f77472e3460a802ee09053.1752388126.git.leon@kernel.org>
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.
Jason
next prev parent reply other threads:[~2025-07-14 16:33 UTC|newest]
Thread overview: 22+ 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 rdma-next v1 1/8] PCI/TPH: Expose pcie_tph_get_st_table_size() 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 [this message]
2025-07-15 7:14 ` Leon Romanovsky
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=20250714163301.GE2067380@nvidia.com \
--to=jgg@nvidia.com \
--cc=edwards@nvidia.com \
--cc=leon@kernel.org \
--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 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.