diff options
author | Dave Wallace <dwallacelf@gmail.com> | 2020-01-21 19:02:14 +0000 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2020-01-29 15:48:30 +0000 |
commit | 676f4ae7d4df07dc41471e829f9d4c0b7a5bc8ca (patch) | |
tree | 3d0dd8bd2870815873297731484ee23ae943f2c0 /resources/libraries/python/VppConfigGenerator.py | |
parent | 40bd774810d9e328f96725bcbf5f52ace04ac9a2 (diff) |
perf: hoststack iperf3 test tuning
Change-Id: I53425f57fe9ecef9cff2c94642cc7cb24537a961
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
(cherry picked from commit b340b5c9925b43869b91197850504760757a0bfe)
Diffstat (limited to 'resources/libraries/python/VppConfigGenerator.py')
-rw-r--r-- | resources/libraries/python/VppConfigGenerator.py | 9 |
1 files changed, 9 insertions, 0 deletions
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. |