aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/VppConfigGenerator.py
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2018-06-28 12:26:46 +0000
committerPeter Mikus <pmikus@cisco.com>2018-07-16 08:22:39 +0000
commit31fde19fbd557f66d5ec6ae2315b304573766e9d (patch)
treef0c92b1ec7a807756fe6853c3a62879ea667547e /resources/libraries/python/VppConfigGenerator.py
parent9d96572e1962b0558001a7d0d42e1cad803fbc52 (diff)
Add L2xc/L2bd/Ip4/Ip6 2-node tests for x710
- CSIT-1161 Add 2-node L2XC tests - CSIT-1160 Add 2-node L2BD tests - CSIT-1157 Add 2-node IP4 tests - CSIT-1153 Add 2-node IP6 KW - CSIT-1158 Add 2-node IP6 tests Change-Id: I7c8fed7018bb355c0de73f6a8bc3a8ec80366972 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/python/VppConfigGenerator.py')
-rw-r--r--resources/libraries/python/VppConfigGenerator.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/resources/libraries/python/VppConfigGenerator.py b/resources/libraries/python/VppConfigGenerator.py
index e5a54422c7..8611219eed 100644
--- a/resources/libraries/python/VppConfigGenerator.py
+++ b/resources/libraries/python/VppConfigGenerator.py
@@ -352,6 +352,15 @@ class VppConfigGenerator(object):
path = ['dpdk', 'socket-mem']
self.add_config_item(self._nodeconfig, value, path)
+ def add_dpdk_num_mbufs(self, value):
+ """Add DPDK number of I/O buffers.
+
+ :param value: Number of I/O buffers.
+ :type value: int
+ """
+ path = ['dpdk', 'num-mbufs']
+ self.add_config_item(self._nodeconfig, value, path)
+
def add_dpdk_uio_driver(self, value=None):
"""Add DPDK uio-driver configuration.