[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20061213172714.GQ4329@austin.ibm.com>
Date: Wed, 13 Dec 2006 11:27:14 -0600
From: linas@...tin.ibm.com (Linas Vepstas)
To: Christoph Hellwig <hch@...radead.org>
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 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:
> >
> > 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
-
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