On 10/27/23 19:48, Zhu Yanjun wrote:
In this case, ULP with folio will not work well with current RXE after this commit is applied.
Why not? RDMA ULPs like the SRP initiator driver use ib_map_mr_sg(). Thelatter function calls rxe_map_mr_sg() if the RXE driver is used. rxe_map_mr_sg() calls ib_sg_to_pages(). ib_sg_to_pages() translates
SG-entries that are larger than a virtual memory page into multiple entries with size mr->page_size. Thanks, Bart.