From owner-freebsd-current@freebsd.org Thu Feb 4 05:26:41 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 09093538E88 for ; Thu, 4 Feb 2021 05:26:41 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (phouka1.phouka.net [107.170.196.116]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "phouka.net", Issuer "Go Daddy Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DWRqg6QtDz4rP4 for ; Thu, 4 Feb 2021 05:26:39 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (localhost [127.0.0.1]) by phouka1.phouka.net (8.16.1/8.16.1) with ESMTPS id 1145PKVA059461 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 3 Feb 2021 21:25:20 -0800 (PST) (envelope-from warlock@phouka1.phouka.net) Received: (from warlock@localhost) by phouka1.phouka.net (8.16.1/8.16.1/Submit) id 1145PKnF059456; Wed, 3 Feb 2021 21:25:20 -0800 (PST) (envelope-from warlock) Date: Wed, 3 Feb 2021 21:25:19 -0800 From: John Kennedy To: joe mcguckin Cc: FreeBSD-Current Subject: Re: gib/em driver problems? Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4DWRqg6QtDz4rP4 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of warlock@phouka1.phouka.net has no SPF policy when checking 107.170.196.116) smtp.mailfrom=warlock@phouka1.phouka.net X-Spamd-Result: default: False [-0.80 / 15.00]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[107.170.196.116:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[phouka.net]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[107.170.196.116:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[warlock@phouka.net,warlock@phouka1.phouka.net]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; FROM_NEQ_ENVFROM(0.00)[warlock@phouka.net,warlock@phouka1.phouka.net]; ASN(0.00)[asn:14061, ipnet:107.170.192.0/18, country:US] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2021 05:26:41 -0000 On Wed, Feb 03, 2021 at 08:23:49PM -0800, John Kennedy wrote: > On Wed, Feb 03, 2021 at 06:40:50PM -0800, joe mcguckin wrote: > > I went out and purchased a PCIe ethernet card - it uses the em driver. The system > > boots and it is em0. > > > > It works fine in 100Mb mode, but in gigabit mode, it does not pass any traffic although ifconfig reports > > the card as active and that it has negotiated 1000BTX full duplex. > > > > I have tried plugging both the igb and em cards into 2 different switches with the same result. > > When 13 was -current, I've had great experiences with em0 ethernet cards. > I don't have a physical box with 14 at the moment. This one has been on > 13 since 2020/10/26, the other one a while longer. > > em0: flags=8963 metric 0 mtu 1500 > options=4810099 > ether XXX > inet XXX > media: Ethernet autoselect (1000baseT ) > status: active > nd6 options=29 > > Between two motherboards, I think I have 3 of them (1 on peripheral card), > but the only one I can get at this minute identifies itself as: > > em0: mem 0xa3400000-0xa341ffff at device 31.6 on pci0 > > Never had an issue with any of my switches, although I seem to have > mostly netgears at home. Second computer has cards that identify exactly the same, flags are slightly different: em0: flags=8863 metric 0 mtu 1500 options=481249b media: Ethernet 1000baseT (1000baseT ) em1: flags=8863 metric 0 mtu 1500 options=481249b media: Ethernet 1000baseT (autoselect) (The other one has some bhyve VMs, so the settings are probably atypical) In that particular example, em1 isn't plugged into anything at the moment. I've run those same cards since 11-somethings, 12.0, 12.1, 12.2 and 13. On this HD, since at least 2017/6/29. The second two are probably pretty old (at least 2017), and I think I got the add-on card for an even older machine with some realtek (sp?) chipset built into it's motherboard that was messing up (I'd need to offline/online bounce it), so I got the Intel card because I'd had good luck with a previous motherboard with that. In any case, very happy with Intel devices, but probably not going to get more detailed if you can't compare chipsets. If you just got a new card, you might have a totally different chipset which might behave different than mine.