From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 1CBB57D0D for ; Thu, 24 Aug 2017 23:37:57 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Aug 2017 14:37:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,422,1498546800"; d="scan'208";a="127966218" Received: from imail001.iil.intel.com ([10.184.207.12]) by orsmga002.jf.intel.com with ESMTP; 24 Aug 2017 14:37:54 -0700 Received: from PAE-i-server5.iil.intel.com (pae-i-server5.iil.intel.com [143.185.141.162]) by imail001.iil.intel.com with ESMTP id v7OLcIZK027631; Fri, 25 Aug 2017 00:38:18 +0300 From: Rami Rosen To: yong.liu@intel.com Cc: dts@dpdk.org, Rami Rosen Date: Fri, 25 Aug 2017 00:38:15 +0300 Message-Id: <20170824213815.21610-1-rami.rosen@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [dts] [PATCH] test_plans kni: use correct interface in routing tests. X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2017 21:37:58 -0000 This patch fixes the two routing modes tests in kni test plan to use the correct interfaces; the second interface should be in both cases vEth3_0 and not vEth2_0. Signed-off-by: Rami Rosen --- test_plans/kni_test_plan.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_plans/kni_test_plan.rst b/test_plans/kni_test_plan.rst index 2f1b65b60e9d..fc10f5eab5ab 100644 --- a/test_plans/kni_test_plan.rst +++ b/test_plans/kni_test_plan.rst @@ -560,7 +560,7 @@ The application is launched and the bridge is setup using the commands below:: ./build/app/kni -c -n 4 -- -P -p --config="" & ifconfig vEth2_0 192.170.2.1 - ifconfig vEth2_0 192.170.3.1 + ifconfig vEth3_0 192.170.3.1 route add -net 192.170.2.0 netmask 255.255.255.0 gw 192.170.2.1 route add -net 192.170.3.0 netmask 255.255.255.0 gw 192.170.3.1 arp -s 192.170.2.2 vEth2_0 @@ -593,7 +593,7 @@ Set up the interfaces and the bridge:: echo 1 > /proc/sys/net/ipv4/ip_forward rmmod rte_kni ifconfig vEth2_0 192.170.2.1 - ifconfig vEth2_0 192.170.3.1 + ifconfig vEth3_0 192.170.3.1 route add -net 192.170.2.0 netmask 255.255.255.0 gw 192.170.2.1 route add -net 192.170.3.0 netmask 255.255.255.0 gw 192.170.3.1 arp -s 192.170.2.2 vEth2_0 -- 2.11.0