From owner-freebsd-net@freebsd.org Tue May 8 16:44:36 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 B9501FBB2CA for ; Tue, 8 May 2018 16:44:36 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 43CC075DA7; Tue, 8 May 2018 16:44:35 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [192.168.0.6] (67-0-214-163.albq.qwest.net [67.0.214.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id B8DF9194253; Tue, 8 May 2018 08:31:19 +0000 (UTC) Subject: Re: iflib-if_em tests with HEAD and lagg panic [Was: Re: svn commit: r333338 - in stable/11/sys: dev/bnxt kern net sys] To: Harry Schmalzbauer , Kevin Bowling Cc: "freebsd-net@freebsd.org" , Stephen Hurd References: <201805072142.w47LgN1R041002@repo.freebsd.org> <5AF16B8B.7030703@omnilan.de> <5AF17134.7020602@omnilan.de> <5AF1CF0F.4040909@omnilan.de> From: Sean Bruno Openpgp: preference=signencrypt Autocrypt: addr=sbruno@freebsd.org; prefer-encrypt=mutual; keydata= xsBNBFk+0UEBCADaf4bgxxKvMOhRV5NPoGWRCCGm49d6+1VFNlQ77WsY/+Zvf95TPULdRlnG w648KfxWt7+O3kdKhdRwnqlXWC7zA2Qt0dRE1yIqOGJ4jp4INvp/bcxWzgr0aoKOjrlnfxRV bh+s0rzdZt6TsNL3cVYxkC8oezjaUkHdW4mFJU249U1QJogkF8g0FeKNfEcjEkwJNX6lQJH+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gUCWT7RQQIbDAUJBaOagAAKCRC95PX+ibX8trrIB/9Pljqt/JGamD9tx4dOVmxSyFg9 z2xzgklTLuDgS73MM120mM7ao9AQUeWiSle/H0UCK7xPOzC/aeUC4oygDQKAfkkNbCNTo3+A qDjBRA8qx0e9a/QjDL+RFgD4L5kLT4tToY8T8HaBp8h03LBfk510IaI8oL/Jg7vpM3PDtJMW tUi2H+yNFmL3NfM2oBToWKLFsoP54f/eeeImrNnrlLjLHPzqS+/9apgYqX2Jwiv3tHBc4FTO GuY8VvF7BpixJs8Pc2RUuCfSyodrp1YG1kRGlXAH0cqwwr0Zmk4+7dZvtVQMCl6kS6q1+84q JwtItxS2eXSEA4NO0sQ3BXUywANh Message-ID: <65972f0d-2873-42ea-464c-a3db543abafb@freebsd.org> Date: Tue, 8 May 2018 10:44:24 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <5AF1CF0F.4040909@omnilan.de> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="EDbDDG78TH95weNcwbeiB3LhqwW7fto06" 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:44:37 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --EDbDDG78TH95weNcwbeiB3LhqwW7fto06 Content-Type: multipart/mixed; boundary="783fzLAibmADpHJFnJANnmCtzf9nQPNg8"; protected-headers="v1" From: Sean Bruno To: Harry Schmalzbauer , Kevin Bowling Cc: "freebsd-net@freebsd.org" , Stephen Hurd Message-ID: <65972f0d-2873-42ea-464c-a3db543abafb@freebsd.org> Subject: Re: 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> <5AF1CF0F.4040909@omnilan.de> In-Reply-To: <5AF1CF0F.4040909@omnilan.de> --783fzLAibmADpHJFnJANnmCtzf9nQPNg8 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 05/08/18 10:23, Harry Schmalzbauer wrote: > Bez=C3=BCglich Kevin Bowling's Nachricht vom 08.05.2018 11:52 (localtim= e): > =E2=80=A6 >>> 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. >=20 > I started with hartwell: > em1: attach_pre capping queues at 2 >=20 > 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 >=20 > Looks good so far, no problems with simple line speed (NFS4) copies. >=20 > According to the i217 (Clarkville) Datasheet, it also supports 2 queues= : > Table 63. Intel=C2=AE Ethernet Controller I217 Capability PHY Address 0= 1, > 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 =3D=3D 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 >=20 > 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... >=20 > -harry > _____________ /usr/libexec/kgdb should be the old kgdb that you are used to. Most of us have switched to using devel/gdb from ports. sean --783fzLAibmADpHJFnJANnmCtzf9nQPNg8-- --EDbDDG78TH95weNcwbeiB3LhqwW7fto06 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE6MTp+IA1BOHj9Lo0veT1/om1/LYFAlrx0+lfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEU4 QzRFOUY4ODAzNTA0RTFFM0Y0QkEzNEJERTRGNUZFODlCNUZDQjYACgkQveT1/om1 /LbrVwgAib0Yh6itpIT+O7VZKum5AIX+Rh5C810CZl02EfoM19OfwVhgCS2+QzJ5 2s8TFJfOew6UKZ2ZcdSJMAM6GmJdPzBW6CdpAptKRd1UbzfCXX81KF6wEg2l86Ry OHzIf3w2em6gG2RTPGLoFlf4+6Xwq+a0/hD4Kqcw9KxtsplSwmqNYRrHl13byiZ1 Rw3PBhbmYIGwH6I8MY5mjDIpOUEz/fcfFYkZBHmmgkVWVNlRrC2nc/khapti6A0j yZfOHOM+vg2T+2R0byeN23K1hoqeHWFCFpIBT7CdKzVg6SiJCzbXi1eUiHw8ietE i53HFoi7rZU7uJuoTxbDN5UoEPtxTA== =ntIX -----END PGP SIGNATURE----- --EDbDDG78TH95weNcwbeiB3LhqwW7fto06--