Change tcp config to reflect some recent changes.

Change-Id: Ic151be9ff7114c1fdec22d5ad056654960cf12b2
Signed-off-by: John DeNisco <jdenisco@cisco.com>
This commit is contained in:
John DeNisco
2018-03-01 15:05:22 -05:00
parent 465c087c58
commit 8996cb6f77
7 changed files with 3 additions and 3 deletions

0
extras/vpp_config/scripts/clean.sh Normal file → Executable file
View File

0
extras/vpp_config/scripts/cp-data.sh Normal file → Executable file
View File

0
extras/vpp_config/scripts/dpdk-devbind.py Normal file → Executable file
View File

0
extras/vpp_config/scripts/vpp-config Normal file → Executable file
View File

View File

@ -1,7 +1,7 @@
from setuptools import setup
setup(name="vpp_config",
version="18.01.4",
version="18.01.5",
author="John DeNisco",
author_email="jdenisco@cisco.com",
description="VPP Configuration Utility",

0
extras/vpp_config/vpp_config.py Normal file → Executable file
View File

View File

@ -629,14 +629,14 @@ class AutoConfig(object):
tcp = tcp + " v4-halfopen-table-buckets " + \
"{:d}".format((aos + pos) / 4) + "\n"
tcp = tcp + " v4-halfopen-table-memory 3g\n"
tcp = tcp + " local-endpoints-table-buckets " + "{:d}".format((aos + pos) / 4) + "\n"
tcp = tcp + " local-endpoints-table-memory 3g\n"
tcp = tcp + "}\n\n"
tcp = tcp + "tcp {\n"
tcp = tcp + " preallocated-connections " + "{:d}".format(aos + pos) + "\n"
if aos > 0:
tcp = tcp + " preallocated-half-open-connections " + "{:d}".format(aos) + "\n"
tcp = tcp + " local-endpoints-table-buckets " + "{:d}".format((aos + pos) / 4) + "\n"
tcp = tcp + " local-endpoints-table-memory 3g\n"
tcp = tcp + "}\n\n"
return tcp.rstrip('\n')