* [dts] [PATCH] test_plans kni: use correct interface in routing tests.
@ 2017-08-24 21:38 Rami Rosen
2017-08-25 11:28 ` Liu, Yong
0 siblings, 1 reply; 2+ messages in thread
From: Rami Rosen @ 2017-08-24 21:38 UTC (permalink / raw)
To: yong.liu; +Cc: dts, Rami Rosen
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@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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH] test_plans kni: use correct interface in routing tests.
2017-08-24 21:38 [dts] [PATCH] test_plans kni: use correct interface in routing tests Rami Rosen
@ 2017-08-25 11:28 ` Liu, Yong
0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2017-08-25 11:28 UTC (permalink / raw)
To: Rami Rosen; +Cc: dts
Thanks, Rami. Applied.
On 08/25/2017 05:38 AM, Rami Rosen wrote:
> 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@intel.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-25 2:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-24 21:38 [dts] [PATCH] test_plans kni: use correct interface in routing tests Rami Rosen
2017-08-25 11:28 ` Liu, Yong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).