diff options
author | Shiraz, Saleem <shiraz.saleem@intel.com> | 2019-02-11 09:25:07 -0600 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-02-11 15:24:55 -0700 |
commit | 8317d6cdc1c7b8add6f2e5b915b5b5f80fdbfa5b (patch) | |
tree | ca02e27a5adebbdc9459bd549fa70f9e9d5299bf /net/dsa | |
parent | be8c456abfbd3ae753521e438dc2319fb1dbb8a3 (diff) |
RDMA/rxe: Use for_each_sg_page iterator on umem SGL
The driver walks the umem SGL assuming a 1:1 mapping between SGE and
system page. Update to use the for_each_sg_page iterator to get individual
pages contained in the SGEs. This is a pre-requisite before adding page
combining into SGEs while building the scatter table in IB core.
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>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions