diff options
Diffstat (limited to 'resources/libraries/python/VppConfigGenerator.py')
-rw-r--r-- | resources/libraries/python/VppConfigGenerator.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/resources/libraries/python/VppConfigGenerator.py b/resources/libraries/python/VppConfigGenerator.py index 154e2e9095..350e1c0881 100644 --- a/resources/libraries/python/VppConfigGenerator.py +++ b/resources/libraries/python/VppConfigGenerator.py @@ -220,6 +220,15 @@ class VppConfigGenerator(object): path = ['api-segment', 'api-size'] self.add_config_item(self._nodeconfig, value, path) + def add_buffers_per_numa(self, value): + """Increase number of buffers allocated. + + :param value: Number of buffers allocated. + :type value: int + """ + path = ['buffers', 'buffers-per-numa'] + self.add_config_item(self._nodeconfig, value, path) + def add_dpdk_dev(self, *devices): """Add DPDK PCI device configuration. @@ -343,15 +352,6 @@ class VppConfigGenerator(object): path = ['dpdk', 'log-level'] 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_no_pci(self): """Add DPDK no-pci.""" path = ['dpdk', 'no-pci'] |