From owner-freebsd-net@freebsd.org Tue Dec 4 21:39:42 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 81ECA13224CE for ; Tue, 4 Dec 2018 21:39:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 19859736A3 for ; Tue, 4 Dec 2018 21:39:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id CBD5C13224CD; Tue, 4 Dec 2018 21:39:41 +0000 (UTC) Delivered-To: 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 A968F13224CC for ; Tue, 4 Dec 2018 21:39:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48F237369E for ; Tue, 4 Dec 2018 21:39:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 5B07C552D for ; Tue, 4 Dec 2018 21:39:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id wB4LdeRI083674 for ; Tue, 4 Dec 2018 21:39:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id wB4LdeoG083673 for net@FreeBSD.org; Tue, 4 Dec 2018 21:39:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 233759] igb (I210) + net.inet.ipsec.async_crypto=1 + aesni kill receiving queues and traffic Date: Tue, 04 Dec 2018 21:39:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lev@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: 19859736A3 X-Spamd-Result: default: False [0.52 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.18)[-0.179,0]; NEURAL_SPAM_LONG(0.03)[0.034,0]; ASN(0.00)[asn:10310, ipnet:2001:1900:2254::/48, country:US]; NEURAL_SPAM_SHORT(0.67)[0.669,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 04 Dec 2018 21:39:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233759 --- Comment #3 from Lev A. Serebryakov --- (In reply to Eric Joyner from comment #2) They randomly stop while receiving traffic. It could be several minutes, li= ke all traffic is passing well for 2 minutes, then 1/4 of traffic is lost fore= ver, then after another 30 seconds other 1/4 of traffic is lost (1/2 in total), = then 1/2 of traffic could pass for another 3-4-5 minutes, but at least only 3/4 = is lost and 3 queues are effectively stopped. There is no panics or any messag= es in kernel output. I never seen recovery, but, to be honest, I didn't wait more than 5 minutes. I could say, that ifconfig igb0 down && ifconfig igb0 up doesn't help. I could not say about igb1 (outbound interface) for sure, as I've checked inbound one with "tcpdump" and it shows that 1/4-1/2-3/4 of traffic is not = seen even by tcpdump. Traffic is generated (with pkt-gen on other end of the lin= k, NOT ON SAME SYSTEM!) with distinct pattern (regular loop over many source I= Ps), so holes in the traffic is well seen by eye (when packet rate is low). And = igb1 only send traffic, it is unidirectional UDP test (as pkt-gen implies). And one more: only sending works. I could turn on "net.inet.ipsec.async_crypto=3D1" and send traffic from very this system wi= th, say, iperf3 (use it as endpoint with IPsec and not as router), and it make things faster (it is why I've tried to turn it on for routing), and everyth= ing works. BTW, I could try to build kernel with INVARIANTS and WITNESSes... --=20 You are receiving this mail because: You are the assignee for the bug.=