From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754073AbXC3VvS (ORCPT ); Fri, 30 Mar 2007 17:51:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753981AbXC3VvR (ORCPT ); Fri, 30 Mar 2007 17:51:17 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:49231 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1754073AbXC3VvQ (ORCPT ); Fri, 30 Mar 2007 17:51:16 -0400 Date: Fri, 30 Mar 2007 14:20:25 -0700 (PDT) Message-Id: <20070330.142025.02298139.davem@davemloft.net> To: auke-jan.h.kok@intel.com Cc: akpm@linux-foundation.org, adobriyan@sw.ru, randy.dunlap@oracle.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: 2.6.21-rc5-mm3: fix e1000 compilation From: David Miller In-Reply-To: <460D4896.9090302@intel.com> References: <20070330100104.9b770cd8.akpm@linux-foundation.org> <20070330100709.44127796.randy.dunlap@oracle.com> <460D4896.9090302@intel.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 From: "Kok, Auke" Date: Fri, 30 Mar 2007 10:27:50 -0700 > turns out that NETIF_F_TSO6 is defined even if CONFIG_IPV6 is turned > off, which is what broke e1000. That in itself might be a > problem. Perhaps this should be fixed in netdevice.h (gratuitous bad > inline patch below) but I'm not sure if people would appreciate > this, as it's rather ugly, and it gets all horrible when people > disable TCP protocol support... No, I don't think we should do this. We have the vlan acceleration flags available when 802.1Q is disabled, same situation, and just as valid.