From: jmc Date: Tue, 16 May 2023 21:13:19 +0000 (+0000) Subject: add net.inet.tcp.tso; X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=aec97d68d3182d1ee2ce365051fc0448bd00ec98;p=openbsd add net.inet.tcp.tso; ok jan bluhm --- diff --git a/lib/libc/sys/sysctl.2 b/lib/libc/sys/sysctl.2 index 431f3ca9247..4f78c121ae2 100644 --- a/lib/libc/sys/sysctl.2 +++ b/lib/libc/sys/sysctl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.2,v 1.51 2022/11/07 15:32:24 jmc Exp $ +.\" $OpenBSD: sysctl.2,v 1.52 2023/05/16 21:13:19 jmc Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: November 7 2022 $ +.Dd $Mdocdate: May 16 2023 $ .Dt SYSCTL 2 .Os .Sh NAME @@ -1336,6 +1336,7 @@ The currently defined protocols and names are: .It tcp Ta syncachelimit Ta integer Ta yes .It tcp Ta synhashsize Ta integer Ta yes .It tcp Ta synuselimit Ta integer Ta yes +.It tcp Ta tso Ta integer Ta yes .It udp Ta baddynamic Ta array Ta yes .It udp Ta checksum Ta integer Ta yes .It udp Ta recvspace Ta integer Ta yes @@ -1742,6 +1743,9 @@ SYN cache becomes empty and both SYN caches are swapped. .It Li tcp.synuselimit Pq Va net.inet.tcp.synuselimit The minimum number of times the hash function for the TCP SYN cache is used before it is reseeded. +.It Li tcp.tso Pq Va net.inet.tcp.tso +If set to 0, disable TCP segmentation offload (TSO). +If set to 1, TSO is enabled (the default). .It Li udp.baddynamic Pq Va net.inet.udp.baddynamic Analogous to .Li tcp.baddynamic