summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerbert Guan <herbert.guan@arm.com>2017-07-13 16:00:36 +0800
committerYuanhan Liu <yliu@fridaylinux.org>2017-08-29 14:55:37 +0800
commitbcf65d200fa4453889b6949c017247c91e3f62e6 (patch)
tree9d392d0916234a02ef42896229156700f6adc341
parentb893dbdd0a66349cb79bd75b929a441c12f00ac1 (diff)
downloaddpdk-stable-bcf65d200fa4453889b6949c017247c91e3f62e6.zip
dpdk-stable-bcf65d200fa4453889b6949c017247c91e3f62e6.tar.gz
dpdk-stable-bcf65d200fa4453889b6949c017247c91e3f62e6.tar.xz
test/bonding: fix parameters of a balance Tx
[ upstream commit a048bde9b116f6eb27281e5640d0a4961e90c8f7 ] 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") 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>
-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 aeb234f..2bbf6b5 100644
--- a/test/test/test_link_bonding.c
+++ b/test/test/test_link_bonding.c
@@ -2771,7 +2771,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