From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 19FDF67B8D for ; Wed, 11 Oct 2006 17:16:04 +1000 (EST) Subject: Re: [PATCH 21/21]: powerpc/cell spidernet DMA coalescing From: Benjamin Herrenschmidt To: jschopp In-Reply-To: <452C2AAA.5070001@austin.ibm.com> References: <20061010204946.GW4381@austin.ibm.com> <20061010212324.GR4381@austin.ibm.com> <452C2AAA.5070001@austin.ibm.com> Content-Type: text/plain Date: Wed, 11 Oct 2006 17:15:10 +1000 Message-Id: <1160550910.6177.66.camel@localhost.localdomain> Mime-Version: 1.0 Cc: akpm@osdl.org, jeff@garzik.org, Arnd Bergmann , netdev@vger.kernel.org, James K Lewis , linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2006-10-10 at 18:20 -0500, jschopp wrote: > Linas Vepstas wrote: > > The current driver code performs 512 DMA mappns 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. > > > > Signed-off-by: Linas Vepstas > > Cc: James K Lewis > > Cc: Arnd Bergmann > > The others look good, but this one complicates the code and doesn't have any benefit. 20 > for 21 isn't bad. Hi Joel ! I'm not sure what you mean here.... (especially your 20 to 21 comment). The patch looks perfectly fine to me, and in fact removes more lines of code than it adds :) Cheers, Ben.