From owner-freebsd-bugs@freebsd.org Thu Apr 4 01:52:31 2019 Return-Path: Delivered-To: freebsd-bugs@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 DAC57155CF46 for ; Thu, 4 Apr 2019 01:52:30 +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 7079D76E79 for ; Thu, 4 Apr 2019 01:52:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 30504155CF45; Thu, 4 Apr 2019 01:52:30 +0000 (UTC) Delivered-To: bugs@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 E6D18155CF44 for ; Thu, 4 Apr 2019 01:52:29 +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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 62B7876E66 for ; Thu, 4 Apr 2019 01:52:29 +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 7DA2A179FD for ; Thu, 4 Apr 2019 01:52:28 +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 x341qSH7083915 for ; Thu, 4 Apr 2019 01:52:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x341qSfA083914 for bugs@FreeBSD.org; Thu, 4 Apr 2019 01:52:28 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: bugs@FreeBSD.org Subject: [Bug 236999] vmx driver stops sending network packets and resets connections (TCP) but allows ICMP Date: Thu, 04 Apr 2019 01:52:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mshirk@daemon-security.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Apr 2019 01:52:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236999 Bug ID: 236999 Summary: vmx driver stops sending network packets and resets connections (TCP) but allows ICMP Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: mshirk@daemon-security.com Tested on 13-CURRENT, with a FreeBSD VM running under ESXi (not sure the versions, I actually do not have console access at this point). I did an upgrade from 12-ALPHA4 something to 13-CURRENT and after this was completed, users were unable to download files over 1MB from this server. I verified that I could SSH into this system and navigate the simple website = that was serving files, but whenever I tried to download a 40MB file, the transf= er would stop, the connection would reset. I verified the same thing was happening with SFTP, navigate to the file, everything worked, but start the transfer, connection reset. I enabled ICMP to be able to ping this system continuously, and noticed not= hing was dropping out, and verified nothing else was going on (that I am aware o= f) with any type of security device, packet shaping, etc. But with ICMP working fine while TCP connections were reset, I went to look= at NIC offloading features, and all of them were turned on. Running the following to disable all of it with the vmx driver, and all of = the problems went away, file transfers started to work: ifconfig vmx0 -rxcsum -txcsum -tso4 -tso6 -lro -rxcsum6 -txcsum6 -vlanhwcsum -vlanhwtso I tried flipping each one off and on trying to see it was one particular option, and it appears TSO4/TSO6 is where the problems resides vmx0@pci0:3:0:0: class=3D0x020000 card=3D0x07b015ad chip=3D0x07b015a= d rev=3D0x01 hdr=3D0x00 vendor =3D 'VMware' device =3D 'VMXNET3 Ethernet Controller' class =3D network subclass =3D ethernet [1] Hypervisor: Origin =3D "VMwareVMware" [1] vmx0: port 0x4000-0x400f mem 0xfd5fc000-0xfd5fcfff,0xfd5fd000-0xfd5fdfff,0xfd5fe000-0xfd5fffff irq 18 at device 0.0 on pci3 [1] vmx0: port 0x4000-0x400f mem 0xfd5fc000-0xfd5fcfff,0xfd5fd000-0xfd5fdfff,0xfd5fe000-0xfd5fffff irq 18 at device 0.0 on pci3 [1] vmx0: Using 512 tx descriptors and 256 rx descriptors [1] vmx0: Using 2 rx queues 2 tx queues [1] vmx0: failed to allocate 3 MSI-X vectors, err: 6 - using MSI [1] vmx0: Using an MSI interrupt [1] vmx0: Ethernet address: 00:50:56:8f:25:15 [1] vmx0: netmap queues/slots: TX 1/512, RX 1/512 --=20 You are receiving this mail because: You are the assignee for the bug.=