diff options
author | Peter Mikus <pmikus@cisco.com> | 2017-06-28 22:14:51 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2017-07-04 04:19:06 +0000 |
commit | 036e5a85bab081bfa94b8c025c06aee0addb94cb (patch) | |
tree | a2e5ca1a274d5d08bcff3c8f15f1348c50ecb62f /resources/libraries/python/VppConfigGenerator.py | |
parent | 9e8d4d47cc09daa4bf44103d3f1e32206ff55556 (diff) |
XL710 Configure rxd/txd 2048
Configure RX-desc and TX-desc to 2048 for FVL XL710 cards.
Change-Id: I1876f332bdc6100bf24f2b2317de33c0d1a4c9bf
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/python/VppConfigGenerator.py')
-rw-r--r-- | resources/libraries/python/VppConfigGenerator.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/resources/libraries/python/VppConfigGenerator.py b/resources/libraries/python/VppConfigGenerator.py index eb628de587..0331648269 100644 --- a/resources/libraries/python/VppConfigGenerator.py +++ b/resources/libraries/python/VppConfigGenerator.py @@ -184,6 +184,25 @@ class VppConfigGenerator(object): path = ['dpdk', 'dev default', 'num-tx-queues'] self.add_config_item(self._nodeconfig, value, path) + def add_dpdk_dev_default_rxd(self, value): + """Add DPDK dev default rxd configuration. + + :param value: Default number of rxds. + :type value: str + """ + path = ['dpdk', 'dev default', 'num-rx-desc'] + self.add_config_item(self._nodeconfig, value, path) + + def add_dpdk_dev_default_txd(self, value): + """Add DPDK dev default txd configuration. + + :param value: Default number of txds. + :type value: str + """ + path = ['dpdk', 'dev default', 'num-tx-desc'] + self.add_config_item(self._nodeconfig, value, path) + + def add_dpdk_socketmem(self, value): """Add DPDK socket memory configuration. |