[dts] [PATCH] test_plans: modify the L2 tunnel filter command format

Peng Yuan yuan.peng at intel.com
Wed Nov 15 09:49:26 CET 2017


Signed-off-by: Peng Yuan <yuan.peng at intel.com>

diff --git a/test_plans/generic_flow_api_test_plan.rst b/test_plans/generic_flow_api_test_plan.rst
index f7ce61e..73d1a9a 100644
--- a/test_plans/generic_flow_api_test_plan.rst
+++ b/test_plans/generic_flow_api_test_plan.rst
@@ -805,7 +805,7 @@ Test case: IXGBE L2-tunnel(supported by x552 and x550)
 
 1. Launch the app ``testpmd`` with the following arguments::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -w 05:00.0 --file-prefix=pf --socket-mem=1024,1024 -- -i --rxq=16 --txq=16 --disable-rss
+    ./x86_64-native-linuxapp-gcc/app/testpmd -c 1ffff -n 4 -w 05:00.0 --file-prefix=pf --socket-mem=1024,1024 -- -i --rxq=16 --txq=16
     testpmd> set fwd rxonly
     testpmd> set verbose 1
     testpmd> start
@@ -830,9 +830,9 @@ Test case: IXGBE L2-tunnel(supported by x552 and x550)
 
 2. create filter rules::
 
-    testpmd> flow create 0 ingress pattern e_tag grp_ecid_b is 0x1309 / end actions queue index 0 / end
-    testpmd> flow create 0 ingress pattern e_tag grp_ecid_b is 0x1308 / end actions queue index 1 / end
-    testpmd> flow create 0 ingress pattern e_tag grp_ecid_b is 0x1307 / end actions queue index 2 / end
+    testpmd> flow create 0 ingress pattern e_tag grp_ecid_b is 0x1309 / end actions vf id 0 / end
+    testpmd> flow create 0 ingress pattern e_tag grp_ecid_b is 0x1308 / end actions vf id 1 / end
+    testpmd> flow create 0 ingress pattern e_tag grp_ecid_b is 0x1307 / end actions pf / end
 
 3. send packets::
 
@@ -841,7 +841,7 @@ Test case: IXGBE L2-tunnel(supported by x552 and x550)
     pkt3 = Ether(dst="00:11:22:33:44:55")/Dot1BR(GRP=0x1, ECIDbase=0x307)/Raw('x' * 20)
     pkt4 = Ether(dst="00:11:22:33:44:55")/Dot1BR(GRP=0x2, ECIDbase=0x309)/Raw('x' * 20)
 
-   verify pkt1 to vf0 queue0, pkt2 to vf1 queue0, pkt3 to pf queue0,
+   verify pkt1 to vf0, pkt2 to vf1, pkt3 to pf,
    pkt4 can't received by pf and vfs.
 
 4. verify rules can be listed and destroyed::
-- 
2.5.0



More information about the dts mailing list