From: Herbert Guan Date: Thu, 13 Jul 2017 08:00:36 +0000 (+0800) Subject: test/bonding: fix parameters of a balance Tx X-Git-Tag: spdx-start~2294 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=a048bde9b116f6eb27281e5640d0a4961e90c8f7;p=dpdk.git test/bonding: fix parameters of a balance Tx When test case "test_balance_l23_tx_burst_ipv4_toggle_ip_addr" is calling balance_l23_tx_burst(), the ip_addr instead of mac_addr should be toggled according to the test name. Fixes: 92073ef961ee ("bond: unit tests") Cc: stable@dpdk.org Signed-off-by: Herbert Guan Acked-by: Jianbo Liu Acked-by: Declan Doherty --- diff --git a/test/test/test_link_bonding.c b/test/test/test_link_bonding.c index 140d864ee6..cc6011211d 100644 --- a/test/test/test_link_bonding.c +++ b/test/test/test_link_bonding.c @@ -2775,7 +2775,7 @@ balance_l23_tx_burst(uint8_t vlan_enabled, uint8_t ipv4, static int test_balance_l23_tx_burst_ipv4_toggle_ip_addr(void) { - return balance_l23_tx_burst(0, 1, 1, 0); + return balance_l23_tx_burst(0, 1, 0, 1); } static int