diff options
| author | Shiraz, Saleem <[email protected]> | 2019-02-12 10:52:24 -0600 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2019-02-13 09:00:43 -0700 |
| commit | 36d577089d207c4832c4f24902167dcd47635ebe (patch) | |
| tree | 4cebc8583920876b731c1a4f31c87c7f254e0286 /tools/perf/scripts | |
| parent | e8ac9389f0d7c74fd988a5ce77765588f74dacd2 (diff) | |
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 <[email protected]>
Signed-off-by: Shiraz, Saleem <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions