[dpdk-dev] [PATCH] test: fix the parameter issue of test case

Herbert Guan herbert.guan at arm.com
Thu Jul 13 10:00:36 CEST 2017


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.

Signed-off-by: Herbert Guan <herbert.guan at arm.com>
---
 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 aa2a1a2..12dd91d 100644
--- a/test/test/test_link_bonding.c
+++ b/test/test/test_link_bonding.c
@@ -2789,7 +2789,7 @@ struct rte_fdir_conf fdir_conf = {
 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
-- 
1.8.3.1



More information about the dev mailing list