aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-10-22 15:49:05 -0700
committerMatthew Smith <mgsmith@netgate.com>2020-10-23 15:35:28 +0000
commit3b62c71e3b641dc354e2d5bb01575aa9a9f66e31 (patch)
tree9d4e1a842e54af027ea65ad694ded7f7e33df406 /src/vnet
parent5f4f2081c47a5d86c9c96b7de23a2b0147c737d8 (diff)
tcp: remove delack time config
Type: refactor Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Iae5045686c62ad9279be350cffeaa41b8297d179
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/tcp/tcp.c1
-rw-r--r--src/vnet/tcp/tcp.h3
2 files changed, 0 insertions, 4 deletions
diff --git a/src/vnet/tcp/tcp.c b/src/vnet/tcp/tcp.c
index d94da2cf390..b04bbe515eb 100644
--- a/src/vnet/tcp/tcp.c
+++ b/src/vnet/tcp/tcp.c
@@ -1425,7 +1425,6 @@ tcp_configuration_init (void)
tcp_cfg.max_gso_size = TCP_MAX_GSO_SZ;
/* Time constants defined as timer tick (100us) multiples */
- tcp_cfg.delack_time = 1000; /* 0.1s */
tcp_cfg.closewait_time = 20000; /* 2s */
tcp_cfg.timewait_time = 100000; /* 10s */
tcp_cfg.finwait1_time = 600000; /* 60s */
diff --git a/src/vnet/tcp/tcp.h b/src/vnet/tcp/tcp.h
index a3b20c88682..2725c1f51cf 100644
--- a/src/vnet/tcp/tcp.h
+++ b/src/vnet/tcp/tcp.h
@@ -163,9 +163,6 @@ typedef struct tcp_configuration_
* a zero rwnd advertisement */
u32 rwnd_min_update_ack;
- /** Delayed ack time (disabled) */
- u32 delack_time;
-
/** Timer ticks to wait for close from app */
u32 closewait_time;