From: Jason Gunthorpe <jgg@nvidia.com>
To: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Cc: leon@kernel.org, linux-rdma@vger.kernel.org,
andrew.gospodarek@broadcom.com, selvin.xvier@broadcom.com,
kalesh-anakkur.purayil@broadcom.com,
Selvin Xavier <selvin.xavier@broadcom.com>
Subject: Re: [PATCH rdma-next] RDMA/bnxt_re: Update create_qp to use QP buffer umem attrs
Date: Fri, 5 Jun 2026 13:08:53 -0300 [thread overview]
Message-ID: <20260605160853.GA2728758@nvidia.com> (raw)
In-Reply-To: <20260602145618.21643-1-sriharsha.basavapatna@broadcom.com>
On Tue, Jun 02, 2026 at 08:26:18PM +0530, Sriharsha Basavapatna wrote:
> Use ib_umem_get_attr_or_va() helper to pin QP buffer umems.
> Pass attribute ids SQ_BUF_UMEM and RQ_BUF_UMEM for respective
> buffers.
>
> Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
> Reviewed-by: Selvin Xavier <selvin.xavier@broadcom.com>
> ---
> drivers/infiniband/hw/bnxt_re/ib_verbs.c | 22 +++++++++++++---------
> 1 file changed, 13 insertions(+), 9 deletions(-)
Applied, but please read the sashiko report and send a patch fixing
all the maths overflows in this driver for the uapi. Any maths from a
udata should be done with checked arithmetic.
Jason
next prev parent reply other threads:[~2026-06-05 16:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-02 14:56 [PATCH rdma-next] RDMA/bnxt_re: Update create_qp to use QP buffer umem attrs Sriharsha Basavapatna
2026-06-05 16:08 ` Jason Gunthorpe [this message]
2026-06-08 10:20 ` Sriharsha Basavapatna
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=20260605160853.GA2728758@nvidia.com \
--to=jgg@nvidia.com \
--cc=andrew.gospodarek@broadcom.com \
--cc=kalesh-anakkur.purayil@broadcom.com \
--cc=leon@kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=selvin.xavier@broadcom.com \
--cc=selvin.xvier@broadcom.com \
--cc=sriharsha.basavapatna@broadcom.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.