Thread (26 messages) flat view 26 messages, 6 authors, 2006-12-13

Re: [PATCH 1/16] Spidernet DMA coalescing

From: Linas Vepstas <hidden>
Date: 2006-12-13 17:27:24
Also in: netdev

On Thu, Dec 07, 2006 at 10:11:51AM +0000, Christoph Hellwig wrote:
On Wed, Dec 06, 2006 at 05:27:45PM -0600, Linas Vepstas wrote:
quoted
The current driver code performs 512 DMA mappings of a bunch of 
32-byte structures. This is silly, as they are all in contiguous 
memory. Ths patch changes the code to DMA map the entie area
with just one call.
This is still wrong.  The descriptor array must be in dma_alloc_coherent
memory, not a streaming mapping.  (I also think I pointed this out a while
ago when I made dma_alloc_coherent node-aware)
Sorry, I missed this the first time. I'm splitting this off now; will 
resubmit shortly.

--linas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help