[dts] [PATCH] test_plans kni: use correct interface in routing tests.

Rami Rosen rami.rosen at intel.com
Thu Aug 24 23:38:15 CEST 2017


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 <rami.rosen at intel.com>
---
 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 <Core mask> -n 4 -- -P -p <Port mask> --config="<Ports/Cores configuration>" &
 
     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



More information about the dts mailing list