test/bonding: fix parameters of a balance Tx
authorHerbert Guan <herbert.guan@arm.com>
Thu, 13 Jul 2017 08:00:36 +0000 (16:00 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 31 Jul 2017 17:58:41 +0000 (19:58 +0200)
commita048bde9b116f6eb27281e5640d0a4961e90c8f7
tree70a923031374af3575deeb7edbee5185bcb72e0e
parent8d3708efece06212bde6b1e10b2251931e1e9961
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>
test/test/test_link_bonding.c