Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754127AbYAWAbW (ORCPT ); Tue, 22 Jan 2008 19:31:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752339AbYAWAbN (ORCPT ); Tue, 22 Jan 2008 19:31:13 -0500 Received: from fmailhost06.isp.att.net ([207.115.11.56]:59076 "EHLO fmailhost06.isp.att.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752262AbYAWAbM (ORCPT ); Tue, 22 Jan 2008 19:31:12 -0500 X-Originating-IP: [70.152.123.12] Date: Tue, 22 Jan 2008 18:31:09 -0600 From: Jay Cliburn To: Jeff Garzik Cc: csnook@redhat.com, linux-kernel@vger.kernel.org, atl1-devel@lists.sourceforge.net, netdev@vger.kernel.org Subject: Re: [PATCH 09/26] atl1: refactor tx processing Message-ID: <20080122183109.5ab80802@osprey.hogchain.net> In-Reply-To: <4795BE39.6000505@garzik.org> References: <1199152804-3889-1-git-send-email-jacliburn@bellsouth.net> <1199152804-3889-10-git-send-email-jacliburn@bellsouth.net> <4795BE39.6000505@garzik.org> X-Mailer: Claws Mail 3.2.0 (GTK+ 2.12.3; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1637 Lines: 64 On Tue, 22 Jan 2008 04:58:17 -0500 Jeff Garzik wrote: > jacliburn@bellsouth.net wrote: > > From: Jay Cliburn > > > > Refactor tx processing to use a less convoluted tx packet > > descriptor and to conform generally with the vendor's current > > version 1.2.40.2. > > > > Signed-off-by: Jay Cliburn > > --- > > drivers/net/atlx/atl1.c | 265 > > +++++++++++++++++++++++++---------------------- > > drivers/net/atlx/atl1.h | 201 +++++++++++++++++++----------------- > > 2 files changed, 246 insertions(+), 220 deletions(-) > > for such a huge patch, this description is very tiny. [describe] > what is refactored, and why. Okay, I'll go back and rework the offending descriptions for this and the other patches in this set. > what does "less convoluted" mean? I should have written "simpler," I suppose. Before: ======= struct tso_param { u32 tsopu; /* tso_param upper word */ u32 tsopl; /* tso_param lower word */ }; struct csum_param { u32 csumpu; /* csum_param upper word */ u32 csumpl; /* csum_param lower word */ }; union tpd_descr { u64 data; struct csum_param csum; struct tso_param tso; }; struct tx_packet_desc { __le64 buffer_addr; union tpd_descr desc; }; After: ====== struct tx_packet_desc { __le64 buffer_addr; __le32 word2; __le32 word3; }; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/