FIX: eth_peer parameter after introducing OptionParams 46/19046/2
authorPeter Mikus <pmikus@cisco.com>
Thu, 18 Apr 2019 14:54:31 +0000 (14:54 +0000)
committerPeter Mikus <pmikus@cisco.com>
Thu, 18 Apr 2019 14:57:25 +0000 (14:57 +0000)
Change-Id: Ief72af680a6252faf749b06b5289b8033af99b2d
Signed-off-by: Peter Mikus <pmikus@cisco.com>
resources/libraries/python/DpdkUtil.py

index 887eae1..edce172 100644 (file)
@@ -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.

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.