From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexei Starovoitov Subject: Re: [Intel-wired-lan] [net-next PATCH v3 1/3] e1000: track BQL bytes regardless of skb or not Date: Wed, 14 Sep 2016 17:43:55 -0700 Message-ID: <20160915004353.GA63116@ast-mbp.thefacebook.com> References: <20160912220312.5610.77528.stgit@john-Precision-Tower-5810> <20160912221327.5610.74333.stgit@john-Precision-Tower-5810> <309B89C4C689E141A5FF6A0C5FB2118B81F90268@ORSMSX101.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: John Fastabend , "bblanco@plumgrid.com" , "Kirsher, Jeffrey T" , "brouer@redhat.com" , "davem@davemloft.net" , "xiyou.wangcong@gmail.com" , "intel-wired-lan@lists.osuosl.org" , "u9012063@gmail.com" , "netdev@vger.kernel.org" To: "Brown, Aaron F" Return-path: Received: from mail-pa0-f65.google.com ([209.85.220.65]:34332 "EHLO mail-pa0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755719AbcIOAoA (ORCPT ); Wed, 14 Sep 2016 20:44:00 -0400 Received: by mail-pa0-f65.google.com with SMTP id vz6so1387258pab.1 for ; Wed, 14 Sep 2016 17:44:00 -0700 (PDT) Content-Disposition: inline In-Reply-To: <309B89C4C689E141A5FF6A0C5FB2118B81F90268@ORSMSX101.amr.corp.intel.com> Sender: netdev-owner@vger.kernel.org List-ID: On Wed, Sep 14, 2016 at 11:57:24PM +0000, Brown, Aaron F wrote: > > From: Intel-wired-lan [mailto:intel-wired-lan-bounces@lists.osuosl.org] On > > Behalf Of John Fastabend > > Sent: Monday, September 12, 2016 3:13 PM > > To: bblanco@plumgrid.com; john.fastabend@gmail.com; > > alexei.starovoitov@gmail.com; Kirsher, Jeffrey T > > ; brouer@redhat.com; davem@davemloft.net > > Cc: xiyou.wangcong@gmail.com; intel-wired-lan@lists.osuosl.org; > > u9012063@gmail.com; netdev@vger.kernel.org > > Subject: [Intel-wired-lan] [net-next PATCH v3 1/3] e1000: track BQL bytes > > regardless of skb or not > > > > The BQL API does not reference the sk_buff nor does the driver need to > > reference the sk_buff to calculate the length of a transmitted frame. > > This patch removes an sk_buff reference from the xmit irq path and > > also allows packets sent from XDP to use BQL. > > > > Signed-off-by: John Fastabend > > --- > > drivers/net/ethernet/intel/e1000/e1000_main.c | 7 ++----- > > 1 file changed, 2 insertions(+), 5 deletions(-) > > This patch is causing all my e1000 adapters to fail a simple ftp session with really slow response (hashing on) followed by adapter resets. I have seen this on 4 different e1000 nics now, an 82543GC, 82544GC, 82546EB and an 82545GM. On a few occasions I get a splat captured to dmesg. Here is an example: > -------------------------------- > ------------[ cut here ]------------ > WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:316 dev_watchdog+0x1c2/0x1d0 > NETDEV WATCHDOG: eth1 (e1000): transmit queue 0 timed out Thanks a lot for the tests! Really appreciate it.