summaryrefslogtreecommitdiffstats
path: root/include/rdma/opa_port_info.h
diff options
context:
space:
mode:
authorShiraz Saleem <shiraz.saleem@intel.com>2019-05-06 08:53:32 -0500
committerJason Gunthorpe <jgg@mellanox.com>2019-05-06 13:08:11 -0300
commit4a35339958f16d42a4ca06a8da9d4b5ab39ee8ea (patch)
tree5ac8683e8ff5329f7c5868cf44c0f6cbfa47f24e /include/rdma/opa_port_info.h
parent4c4b1996b5db688e2dcb8242b0a3bf7b1e845e42 (diff)
downloadlinux-4a35339958f16d42a4ca06a8da9d4b5ab39ee8ea.tar.bz2
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/rdma/opa_port_info.h')
0 files changed, 0 insertions, 0 deletions