From nobody Fri Nov 07 10:19:33 2025 X-Original-To: net@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 4d2w5y2c6lz6FfFn for ; Fri, 07 Nov 2025 10:19:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4d2w5y1Wr0z41pY for ; Fri, 07 Nov 2025 10:19:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762510774; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=voCzOv8nXPwUeRVU/R+sYj1RH7Bti3ccAkPK+4TOzss=; b=mie5wfGZgAEPR2PEzWrg4H0n361d+gPPkgOahBUS7WC9ZWnNKUKXdxdNvVgMRcZhXhqBo1 NucDa74kcRyP+rJiqHVvpUzq5NV4quCf+4OtAhj/gVW/udH7JWi/3lEfrpkAYw6U54Pjgl c2mfJGPDNwLbnXY69kh1nJH24W0uO9jCtSQoOQf67Y5sZQvFyomLmuZq2gSFLkuf9V8yDn wGsEaLgQ0IvzuYG/hJqWPQHhLdOu/BdJhtWWXFmM2iVglDbpKccZ+yz8WuIAXGdxrQMntG tBDi0d1aNGxIzqM8MtZs4otyQfQ/1WiGQeFNNa89O7Y59PZBnLE3rGs/j/BcQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762510774; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=voCzOv8nXPwUeRVU/R+sYj1RH7Bti3ccAkPK+4TOzss=; b=tk64Dq+xpvYzsuIrRT/rg/UOgcB49fjlezG/X04FEkKLcG3rheWyqzrSvNHReN+sjSeWau faXGWnA8nm/EG9KXyn0n5mPH+ha2ysD9OLoJZBr2Xp8M4vmZcKLLty/pwKc3DQ8taKgeQY rN49ZCChI8HAptKFYZvI1GtWxUIrQsf5KKOEFYwDY8Xk/L1ZQUbV9m/9b8bivgdiAg+vTZ xeo9URHox6TWBE3+2ogoPCTw2qgT4/+BR4EqBT3jW3gkQ9dWfrTDhVLRlBMR1roDr6ew3/ IFC3Fz4KhaapUdXqy5juw4C16benJhX6DSj8n7CEeCDoP/dmfIeRyadqpJKDIg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1762510774; a=rsa-sha256; cv=none; b=o7Z9/I5QSzSbcZjAiXJkzFC4Aj7ZC+3Faf3mQIpu2fwtvgptIGSADk6xrnI2GPpIa+eMnO SEse/umAK3xZXUbAPO94dGTSjOuOGO5jx8JhJN/gWt0BITTKvl6fopWJ/Z+1Y1ZxZWVj5l asvgbo9AQDEB7/uQejNjFPuXJcHBh7KlwLgGiu73I3e0qRMU7yj8ZWMKGrnkhEiBx44eCN ++h97p/SYiCXhXUCU3NQOcZ840rjxyd3N34QLiV/1MD306lCAj2Z02KpSOCWSCr2Nlod3k 5Kwi8t7V3fF7mmPaa//ZsU5F4+Cu7c7PxjlQLH43cd8kgg4lsJb2LVXv4ibeuQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4d2w5y17nGzvx6 for ; Fri, 07 Nov 2025 10:19:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5A7AJY51096695 for ; Fri, 7 Nov 2025 10:19:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5A7AJYfo096694 for net@FreeBSD.org; Fri, 7 Nov 2025 10:19:34 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 290773] vtnet: Severe performance regression since D51686 Date: Fri, 07 Nov 2025 10:19:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.3-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lg@efficientip.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290773 --- Comment #14 from lg@efficientip.com --- (In reply to Michael Tuexen from comment #12) I have tested this, and unfortunately, I still encounter the issue when txc= sum is disabled. From what I understand of your modification (please correct me if I'm wrong= ), you intend to enable tso4 only if txcsum is enabled, correct? For the test using the same SCP as before, I started with the default configuration: ifconfig vtnet0 vtnet0: flags=3D1008843 me= tric 0 mtu 1500 =20=20=20=20=20=20=20 options=3Dec07bb TXCSUM and TSO are both enabled, and it is working. Then I disable txcsum ifconfig vtnet0 -txcsum ifconfig vtnet0 vtnet0: flags=3D1008843 me= tric 0 mtu 1500 =20=20=20=20=20=20=20 options=3Dec07b9 TXCSUM is disabled but TSO4 is still enabled, and it is not working all pac= ket are dropped Next I disable the tso4 ifconfig vtnet0 -tso4=20 ifconfig vtnet0 vtnet0: flags=3D1008843 me= tric 0 mtu 1500 =20=20=20=20=20=20=20 options=3Dec06b9 TXCSUM and TSO are both disabled, and it is working. Then I try to re-enabled tso4 ifconfig vtnet0 tso4 ifconfig vtnet0 vtnet0: flags=3D1008843 me= tric 0 mtu 1500 =20=20=20=20=20=20=20 options=3Dec06b9 As you can see, TSO4 remained disabled. I believe this is the expected behavior. Then enabling TXCSUM ifconfig vtnet0 txcsum ifconfig vtnet0 vtnet0: flags=3D1008843 me= tric 0 mtu 1500 =20=20=20=20=20=20=20 options=3Dec06bb Here it is working fine And finally enabling TSO4 ifconfig vtnet0 tso4 ifconfig vtnet0 vtnet0: flags=3D1008843 me= tric 0 mtu 1500 =20=20=20=20=20=20=20 options=3Dec07bb Now TSO4 is enabling correctly. --=20 You are receiving this mail because: You are on the CC list for the bug.=