From: =?iso-8859-2?Q?Micha=B3_Miros=B3aw?= Subject: Re: [PATCH v5 RESEND 2/9] ethtool: enable GSO and GRO by default Date: Tue, 15 Feb 2011 22:46:49 +0100 Message-ID: <20110215214649.GA23866@rere.qmqm.pl> References: <66135e57d38599c0dfce347643858558c4f026c4.1297594674.git.mirq-linux@rere.qmqm.pl> <20110213.105023.68138742.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: netdev@vger.kernel.org, bhutchings@solarflare.com To: David Miller Return-path: Received: from rere.qmqm.pl ([89.167.52.164]:41276 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755801Ab1BOVqv (ORCPT ); Tue, 15 Feb 2011 16:46:51 -0500 Content-Disposition: inline In-Reply-To: <20110213.105023.68138742.davem@davemloft.net> Sender: netdev-owner@vger.kernel.org List-ID: On Sun, Feb 13, 2011 at 10:50:23AM -0800, David Miller wrote: > From: Micha=B3 Miros=B3aw > Date: Sun, 13 Feb 2011 12:11:45 +0100 (CET) > > Signed-off-by: Micha=B3 Miros=B3aw > This is not appropriate. >=20 > Now, every driver that lacks SG support will spit out that warning > message in netdev_fix_features(). >=20 > That's why the check is there conditionalizing NETIF_F_GSO on > NETIF_F_SG in register_netdevice(). I think all those messages should be converted to DEBUG level. Those conditions are constant and can be better described in Documentation/networking/ or ethtool manpage. Preferably along the device-specific conditions when implemented. Or I could just drop the message for the GSO case as it's something new= here anyway (I added it to make it consistent with handling of other feature= s). Best Regards, Micha=B3 Miros=B3aw