[rds-devel] dma_sync [was: Has anyone tried RDS on IA64 Linux?]

Olaf Kirch olaf.kirch at oracle.com
Sun May 4 23:03:44 PDT 2008


On Monday 05 May 2008 07:47:17 Or Gerlitz wrote:
> I see, in that case you also sync the buffer over which the next 
> fragment is going to be received before/during its reception by the HCA, 
> I think this is not allowed either.

Why isn't that allowed?

> Maybe the way to go here is to move into doing dma_map/sync in a single 
> fashion over each fragment and not over pages which were carved to 
> fragments, etc?

You mean rather than using dma_map_page once on the page and using
dma address+offset, we should call dma_map_page() with the appropriate
offset for each fragment? That would work, too, and save us the hassles
with dma_sync - where I'm now calling dma_sync, I'd just unmap
the fragment instead.

Olaf
-- 
Olaf Kirch  |  --- o --- Nous sommes du soleil we love when we play
okir at lst.de |    / | \   sol.dhoop.naytheet.ah kin.ir.samse.qurax



More information about the rds-devel mailing list