linux_dsm_epyc7002/drivers/infiniband/sw
Shiraz, Saleem 36d577089d RDMA/rdmavt: Adapt to handle non-uniform sizes on umem SGEs
rdmavt expects a uniform size on all umem SGEs which is currently at
PAGE_SIZE.

Adapt to a umem API change which could return non-uniform sized SGEs due
to combining contiguous PAGE_SIZE regions into an SGE. Use
for_each_sg_page variant to unfold the larger SGEs into a list of
PAGE_SIZE elements.

Additionally, purge umem->page_shift usage in the driver as its only
relevant for ODP MRs. Use system page size and shift instead.

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-02-13 09:00:43 -07:00
..
rdmavt RDMA/rdmavt: Adapt to handle non-uniform sizes on umem SGEs 2019-02-13 09:00:43 -07:00
rxe RDMA/rxe: Use for_each_sg_page iterator on umem SGL 2019-02-11 15:24:55 -07:00
Makefile Soft RoCE driver 2016-08-04 11:13:12 -04:00