From nobody Mon Aug 1 03:41:25 2022 X-Original-To: stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Lx3nt4Csgz4WrKD for ; Mon, 1 Aug 2022 03:41:38 +0000 (UTC) (envelope-from jim@jimking.net) Received: from flounder.jimking.net (flounder.jimking.net [IPv6:2607:fc50:1:8b00:216:3eff:fe33:f0f9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "flounder.jimking.net", Issuer "jimking.net CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lx3ns53fZz4FQ8 for ; Mon, 1 Aug 2022 03:41:37 +0000 (UTC) (envelope-from jim@jimking.net) Received: from [192.168.22.253] (c-98-199-170-72.hsd1.tx.comcast.net [98.199.170.72]) (authenticated bits=0) by flounder.jimking.net (8.15.2/8.15.2) with ESMTPSA id 2713fUg5090072 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 31 Jul 2022 22:41:31 -0500 (CDT) (envelope-from jim@jimking.net) X-Authentication-Warning: flounder.jimking.net: Host c-98-199-170-72.hsd1.tx.comcast.net [98.199.170.72] claimed to be [192.168.22.253] Message-ID: Date: Sun, 31 Jul 2022 22:41:25 -0500 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Content-Language: en-US To: stable@freebsd.org From: Jim King Subject: igc problems with heavy traffic Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.99.4 at flounder.jimking.net X-Virus-Status: Clean X-Rspamd-Queue-Id: 4Lx3ns53fZz4FQ8 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of jim@jimking.net designates 2607:fc50:1:8b00:216:3eff:fe33:f0f9 as permitted sender) smtp.mailfrom=jim@jimking.net X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+a:flounder.jimking.net]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[jimking.net]; MLMMJ_DEST(0.00)[stable@freebsd.org]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:36236, ipnet:2607:fc50::/36, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[jim]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_XAW(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[stable@freebsd.org]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N I'm trying to use a Qnap dual port 2.5Gb NIC with FreeBSD 13.1. FreeBSD recognizes the NIC and I'm able to connect to my LAN at 1Gb.  However, trying to push heavy traffic through the NIC results in a temporary loss of connectivity:  traffic stops and the message "igc0: link state changed to DOWN" appears in the system log.  About 10 seconds later the message "igc0: link state changed to UP" is logged, followed by some messages from dhclient indicating that it has acquired a lease.  At that point network connectivity works normally, until I try to push a lot of traffic again.  I've been able to trigger this every time using iperf3 from another PC on my LAN, and by using Ookla's speedtest client (my Internet service is good for about 900 Mbps). With a recent version of Ubuntu I'm able to do both of these tests with no problem.  As far as I can tell the NIC itself is OK. Is there anything I can do to make this NIC work with FreeBSD?  I was hoping to use this for an Opnsense router, but at this point it seems to me that the igc driver just isn't robust.