From nobody Thu Oct 16 19:41:03 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 4cndbz1dl5z6D2Xk for ; Thu, 16 Oct 2025 19:41:03 +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 4cndbz17sNz3QJc for ; Thu, 16 Oct 2025 19:41:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760643663; 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=ow4bO5b19hH8RYXOO7c7ReBl1cIgkCQb6LtbxWvFRl8=; b=KoZnAONhBa4AhjYbaix40970l9R0OIOXHLJpauY0vVQTPbOpXT1HkTeP8zjparI0Ckwmua Zrm3wy9jQ5gizcXCzKG/y/Mp2aUzL4MM+cMQRMPqQtePOY+4Omc+o46mprR4uocQ1h14uK gVd3+BGgjXgCvocDXE9c5sI2BwWvoul2oOkDR+U2KG/rO6Ym4lKTygN6Ct7SFHIO6b31/T g8/I9XFDtr7ZPvqM1ch2kfXXcDMFYM0LVyU4+rUH0FpRtXFY4Lo2NG3jDJBH24a6D6S06S 5Ofr4hG0V9C/mjgWt81BxdwUNg9Qv8wjtxB+bqM0h05CZ/pxbk3HqB18uXD9cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760643663; 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=ow4bO5b19hH8RYXOO7c7ReBl1cIgkCQb6LtbxWvFRl8=; b=EaVQp3+6Ze7Zt6O+/AOWpeJPozpAflIT38q1szf0c9mo7xmNw1ngO/ssSjJHjVUQAWXB1k FjIe8D9UEijsDgQ8qHvci6JeHX4y7F4QJuXYiieC/bQjcen+8BZQxaol5V8PPVPC77bG5C 6OhnSqTn1VqG60vizFLzqeW2R0bVoQW8CJIKVcC6/n/r6oM/c6xO92G03SDq9TeeDiQ8tT FiYkvqOlpsREUys/a3VhopouIVIKZNMrCQ+Ms1P0NUDlFJSWAmNE8HrzVTvPGTBMZS9ZtD etHaeeVtyxDCherH0xYyM3hHT5ahSImm6w44KOiy2TXWd+E/2wed/02NyyHFDA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1760643663; a=rsa-sha256; cv=none; b=tx4wwFEsPo8gqWaNKxzzKw3MrJQBBXocWQ6D4NJ2NjqbzGcoktPYYrPFUD/0glfvfdvTht /DWh+I20/Ylosl6nzZW980sm0g/WVK2L5gMbMDTHe5Jdl2B8YsSyIm8rhGYhDtfIULtTy4 hl8Gm7ZXykO+jvyNWybTzkjEQz2Jz4j6o+hZwXpkPFasHmfrt+hZwrEEEikw6KLtCiGokj sZEKoh36iTrHoSafULt54ItptbssjPNAE7q2svaScndPz7R5YUyaM6VReGPKhM2wqgu16a +nxPYtEYdeFkLYih/Y6sxJADbTmBgQorE0VuNW6b9V06jkCUptk1ZdpJSsxNIA== 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 4cndbz0XmDz6Mm for ; Thu, 16 Oct 2025 19:41:03 +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 59GJf2ht005764 for ; Thu, 16 Oct 2025 19:41:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 59GJf2cY005763 for net@FreeBSD.org; Thu, 16 Oct 2025 19:41:02 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 276760] vtnet driver incorrectly calculates checksums Date: Thu, 16 Oct 2025 19:41:03 +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: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tuexen@freebsd.org 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=3D276760 --- Comment #35 from Michael Tuexen --- (In reply to vova from comment #30) Thanks for doing these measurements! Some comments: * Your system and my system are completely different. So I do not expect the same numbers. I was just comparing the numbers between turning offload on and = off. For my system, this does not make much of a difference. And I am not expecting that, because my system is not CPU limited, and all the offload stuff is about reducing CPU cycles. So it behaves expected. * Is the sysctl output from 14.3 or stable/14? hw.vtnet.lro_disable =3D=3D = 1 is the default now in stable/14, which disables HW LRO (not software LRO). But=20 dev.vtnet.0.rxq0.host_lro =3D=3D 216036 indicates that 216036 HW LRO was performed. That seems strange. * The numbers seems to indicate that on stable/14 the receive rate drops by= 30% when you disable tso4, tso6, lro, and rxcsum. That is suspicious. I would assu= me that tso6 is irrelevant assuming that you use IPv4. Can you double check th= at? Also try disabling lro but keep rxcsum. disabling rxcsum should automatical= ly disable lro. And I would not expect tso to have an impact on receiving data. --=20 You are receiving this mail because: You are on the CC list for the bug.=