From patchwork Thu Jul 13 08:00:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herbert Guan X-Patchwork-Id: 26871 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 9107B29CB; Thu, 13 Jul 2017 10:00:53 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by dpdk.org (Postfix) with ESMTP id 0EB48231E for ; Thu, 13 Jul 2017 10:00:51 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1FBC580D; Thu, 13 Jul 2017 01:00:51 -0700 (PDT) Received: from localhost.localdomain.com (unknown [10.169.40.48]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 659CD3F3E1; Thu, 13 Jul 2017 01:00:50 -0700 (PDT) From: Herbert Guan To: dev@dpdk.org, declan.doherty@intel.com, jianbo.liu@linaro.org Cc: Herbert Guan Date: Thu, 13 Jul 2017 16:00:36 +0800 Message-Id: <1499932836-25309-1-git-send-email-herbert.guan@arm.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH] test: fix the parameter issue of test case X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 Acked-by: Jianbo Liu Acked-by: Declan Doherty Acked-by: Jianbo Liu --- 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