> Subject: [PATCH 13/14] RDMA/mlx5: Use ib_umem_num_dma_blocks() > > For the calls linked to mlx4_ib_umem_calc_optimal_mtt_size() compute the number > of DMA pages directly based on the returned page_shift. This was just being used > as a weird default if the algorithm hits the lower limit. > > All other places are just using it with PAGE_SIZE. > > As this is the last call site, remove ib_umem_num_pages(). Typo. remove ib_umem_page_count