Re: [PATCH for-next] RDMA/irdma: Add support to re-register a memory region

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux