aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/tcp/tcp.h
diff options
context:
space:
mode:
authorSimon Zhang <yuwei1.zhang@intel.com>2020-09-15 23:40:28 +0800
committerSimon Zhang <yuwei1.zhang@intel.com>2020-09-16 02:18:01 +0000
commit23c3d349e52e57600aaaf3ef32e4264fffb2d0db (patch)
tree12406d14b5d8fc24bcfbba42c514171d983e6abd /src/vnet/tcp/tcp.h
parent2237cc8ce1e0eb7222a34bb30bdeb2f3f1df9a81 (diff)
tcp: make max gso packet size configurable
Type: improvement Signed-off-by: Simon Zhang <yuwei1.zhang@intel.com> Change-Id: I14de90f07d825c5c99023996a88173ee855e9a6f
Diffstat (limited to 'src/vnet/tcp/tcp.h')
-rw-r--r--src/vnet/tcp/tcp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/tcp/tcp.h b/src/vnet/tcp/tcp.h
index bc6e353b60e..29d30dc0691 100644
--- a/src/vnet/tcp/tcp.h
+++ b/src/vnet/tcp/tcp.h
@@ -193,6 +193,9 @@ typedef struct tcp_configuration_
/** Number of preallocated half-open connections */
u32 preallocated_half_open_connections;
+ /** Maxium allowed GSO packet size */
+ u32 max_gso_size;
+
/** Vectors of src addresses. Optional unless one needs > 63K active-opens */
ip4_address_t *ip4_src_addrs;
ip6_address_t *ip6_src_addrs;