Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760850AbXHJWO1 (ORCPT ); Fri, 10 Aug 2007 18:14:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932609AbXHJWKm (ORCPT ); Fri, 10 Aug 2007 18:10:42 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:42041 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1766007AbXHJWKj (ORCPT ); Fri, 10 Aug 2007 18:10:39 -0400 Date: Fri, 10 Aug 2007 15:10:39 -0700 (PDT) Message-Id: <20070810.151039.31642625.davem@davemloft.net> To: greearb@candelatech.com Cc: jeff@garzik.org, auke-jan.h.kok@intel.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] Add ETHTOOL_[GS]FLAGS sub-ioctls From: David Miller In-Reply-To: <46BCD47C.9060408@candelatech.com> References: <20070810202426.GA25050@havoc.gtf.org> <46BCD263.6050807@garzik.org> <46BCD47C.9060408@candelatech.com> X-Mailer: Mew version 5.1.52 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1299 Lines: 30 From: Ben Greear Date: Fri, 10 Aug 2007 14:11:24 -0700 > Jeff Garzik wrote: > > > This patch copies Auke in adding NETIF_F_LRO. Is that just for > > temporary merging, or does the net core really not touch it at all? > > > > Because, logically, if NETIF_F_LRO exists nowhere else but this patch, > > we should not add it to dev->features. LRO knowledge can be contained > > entirely within the driver, if the net core never tests NETIF_F_LRO. > > > > I haven't reviewed the other NETIF_F_XXX flags, but, that logic can be > > applied to any other NETIF_F_XXX flag: if the net stack isn't using it, > > it's a piece of information specific to that driver. > > I believe LRO is going to have to be disabled for routing/bridging, > so the stack will probably need to become aware of it at some point... The packet will be GSO'd on output I believe, so it won't break anything. Alternatively, we could make the driver only LRO accumulate if the packet is unicast and matches one of the MAC's programmed into the chip. - 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/