You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2023/02/07 19:12:31 UTC
[trafficserver] branch master updated: Enable UDP GSO by default (#9386)
This is an automated email from the ASF dual-hosted git repository.
maskit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new b13dac0483 Enable UDP GSO by default (#9386)
b13dac0483 is described below
commit b13dac04835f5e0c09e2054bc67fd173416f59d7
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Tue Feb 7 12:12:25 2023 -0700
Enable UDP GSO by default (#9386)
---
doc/admin-guide/files/records.yaml.en.rst | 2 +-
mgmt/RecordsConfig.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/admin-guide/files/records.yaml.en.rst b/doc/admin-guide/files/records.yaml.en.rst
index 578251dd8a..6d72e7ad15 100644
--- a/doc/admin-guide/files/records.yaml.en.rst
+++ b/doc/admin-guide/files/records.yaml.en.rst
@@ -4684,7 +4684,7 @@ UDP Configuration
Specifies the number of UDP threads to run. By default 0 threads are dedicated to UDP,
which results in effectively disabling UDP support.
-.. ts:cv:: CONFIG proxy.config.udp.enable_gso INT 0
+.. ts:cv:: CONFIG proxy.config.udp.enable_gso INT 1
Enables (``1``) or disables (``0``) UDP GSO. When enabled, |TS| tries to use UDP GSO,
and disables it automatically if it causes send errors.
diff --git a/mgmt/RecordsConfig.cc b/mgmt/RecordsConfig.cc
index d56863c1eb..bbc08003ea 100644
--- a/mgmt/RecordsConfig.cc
+++ b/mgmt/RecordsConfig.cc
@@ -260,7 +260,7 @@ static const RecordElement RecordsConfig[] =
,
{RECT_CONFIG, "proxy.config.udp.threads", RECD_INT, "0", RECU_NULL, RR_NULL, RECC_NULL, nullptr, RECA_NULL}
,
- {RECT_CONFIG, "proxy.config.udp.enable_gso", RECD_INT, "0", RECU_NULL, RR_NULL, RECC_NULL, nullptr, RECA_NULL}
+ {RECT_CONFIG, "proxy.config.udp.enable_gso", RECD_INT, "1", RECU_NULL, RR_NULL, RECC_NULL, nullptr, RECA_NULL}
,
//##############################################################################