From patchwork Mon May 18 22:57:14 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: stephen hemminger X-Patchwork-Id: 27380 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@bilbo.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 48D87B6F44 for ; Tue, 19 May 2009 08:57:29 +1000 (EST) Received: by ozlabs.org (Postfix) id 3A474DE0DC; Tue, 19 May 2009 08:57:29 +1000 (EST) Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id CD963DE0D8 for ; Tue, 19 May 2009 08:57:28 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755497AbZERW5T (ORCPT ); Mon, 18 May 2009 18:57:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755450AbZERW5T (ORCPT ); Mon, 18 May 2009 18:57:19 -0400 Received: from mail.vyatta.com ([76.74.103.46]:51554 "EHLO mail.vyatta.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755083AbZERW5T (ORCPT ); Mon, 18 May 2009 18:57:19 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.vyatta.com (Postfix) with ESMTP id C2CE64F4011; Mon, 18 May 2009 15:57:20 -0700 (PDT) X-Virus-Scanned: amavisd-new at tahiti.vyatta.com Received: from mail.vyatta.com ([127.0.0.1]) by localhost (mail.vyatta.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wnWMjFanNhib; Mon, 18 May 2009 15:57:15 -0700 (PDT) Received: from nehalam (pool-71-117-243-208.ptldor.fios.verizon.net [71.117.243.208]) by mail.vyatta.com (Postfix) with ESMTP id 601454F400D; Mon, 18 May 2009 15:57:15 -0700 (PDT) Date: Mon, 18 May 2009 15:57:14 -0700 From: Stephen Hemminger To: sergk@sergk.org.ua Cc: David Miller , netdev@vger.kernel.org, jeffrey.t.kirsher@intel.com Subject: Re: [IGB 2.6.29.3 bug] Re: WARNING at dev_disable_lro when enabling ip_forward Message-ID: <20090518155714.0f1a3b20@nehalam> In-Reply-To: <20090518.153531.126023429.davem@davemloft.net> References: <20090519010147.772f0bff@vingilot.sergknet> <20090518.153531.126023429.davem@davemloft.net> Organization: Vyatta X-Mailer: Claws Mail 3.6.1 (GTK+ 2.16.1; x86_64-pc-linux-gnu) Mime-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Does this fix it? --- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/net/igb/igb_ethtool.c b/drivers/net/igb/igb_ethtool.c index 4bdfc2e..a425d85 100644 --- a/drivers/net/igb/igb_ethtool.c +++ b/drivers/net/igb/igb_ethtool.c @@ -2028,6 +2028,10 @@ static struct ethtool_ops igb_ethtool_ops = { .get_ethtool_stats = igb_get_ethtool_stats, .get_coalesce = igb_get_coalesce, .set_coalesce = igb_set_coalesce, +#ifdef CONFIG_IGB_LRO + .get_flags = ethtool_op_get_flags, + .set_flags = ethtool_op_set_flags, +#endif }; void igb_set_ethtool_ops(struct net_device *netdev)