aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/verbs.c
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 /drivers/infiniband/core/verbs.c
parentIB/hfi1: Fix WQ_MEM_RECLAIM warning (diff)
downloadlinux-dev-4a35339958f16d42a4ca06a8da9d4b5ab39ee8ea.tar.xz
linux-dev-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 'drivers/infiniband/core/verbs.c')
0 files changed, 0 insertions, 0 deletions