[ofa-general] [PATCH RFC v3 1/2] RDMA/Core: MEM_MGT_EXTENSIONS support
Or Gerlitz
ogerlitz at voltaire.com
Mon May 19 01:04:10 PDT 2008
Roland Dreier wrote:
>
> Yes, the point of this verb is that the low-level driver owns the page
> list from when the fast register work request is posted until it
> completes. This should be explicitly documented somewhere.
>
OK, got it, so this is different case compared to the SG elements which
are not owned by the driver once the posting call returns.
>
> However the reason for having the low-level driver implement it is so
> that all strange device-specific issues can be taken care of in the
> driver. For instance mlx4 is going to require that the page list be
> aligned to 64 bytes, and will DMA from the memory, so we need to use
> dma_alloc_consistent(). On the other hand cxgb3 is just going to copy
> in software, so kmalloc is sufficient.
>
I see. Just wondering, in the mlx4 case, is it a must to use dma
consistent memory allocation or dma mapping would work too?
Or.
Or.
More information about the general
mailing list