diff options
| author | Shiraz, Saleem <shiraz.saleem@intel.com> | 2019-02-12 19:52:24 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-02-13 19:00:43 +0300 |
| commit | 36d577089d207c4832c4f24902167dcd47635ebe (patch) | |
| tree | 4cebc8583920876b731c1a4f31c87c7f254e0286 /tools/perf/scripts/python/stackcollapse.py | |
| parent | e8ac9389f0d7c74fd988a5ce77765588f74dacd2 (diff) | |
| download | linux-36d577089d207c4832c4f24902167dcd47635ebe.tar.xz | |
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>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
