aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2019-04-18 14:54:31 +0000
committerPeter Mikus <pmikus@cisco.com>2019-04-18 14:57:25 +0000
commit2d3bc6f858f197179441ecb5e97b935b1491f894 (patch)
tree9b7805ee4b37cca6ab0fe2f780facd039b60d224 /resources/libraries
parent1fa2af771c1c6ead8ffee862cb972795b812e7a1 (diff)
FIX: eth_peer parameter after introducing OptionParams
Change-Id: Ief72af680a6252faf749b06b5289b8033af99b2d Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries')
-rw-r--r--resources/libraries/python/DpdkUtil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/python/DpdkUtil.py b/resources/libraries/python/DpdkUtil.py
index 887eae156e..edce1721fe 100644
--- a/resources/libraries/python/DpdkUtil.py
+++ b/resources/libraries/python/DpdkUtil.py
@@ -75,8 +75,8 @@ class DpdkUtil(object):
options.add_if_from_dict(
'disable-hw-vlan', 'pmd_disable_hw_vlan', kwargs, True)
# Set the MAC address XX:XX:XX:XX:XX:XX of the peer port N
- options.add_equals_from_dict('eth-peer', 'pmd_eth-peer_0', kwargs)
- options.add_equals_from_dict('eth-peer', 'pmd_eth-peer_1', kwargs)
+ options.add_equals_from_dict('eth-peer', 'pmd_eth_peer_0', kwargs)
+ options.add_equals_from_dict('eth-peer', 'pmd_eth_peer_1', kwargs)
# Set the max packet length.
options.add_equals_from_dict('max-pkt-len', 'pmd_max_pkt_len', kwargs)
# Set the number of forwarding cores based on coremask.