From a048bde9b116f6eb27281e5640d0a4961e90c8f7 Mon Sep 17 00:00:00 2001 From: Herbert Guan Date: Thu, 13 Jul 2017 16:00:36 +0800 Subject: [PATCH] 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 --- test/test/test_link_bonding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1