summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/umem_odp.c
diff options
context:
space:
mode:
authorShiraz Saleem <shiraz.saleem@intel.com>2019-05-06 08:53:35 -0500
committerJason Gunthorpe <jgg@mellanox.com>2019-05-06 13:08:11 -0300
commitd85582517e9103604991ac5265855b48ccfd54d8 (patch)
treea22f4241322e5b1f28ae245ac61f2ccbe8f24c71 /drivers/infiniband/core/umem_odp.c
parenteb52c0333f06b88bca5bac0dc0aeca729de6eb11 (diff)
downloadblackbird-op-linux-d85582517e9103604991ac5265855b48ccfd54d8.tar.gz
blackbird-op-linux-d85582517e9103604991ac5265855b48ccfd54d8.zip
RDMA/bnxt_re: Use core helpers to get aligned DMA address
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. Acked-by: Selvin Xavier <selvin.xavier@broadcom.com> Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/umem_odp.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud