commit | d2183c6f1958e6b6dfdde279f4cee04280710e34 | [log] [tgz] |
---|---|---|
author | Jason Gunthorpe <jgg@mellanox.com> | Mon May 20 09:05:25 2019 +0300 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Tue May 21 15:23:24 2019 -0300 |
tree | c7e1d369b4747816879c5cc694049c791555250f | |
parent | 69054666df0a9b4e8331319f98b6b9a88bc3fcc4 [diff] |
RDMA/umem: Move page_shift from ib_umem to ib_odp_umem This value has always been set to PAGE_SHIFT in the core code, the only thing that does differently was the ODP path. Move the value into the ODP struct and still use it for ODP, but change all the non-ODP things to just use PAGE_SHIFT/PAGE_SIZE/PAGE_MASK directly. Reviewed-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>