linux/drivers/infiniband/hw
Shiraz Saleem eb52c0333f RDMA/i40iw: Use core helpers to get aligned DMA address within a supported page size
Call the core helpers to retrieve the HW aligned address to use for the
MR, within a supported i40iw page size.

Remove code in i40iw to determine when MR is backed by 2M huge pages which
involves checking the umem->hugetlb flag and VMA inspection.  The new DMA
iterator will return the 2M aligned address if the MR is backed by 2M
pages.

Fixes: f26c7c8339 ("i40iw: Add 2MB page support")
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-05-06 13:08:11 -03:00
..
bnxt_re RDMA: Introduce and use GID attr helper to read RoCE L2 fields 2019-05-03 11:10:02 -03:00
cxgb3 RDMA: Get rid of iw_cm_verbs 2019-05-03 10:56:56 -03:00
cxgb4 RDMA: Get rid of iw_cm_verbs 2019-05-03 10:56:56 -03:00
hfi1 IB/hfi1: Fix WQ_MEM_RECLAIM warning 2019-05-06 12:57:45 -03:00
hns RDMA: Introduce and use GID attr helper to read RoCE L2 fields 2019-05-03 11:10:02 -03:00
i40iw RDMA/i40iw: Use core helpers to get aligned DMA address within a supported page size 2019-05-06 13:08:11 -03:00
mlx4 RDMA: Introduce and use GID attr helper to read RoCE L2 fields 2019-05-03 11:10:02 -03:00
mlx5 RDMA/mlx5: Remove MAYEXEC flag 2019-05-06 12:56:55 -03:00
mthca RDMA: Handle SRQ allocations by IB/core 2019-04-08 13:05:25 -03:00
nes RDMA: Get rid of iw_cm_verbs 2019-05-03 10:56:56 -03:00
ocrdma RDMA: Introduce and use GID attr helper to read RoCE L2 fields 2019-05-03 11:10:02 -03:00
qedr RDMA: Introduce and use GID attr helper to read RoCE L2 fields 2019-05-03 11:10:02 -03:00
qib IB/{rdmavt, qib, hfi1}: Use new routine to release reference counts 2019-04-24 11:31:49 -03:00
usnic IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
vmw_pvrdma Merge branch 'rdma_mmap' into rdma.git for-next 2019-04-24 16:20:34 -03:00
Makefile