diff options
| author | Shiraz, Saleem <shiraz.saleem@intel.com> | 2019-02-11 18:25:01 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-02-12 01:24:55 +0300 |
| commit | 48b586ac36fc4922331a50043058464cc1306aed (patch) | |
| tree | 5f613e0611eddf35fe5b8b3aa7d6368822b783cb /tools/perf/scripts/python/netdev-times.py | |
| parent | 3856ec55270099494afa0cabba020365a38430a2 (diff) | |
| download | linux-48b586ac36fc4922331a50043058464cc1306aed.tar.xz | |
RDMA/cxgb4: Use for_each_sg_dma_page iterator on umem SGL
Use the for_each_sg_dma_page iterator variant to walk the umem DMA-mapped
SGL and get the page DMA address. This avoids the extra loop to iterate
pages in the SGE when for_each_sg iterator is used.
Additionally, purge umem->page_shift usage in the driver as its only
relevant for ODP MRs. Use system page size and shift instead.
Signed-off-by: Shiraz, Saleem <shiraz.saleem@intel.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
