From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 10C4C3787 for ; Wed, 16 Sep 2015 10:57:04 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP; 16 Sep 2015 01:57:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,538,1437462000"; d="scan'208";a="805531647" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga002.jf.intel.com with ESMTP; 16 Sep 2015 01:57:04 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t8G8v0wY032335; Wed, 16 Sep 2015 16:57:00 +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 t8G8uwNV030530; Wed, 16 Sep 2015 16:57:00 +0800 Received: (from yufengmx@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t8G8uw66030526; Wed, 16 Sep 2015 16:56:58 +0800 From: Yufen Mo To: dts@dpdk.org Date: Wed, 16 Sep 2015 16:56:50 +0800 Message-Id: <1442393812-30481-3-git-send-email-yufengx.mo@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1442393812-30481-1-git-send-email-yufengx.mo@intel.com> References: <1442393812-30481-1-git-send-email-yufengx.mo@intel.com> Cc: yufengmx Subject: [dts] [PATCH 2/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: Wed, 16 Sep 2015 08:57:05 -0000 From: yufengmx fix issue 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