From nobody Fri Sep 05 18:45:08 2025 X-Original-To: dev-commits-src-all@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 4cJQJP2rJPz66DDB; Fri, 05 Sep 2025 18:45:09 +0000 (UTC) (envelope-from git@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 4cJQJP0VlTz3GXm; Fri, 05 Sep 2025 18:45:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757097909; 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; bh=mdLFsx2ryJfDuyeMZYw+SFOXhIpJt7ehd5gvTev4PSY=; b=DQpTPzKp5o4pzaCeDiY71uYUjvBnkvJn/3K4JLiQX+byZdMF9kJtWrAgzdv4BwQy+htXcg XHrdWqQujCWI/bUqj9mt9hqfUm3K/A4ntBCSKK8ifYRhlY+egi5I1lF8FYsgfcZ9r1NT1B TG+/Q2+Q17rfiogwcZolREcIUXWbp6bDcOUAemspM1JluZwyWZq4StMKRAzBUfZgWpwZBt 7fpxZSH8qQ5dzip8+crBtXNXgwqZG1ylt0L8ixG/FfIoHc7u4zcCd55gEBbq0euKy91BrA y1sJv+hyyjf5clpm0Ocyvqe0sLMuel6E618YRA77DI9+X06IysJBmqNu3ncy5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757097909; 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; bh=mdLFsx2ryJfDuyeMZYw+SFOXhIpJt7ehd5gvTev4PSY=; b=ODYaIO5iy/0Z+MiLHEtU61Mk2EzXsxhIZm+wMySrCpQOUsbLIBI4Csb6zLP4g2ENCaxQKH PS6A3sIKKWXq5IHTDdz5rIL/1Kni7drWrJQEBAg6Up33u/k2YC6nmwMuXBsEn70af0a8l7 lK+tsHIoMCnI0iHYHL3yA8tstFGY/ooKu7tIzCLsvUx9WAnNTBp4hX4IojT7DEMsvy6sAe /N5SQaYrK8mVjm4mYF6znBe6exkE35Goy6gX2a1Bk7CcfR80arg/yKXw2jGphwO+13ZeRA JiN5d25RvbVxAUgIryBlX/3lXqOd8HMXeNbjSmue987JxGra7/yfAw1co0AAhQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1757097909; a=rsa-sha256; cv=none; b=AkxcX/BAvce4K5BMu9b9gjGFhLOkuwRJNyhNwoWQk90Wcq5ffTgYpfPn271L/T/asB1sVo PpQxPkz3KAVRWgki5p3cSl0Nv0/vx847h/AP3kN+xN/lwsVlK9txG8bSZTbhOynLFUNlEi lwpn6m7wsi6a6P/3mQi16B0fqqr+2vWNldyftbXAVdgRQniYGB90s/y7GXvHf0JiPcUkDJ FQF8AcuM7pPWiIgpbD+8TjzYfSlIRQH+1B3uJdSkYdkOc5DOGrGOYtFWM7HqiPPdXnZ0xf 6LitijssFlbL7MjvWUfyBv7RKuodZiRV4Qn4IrSuR9P7Prk0Hu6B5W3bJcp58g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4cJQJP066dz11BL; Fri, 05 Sep 2025 18:45:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 585Ij88Z097850; Fri, 5 Sep 2025 18:45:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 585Ij8q7097847; Fri, 5 Sep 2025 18:45:08 GMT (envelope-from git) Date: Fri, 5 Sep 2025 18:45:08 GMT Message-Id: <202509051845.585Ij8q7097847@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Michael Tuexen Subject: git: 226cfd057e20 - stable/14 - vtnet.4: update description of loader tunables List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tuexen X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 226cfd057e205cb5e3ef23e97271e2189e6c40e0 Auto-Submitted: auto-generated The branch stable/14 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=226cfd057e205cb5e3ef23e97271e2189e6c40e0 commit 226cfd057e205cb5e3ef23e97271e2189e6c40e0 Author: Michael Tuexen AuthorDate: 2025-07-29 07:17:52 +0000 Commit: Michael Tuexen CommitDate: 2025-09-05 18:42:20 +0000 vtnet.4: update description of loader tunables This is based on the description of sysctl -d. Reviewed by: Timo Völker, bcr Differential Revision: https://reviews.freebsd.org/D51604 (cherry picked from commit 0ded4647215cffde9076ab4e82870b0f491bd0b2) --- share/man/man4/vtnet.4 | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/share/man/man4/vtnet.4 b/share/man/man4/vtnet.4 index e45a47ff6c87..7f5186ef4165 100644 --- a/share/man/man4/vtnet.4 +++ b/share/man/man4/vtnet.4 @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd January 22, 2012 +.Dd July 29, 2025 .Dt VTNET 4 .Os .Sh NAME @@ -70,6 +70,11 @@ prompt before booting the kernel or stored in .It Va hw.vtnet. Ns Ar X Ns Va .csum_disable This tunable disables receive and send checksum offload. The default value is 0. +.It Va hw.vtnet.fixup_needs_csum +.It Va hw.vtnet. Ns Ar X Ns Va .fixup_needs_csum +This tunable enforces the calculation of a valid checksum for NEEDS_CSUM +packets. +The default value is 0. .It Va hw.vtnet.tso_disable .It Va hw.vtnet. Ns Ar X Ns Va .tso_disable This tunable disables TSO. @@ -91,6 +96,22 @@ The number of queue pairs used is the lesser of the maximum supported by the driver and the hypervisor, the number of CPUs present in the guest, and this tunable if not zero. The default value is 0. +.It Va hw.vtnet.tso_maxlen +.It Va hw.vtnet. Ns Ar X Ns Va .tso_maxlen +This tunable sets the TSO burst limit. +The default value is 65535. +.It Va hw.vtnet.rx_process_limit +.It Va hw.vtnet. Ns Ar X Ns Va .rx_process_limit +This tunable sets the number of RX segments processed in one pass. +The default value is 1024. +.It Va hw.vtnet.lro_entry_count +.It Va hw.vtnet. Ns Ar X Ns Va .lro_entry_count +This tunable sets the software LRO entry count. +The default value is 128, the minimum value is 8. +.It Va hw.vtnet.lro_mbufq_depth +.It Va hw.vtnet. Ns Ar X Ns Va .lro_mbufq_depth +This tunable sets the depth of the software LRO mbuf queue. +The default value is 0. .El .Sh SEE ALSO .Xr arp 4 ,