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 <herbert.guan@arm.com>
Acked-by: Jianbo Liu <jianbo.liu@linaro.org>
Acked-by: Declan Doherty <declan.doherty@intel.com>
This commit is contained in:
Herbert Guan 2017-07-13 16:00:36 +08:00 committed by Ferruh Yigit
parent 8d3708efec
commit a048bde9b1

View File

@ -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