All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: Shiraz Saleem <shiraz.saleem@intel.com>
Cc: leon@kernel.org, linux-rdma@vger.kernel.org,
	Sindhu Devale <sindhu.devale@intel.com>
Subject: Re: [PATCH for-next] RDMA/irdma: Add support to re-register a memory region
Date: Mon, 2 Oct 2023 21:31:05 -0300	[thread overview]
Message-ID: <20231003003105.GB682044@nvidia.com> (raw)
In-Reply-To: <20231002234917.202-1-shiraz.saleem@intel.com>

On Mon, Oct 02, 2023 at 06:49:17PM -0500, Shiraz Saleem wrote:
> +/*
> + * irdma_rereg_mr_trans - Re-register a user MR for a change translation.
> + * @iwmr: ptr of iwmr
> + * @start: virtual start address
> + * @len: length of mr
> + * @virt: virtual address
> + *
> + * Re-register a user memory region when a change translation is requested.
> + * Re-register a new region while reusing the stag from the original registration.
> + */
> +static struct ib_mr *irdma_rereg_mr_trans(struct irdma_mr *iwmr, u64 start,
> +					  u64 len, u64 virt)
> +{

This should just return an int

Jason

      reply	other threads:[~2023-10-03  0:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-02 23:49 [PATCH for-next] RDMA/irdma: Add support to re-register a memory region Shiraz Saleem
2023-10-03  0:31 ` Jason Gunthorpe [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=20231003003105.GB682044@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=shiraz.saleem@intel.com \
    --cc=sindhu.devale@intel.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.