summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHerbert Guan <herbert.guan@arm.com>2017-07-13 16:00:36 +0800
committerFerruh Yigit <ferruh.yigit@intel.com>2017-07-31 19:58:41 +0200
commita048bde9b116f6eb27281e5640d0a4961e90c8f7 (patch)
tree70a923031374af3575deeb7edbee5185bcb72e0e /test
parent8d3708efece06212bde6b1e10b2251931e1e9961 (diff)
downloaddpdk-a048bde9b116f6eb27281e5640d0a4961e90c8f7.zip
dpdk-a048bde9b116f6eb27281e5640d0a4961e90c8f7.tar.gz
dpdk-a048bde9b116f6eb27281e5640d0a4961e90c8f7.tar.xz
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>
Diffstat (limited to 'test')
-rw-r--r--test/test/test_link_bonding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test/test_link_bonding.c b/test/test/test_link_bonding.c
index 140d864..cc60112 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