diff options
author | Shiraz Saleem <shiraz.saleem@intel.com> | 2019-05-06 15:53:32 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-05-06 18:08:11 +0200 |
commit | 4a35339958f16d42a4ca06a8da9d4b5ab39ee8ea (patch) | |
tree | 5ac8683e8ff5329f7c5868cf44c0f6cbfa47f24e /tools/thermal/tmon | |
parent | IB/hfi1: Fix WQ_MEM_RECLAIM warning (diff) | |
download | linux-4a35339958f16d42a4ca06a8da9d4b5ab39ee8ea.tar.xz linux-4a35339958f16d42a4ca06a8da9d4b5ab39ee8ea.zip |
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 'tools/thermal/tmon')
0 files changed, 0 insertions, 0 deletions