On Thu, Apr 04, 2019 at 11:36:35AM +0300, Gal Pressman wrote: > On 19-Feb-19 16:57, Shiraz Saleem wrote: > > 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 pages in an MR can use this API. > > > > Suggested-by: Jason Gunthorpe <jgg@xxxxxxxx> > > Reviewed-by: Michael J. Ruhl <michael.j.ruhl@xxxxxxxxx> > > Signed-off-by: Shiraz Saleem <shiraz.saleem@xxxxxxxxx> > > I've tested this patch comparing our existing efa_cont_pages() implementation vs > ib_umem_find_single_pg_size() running different test suites: This stuff has been merged, so please send a patch for EFA to use it now.. Thanks, Jason