From b340b5c9925b43869b91197850504760757a0bfe Mon Sep 17 00:00:00 2001 From: Dave Wallace Date: Tue, 21 Jan 2020 19:02:14 +0000 Subject: perf: hoststack iperf3 test tuning Change-Id: I53425f57fe9ecef9cff2c94642cc7cb24537a961 Signed-off-by: Dave Wallace --- resources/libraries/python/VppConfigGenerator.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'resources/libraries/python/VppConfigGenerator.py') diff --git a/resources/libraries/python/VppConfigGenerator.py b/resources/libraries/python/VppConfigGenerator.py index 3318f57d63..7a687ae200 100644 --- a/resources/libraries/python/VppConfigGenerator.py +++ b/resources/libraries/python/VppConfigGenerator.py @@ -495,6 +495,15 @@ class VppConfigGenerator: path = [u"nat"] self.add_config_item(self._nodeconfig, value, path) + def add_tcp_congestion_control_algorithm(self, value=u"cubic"): + """Add TCP congestion control algorithm. + + :param value: The congestion control algorithm to use. Example: cubic + :type value: str + """ + path = [u"tcp", u"cc-algo"] + self.add_config_item(self._nodeconfig, value, path) + def add_tcp_preallocated_connections(self, value): """Add TCP pre-allocated connections. -- cgit 1.2.3-korg