[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061207101151.GB27904@infradead.org>
Date: Thu, 7 Dec 2006 10:11:51 +0000
From: Christoph Hellwig <hch@...radead.org>
To: Linas Vepstas <linas@...tin.ibm.com>
Cc: Andrew Morton <akpm@...l.org>, jgarzik@...ox.com,
netdev@...r.kernel.org, linuxppc-dev@...abs.org,
James K Lewis <jklewis@...ibm.com>,
Arnd Bergmann <arnd@...db.de>,
Geoff Levand <geoffrey.levand@...sony.com>
Subject: Re: [PATCH 1/16] Spidernet DMA coalescing
On Wed, Dec 06, 2006 at 05:27:45PM -0600, Linas Vepstas wrote:
>
> 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)
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists