diff options
| author | 2019-05-06 08:53:32 -0500 | |
|---|---|---|
| committer | 2019-05-06 13:08:11 -0300 | |
| commit | 4a35339958f16d42a4ca06a8da9d4b5ab39ee8ea (patch) | |
| tree | 5ac8683e8ff5329f7c5868cf44c0f6cbfa47f24e /include/linux | |
| parent | IB/hfi1: Fix WQ_MEM_RECLAIM warning (diff) | |
RDMA/umem: Add API to find best driver supported page size in an MR
This helper iterates through the SG list to find the best page size to use
from a bitmap of HW supported page sizes. Drivers that support multiple
page sizes, but not mixed sizes in an MR can use this API.
Suggested-by: Jason Gunthorpe <jgg@ziepe.ca>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
