From owner-freebsd-net@freebsd.org Tue May 8 16:23:46 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B1B0EFBAAAE for ; Tue, 8 May 2018 16:23:46 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4364771E7D; Tue, 8 May 2018 16:23:46 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id w48GNic3082356; Tue, 8 May 2018 18:23:44 +0200 (CEST) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (s1.omnilan.de [217.91.127.234]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 4A8E710C; Tue, 8 May 2018 18:23:44 +0200 (CEST) Message-ID: <5AF1CF0F.4040909@omnilan.de> Date: Tue, 08 May 2018 18:23:43 +0200 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Kevin Bowling CC: Stephen Hurd , "freebsd-net@freebsd.org" Subject: iflib-if_em tests with HEAD and lagg panic [Was: Re: svn commit: r333338 - in stable/11/sys: dev/bnxt kern net sys] References: <201805072142.w47LgN1R041002@repo.freebsd.org> <5AF16B8B.7030703@omnilan.de> <5AF17134.7020602@omnilan.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Tue, 08 May 2018 18:23:44 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 May 2018 16:23:46 -0000 Bezüglich Kevin Bowling's Nachricht vom 08.05.2018 11:52 (localtime): … >> But if the simple iflib/hw-support test with kawela+hartwell helps I'm >> happy to do. > > At this point it would be helpful, we think e1000 is nearing pretty > good shape and I need to become familiar with any outstanding bugs. I started with hartwell: em1: attach_pre capping queues at 2 Current cap: 0x460b em1: using 1024 tx descriptors and 1024 rx descriptors em1: msix_init qsets capped at 2 em1: pxm cpus: 2 queue msgs: 4 admincnt: 1 em1: using 2 rx queues 2 tx queues em1: Using MSIX interrupts with 3 vectors em1: allocated for 2 tx_queues em1: allocated for 2 rx_queues em1: Ethernet address: 00:1b:21:3e:90:52 em1: netmap queues/slots: TX 2/1024, RX 2/1024 dev.em.1.iflib.driver_version: 7.6.1-k dev.em.1.queue_rx_1.rx_irq: 0 dev.em.1.queue_rx_1.rxd_tail: 607 dev.em.1.queue_rx_1.rxd_head: 21 dev.em.1.queue_rx_0.rx_irq: 0 dev.em.1.queue_rx_0.rxd_tail: 410 dev.em.1.queue_rx_0.rxd_head: 412 dev.em.1.queue_tx_1.tx_irq: 0 dev.em.1.queue_tx_1.txd_tail: 8 dev.em.1.queue_tx_1.txd_head: 8 dev.em.1.queue_tx_0.tx_irq: 0 dev.em.1.queue_tx_0.txd_tail: 428 dev.em.1.queue_tx_0.txd_head: 428 Looks good so far, no problems with simple line speed (NFS4) copies. According to the i217 (Clarkville) Datasheet, it also supports 2 queues: Table 63. Intel® Ethernet Controller I217 Capability PHY Address 01, Page 776,Register 19 But it probably was never supported, at least I haven't ever checked pre-iflib. Here's the clakville: em0: attach_pre capping queues at 1 em0: using 1024 tx descriptors and 1024 rx descriptors em0: msix_init qsets capped at em0: PCIY_MSIX capability not found; or rid 0 == 0. em0: Using an MSI interrupt em0: allocated for 1 tx_queues em0: allocated for 1 rx_queues em0: Ethernet address: 54:be:f7:0b:d7:4e em0: netmap queues/slots: TX 1/1024, RX 1/1024 Since it's not not effort here, I also tried LACP, which panicked. vmcore available, but what debugger to use these days? kgdb seems to be replaced... -harry