Re: [PATCH v2 rdma-next 4/5] RDMA/bnxt_re: Use core helpers to get aligned DMA address

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

 



On Fri, Apr 19, 2019 at 7:14 PM Shiraz Saleem <shiraz.saleem@xxxxxxxxx> wrote:
>
> Call the core helpers to retrieve the HW aligned address to use
> for the MR, within a supported bnxt_re page size.
>
> Remove checking the umem->hugtetlb flag as it is no
> longer required. The new DMA block iterator will return
> the 2M aligned address if the MR is backed by 2M huge pages.
>
> Cc: Selvin Xavier <selvin.xavier@xxxxxxxxxxxx>
> Cc: Devesh Sharma <devesh.sharma@xxxxxxxxxxxx>
> Signed-off-by: Shiraz Saleem <shiraz.saleem@xxxxxxxxx>
> ---
>  drivers/infiniband/hw/bnxt_re/ib_verbs.c | 27 ++++++++++-----------------
>  1 file changed, 10 insertions(+), 17 deletions(-)
>

Acked-by: Selvin Xavier <selvin.xavier@xxxxxxxxxxxx>

Thanks,
Selvin Xavier



[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