From mboxrd@z Thu Jan 1 00:00:00 1970 From: rosenp@gmail.com Subject: Re: [PATCH] bgmac: Remove all offloading features, including GRO. Date: Fri, 15 Sep 2017 17:24:13 -0700 Message-ID: <1505521453.2851.0.camel@gmail.com> References: <20170915222218.6613-1-rosenp@gmail.com> <252FFED5-906E-4D1B-9E87-679D0CE801D4@gmail.com> <1505520210.29839.7.camel@edumazet-glaptop3.roam.corp.google.com> <1505520638.8507.2.camel@gmail.com> <1505521095.29839.11.camel@edumazet-glaptop3.roam.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Florian Fainelli , netdev@vger.kernel.org, zajec5@gmail.com, nbd@nbd.name To: Eric Dumazet Return-path: Received: from mail-pf0-f171.google.com ([209.85.192.171]:45404 "EHLO mail-pf0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751201AbdIPAYR (ORCPT ); Fri, 15 Sep 2017 20:24:17 -0400 Received: by mail-pf0-f171.google.com with SMTP id q76so2225636pfq.2 for ; Fri, 15 Sep 2017 17:24:17 -0700 (PDT) In-Reply-To: <1505521095.29839.11.camel@edumazet-glaptop3.roam.corp.google.com> Sender: netdev-owner@vger.kernel.org List-ID: netif_receive_skb seems to have the same effect as "ethtool -K eth0 gro off". On Fri, 2017-09-15 at 17:18 -0700, Eric Dumazet wrote: > On Fri, 2017-09-15 at 17:10 -0700, rosenp@gmail.com wrote: > > Ok fair enough. Will only disable GRO in the driver. > > Well, do not even try. > > NETIF_F_SOFT_FEATURES is set by core networking stack in > register_netdevice(), ( commit > 212b573f5552c60265da721ff9ce32e3462a2cdd > ) > > Absolutely no driver disables GRO (excepts the ones playing with LRO) > > > > > >