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