From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH 2/2] forcedeth: scatter gather and segmentation offload support Date: Mon, 24 Oct 2005 14:21:28 -0700 Message-ID: <20051024142128.3193bc22@dxpl.pdx.osdl.net> References: <432D7354.8000503@colorfullife.com> <43595C42.4080201@pobox.com> <435D1047.2070401@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Jeff Garzik , Manfred Spraul , Netdev Return-path: To: Ayaz Abdulla In-Reply-To: <435D1047.2070401@nvidia.com> Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org On Mon, 24 Oct 2005 12:48:07 -0400 Ayaz Abdulla wrote: > Jeff, > > I made the changes you requested. Here is the new patch. > > Thanks, > Ayaz > > Signed-off-By: Ayaz Abdulla > There are really three patches in here. 1. Use netdev_priv (trivial) 2. scatter/gather support 3. TSO support Why do you set the fragments up in reverse order? Going backwards is usually slow on most code. The kernel coding style is to use lower case in local variable names (Flags) and structure elements (PacketBuffer, FlagLen). -- Stephen Hemminger OSDL http://developer.osdl.org/~shemminger