From 2d3bc6f858f197179441ecb5e97b935b1491f894 Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Thu, 18 Apr 2019 14:54:31 +0000 Subject: FIX: eth_peer parameter after introducing OptionParams Change-Id: Ief72af680a6252faf749b06b5289b8033af99b2d Signed-off-by: Peter Mikus --- resources/libraries/python/DpdkUtil.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'resources/libraries/python') 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. -- cgit 1.2.3-korg