Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add L2xc/L2bd/Ip4/Ip6 2-node tests for x710
[csit.git]
/
resources
/
libraries
/
python
/
VppConfigGenerator.py
diff --git
a/resources/libraries/python/VppConfigGenerator.py
b/resources/libraries/python/VppConfigGenerator.py
index
e5a5442
..
8611219
100644
(file)
--- 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)
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.
def add_dpdk_uio_driver(self, value=None):
"""Add DPDK uio-driver configuration.