From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Fastabend 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 21:22:12 -0700 Message-ID: <57DA21F4.20700@gmail.com> References: <20160912220312.5610.77528.stgit@john-Precision-Tower-5810> <20160912221327.5610.74333.stgit@john-Precision-Tower-5810> <309B89C4C689E141A5FF6A0C5FB2118B81F90268@ORSMSX101.amr.corp.intel.com> <20160915004353.GA63116@ast-mbp.thefacebook.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: "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: Alexei Starovoitov , "Brown, Aaron F" Return-path: Received: from mail-pa0-f65.google.com ([209.85.220.65]:36762 "EHLO mail-pa0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750751AbcIOEWd (ORCPT ); Thu, 15 Sep 2016 00:22:33 -0400 Received: by mail-pa0-f65.google.com with SMTP id p2so1585518pap.3 for ; Wed, 14 Sep 2016 21:22:32 -0700 (PDT) In-Reply-To: <20160915004353.GA63116@ast-mbp.thefacebook.com> Sender: netdev-owner@vger.kernel.org List-ID: On 16-09-14 05:43 PM, Alexei Starovoitov wrote: > 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. > Thanks. Jeff, please drop the series for now obviously this wont work. It needs some work.