From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 56B103239 for ; Thu, 17 Sep 2015 03:08:04 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP; 16 Sep 2015 18:08:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,543,1437462000"; d="scan'208";a="563160055" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by FMSMGA003.fm.intel.com with ESMTP; 16 Sep 2015 18:08:02 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t8H17xcC006831; Thu, 17 Sep 2015 09:07:59 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t8H17vbF004191; Thu, 17 Sep 2015 09:07:59 +0800 Received: (from yufengmx@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t8H17vKx004187; Thu, 17 Sep 2015 09:07:57 +0800 From: Yufen Mo To: dts@dpdk.org Date: Thu, 17 Sep 2015 09:07:51 +0800 Message-Id: <1442452074-4148-2-git-send-email-yufengx.mo@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1442452074-4148-1-git-send-email-yufengx.mo@intel.com> References: <1442452074-4148-1-git-send-email-yufengx.mo@intel.com> Subject: [dts] [dts 1/4] add unified packet type module and test suite 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, 17 Sep 2015 01:08:05 -0000 From: yufengmx fix some issue of the test plan for unified packet type Signed-off-by: yufengmx --- test_plans/uni_pkt_test_plan.rst | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/test_plans/uni_pkt_test_plan.rst b/test_plans/uni_pkt_test_plan.rst index c42308b..5ef661c 100644 --- a/test_plans/uni_pkt_test_plan.rst +++ b/test_plans/uni_pkt_test_plan.rst @@ -68,14 +68,14 @@ Send time sync packet from tester:: Check below message dumped by testpmd:: (outer) L2 type: ETHER_Timesync - + Send ARP packet from tester:: sendp([Ether(dst='FF:FF:FF:FF:FF:FF')/ARP()], iface=txItf) Check below message dumped by testpmd:: (outer) L2 type: ETHER_ARP - + Send LLDP packet from tester:: sendp([Ether()/LLDP()/LLDPManagementAddress()], iface=txItf) @@ -85,13 +85,12 @@ Check below message dumped by testpmd:: Test Case: IPv4&L4 packet type detect ===================================== This case checked that whether L3 and L4 packet can be normally detected. -Niantic and i350 will shown that L2 type is MAC. Only Fortville can detect icmp packet. Only niantic and i350 can detect ipv4 extension packet. -Fortville did not detect whether packet contian ipv4 header options, so L3 +Fortville did not detect whether packet contain ipv4 header options, so L3 type will be shown as IPV4_EXT_UNKNOWN. Fortville will identify all unrecognized L4 packet as L4_NONFRAG. -Only Fortville can inentify L4 fragement packet. +Only Fortville can identify L4 fragment packet. Send IP only packet and verify L2/L3/L4 corrected:: sendp([Ether()/IP()/Raw('\0'*60)], iface=txItf) @@ -142,11 +141,10 @@ Send IP extension+SCTP packet and verify L2/L3/L4 corrected(Niantic,i350):: Test Case: IPv6&L4 packet type detect ===================================== This case checked that whether IPv6 and L4 packet can be normally detected. -Niantic and i350 will shown that L2 type is MAC. -Fortville did not detect whether packet contian ipv6 extension options, so L3 +Fortville did not detect whether packet contain ipv6 extension options, so L3 type will be shown as IPV6_EXT_UNKNOWN. Fortville will identify all unrecognized L4 packet as L4_NONFRAG. -Only Fortville can inentify L4 fragement packet. +Only Fortville can identify L4 fragment packet. Send IPv6 only packet and verify L2/L3/L4 corrected:: sendp([Ether()/IPv6()/Raw('\0'*60)], iface=txItf) @@ -214,7 +212,7 @@ Send IPv4+IPv4+SCTP packet and verify inner and outer L2/L3/L4 corrected:: Inner L4 type: SCTP Send IPv4+IPv4+ICMP packet and verify inner and outer L2/L3/L4 corrected:: - sendp([Ether()/IP()/IP()/SCTP()/Raw('\0'*40)],iface=txItf) + sendp([Ether()/IP()/IP()/ICMP()/Raw('\0'*40)],iface=txItf) Inner L4 type: ICMP @@ -257,7 +255,7 @@ detected by Niantic and i350. Send IPv4+IPv6 packet and verify inner and outer L2/L3/L4 corrected:: sendp([Ether()/IP()/IPv6()/Raw('\0'*40)], iface=txItf) - (outer) L2 type: MAC + (outer) L2 type: ETHER (outer) L3 type: IPV4 (outer) L4 type: Unknown Tunnel type: IP @@ -332,7 +330,7 @@ Send IPv4+IPv4+SCTP packet and verify inner and outer L2/L3/L4 corrected:: Inner L4 type: SCTP Send IPv4+IPv4+ICMP packet and verify inner and outer L2/L3/L4 corrected:: - sendp([Ether()/IP()/IP()/SCTP()/Raw('\0'*40)],iface=txItf) + sendp([Ether()/IP()/IP()/ICMP()/Raw('\0'*40)],iface=txItf) Inner L4 type: ICMP @@ -501,7 +499,7 @@ Send IPV6+NVGRE+MAC packet and verify inner and outer L2/L3/L4 corrected:: (outer) L4 type: Unknown Tunnel type: GRENAT Inner L2 type: ETHER - Inner L3 type: Unkown + Inner L3 type: Unknown Inner L4 type: Unknown Send IPV6+NVGRE+MAC+IPv4 fragment packet and verify inner and outer L2/L3/L4 @@ -722,7 +720,7 @@ Send IPv4+GRE+IPv4+ICMP packet and verify inner and outer L2/L3/L4 corrected:: Send IPv4+GRE packet and verify inner and outer L2/L3/L4 corrected:: sendp([Ether()/IP()/GRE()/Raw('x'*40)], iface=txItf) - Inner L3 type: Unkown + Inner L3 type: Unknown Inner L4 type: Unknown Test Case: Vxlan tunnel packet type detect @@ -732,7 +730,7 @@ Fortville. Fortville did not distinguish GRE/Teredo/Vxlan packets, all those types will be displayed as GRENAT. -Add vxlan tunnle port filter on receive port:: +Add vxlan tunnel port filter on receive port:: rx_vxlan_port add 4789 0 Send IPv4+Vxlan+MAC+IPv4 fragment packet and verify inner and outer L2/L3/L4 corrected:: @@ -820,7 +818,7 @@ corrected:: Send IPv4+Vxlan+MAC+IPv6+ICMP packet and verify inner and outer L2/L3/L4 corrected:: - sendp([Ether()/IP()/UDP()/Vxlan()/Ether()/IPv6(nh=28)/ICMP()/ + sendp([Ether()/IP()/UDP()/Vxlan()/Ether()/IPv6(nh=58)/ICMP()/ Raw('\0'*40)], iface=txItf) Inner L4 type: ICMP @@ -828,5 +826,5 @@ corrected:: Send IPv4+Vxlan+MAC packet and verify inner and outer L2/L3/L4 corrected:: sendp([Ether()/IP()/UDP()/Vxlan()/Ether()/Raw('\0'*40)], iface=txItf) - Inner L3 type: Unkown + Inner L3 type: Unknown Inner L4 type: Unknown -- 1.9.3