Re: [PATCH RFC 1/2] RDMA/rxe: don't allow registering !PAGE_SIZE mr

From: Bart Van Assche
Date: Fri Oct 27 2023 - 17:46:27 EST


On 10/27/23 01:17, Zhu Yanjun wrote:
When ULP uses folio or compound page, ULP can not work well with RXE after this commit is applied.

Isn't it the responsibility of the DMA mapping code to build an sg-list
for folios? Drivers like ib_srp see an sg-list, whether that comes from
a folio or from something else.

Bart.