From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EDA4DA04F7; Tue, 7 Jan 2020 03:11:44 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D43B51D8E7; Tue, 7 Jan 2020 03:11:44 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 27FF71D8E0 for ; Tue, 7 Jan 2020 03:11:42 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Jan 2020 18:11:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,404,1571727600"; d="scan'208";a="253565694" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga002.fm.intel.com with ESMTP; 06 Jan 2020 18:11:41 -0800 Received: from fmsmsx121.amr.corp.intel.com (10.18.125.36) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 6 Jan 2020 18:11:41 -0800 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by fmsmsx121.amr.corp.intel.com (10.18.125.36) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 6 Jan 2020 18:11:41 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.30]) by SHSMSX153.ccr.corp.intel.com ([169.254.12.89]) with mapi id 14.03.0439.000; Tue, 7 Jan 2020 10:11:39 +0800 From: "Tu, Lijuan" To: "Peng, Yuan" , "dts@dpdk.org" CC: "Peng, Yuan" Thread-Topic: [dts] [PATCH]test_plans: add an unmatched gtpu packet Thread-Index: AQHVxIFbnMMCPTMuxU6iKJZt1bitmafedo9w Date: Tue, 7 Jan 2020 02:11:38 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBA3B4B@SHSMSX101.ccr.corp.intel.com> References: <1578309097-63992-1-git-send-email-yuan.peng@intel.com> In-Reply-To: <1578309097-63992-1-git-send-email-yuan.peng@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH]test_plans: add an unmatched gtpu packet 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" applied > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Peng Yuan > Sent: Monday, January 6, 2020 7:12 PM > To: dts@dpdk.org > Cc: Peng, Yuan > Subject: [dts] [PATCH]test_plans: add an unmatched gtpu packet >=20 > add an unmatched gtpu packet to cvl_fdir_test_plan.rst >=20 > Signed-off-by: Peng Yuan >=20 > diff --git a/test_plans/cvl_fdir_test_plan.rst > b/test_plans/cvl_fdir_test_plan.rst > index 4a2ce00..d545db0 100644 > --- a/test_plans/cvl_fdir_test_plan.rst > +++ b/test_plans/cvl_fdir_test_plan.rst > @@ -402,6 +402,7 @@ Send packets > p_gtpu6 =3D Ether(src=3D"a4:bf:01:51:27:ca", > dst=3D"00:00:00:00:01:03")/IP(src=3D"192.168.0.20", > dst=3D"192.168.0.21")/UDP(dport=3D2152)/GTP_U_Header(gtp_type=3D255, > teid=3D0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=3D0, > qos_flow=3D0x34)/IP()/SCTP()/Raw('x'*20) > p_gtpu7 =3D Ether(src=3D"a4:bf:01:51:27:ca", > dst=3D"00:00:00:00:01:03")/IP(src=3D"192.168.0.20", > dst=3D"192.168.0.21")/UDP(dport=3D2152)/GTP_U_Header(gtp_type=3D255, > teid=3D0x1234567)/GTP_PDUSession_ExtensionHeader(pdu_type=3D0, > qos_flow=3D0x34)/IP()/Raw('x'*20) > p_gtpu8 =3D Ether(src=3D"a4:bf:01:51:27:ca", > dst=3D"00:00:00:00:01:03")/IP(src=3D"192.168.0.20", > dst=3D"192.168.0.21")/UDP(dport=3D2152)/GTP_U_Header(gtp_type=3D255, > teid=3D0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=3D0, > qos_flow=3D0x35)/IP()/Raw('x'*20) > + p_gtpu9 =3D Ether(src=3D"a4:bf:01:51:27:ca", > dst=3D"00:00:00:00:01:03")/IP(src=3D"192.168.0.20", > dst=3D"192.168.0.21")/UDP(dport=3D2152)/GTP_U_Header(gtp_type=3D255, > teid=3D0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=3D0, > qos_flow=3D0x34)/IPv6()/Raw('x'*20) >=20 >=20 > Test case: MAC_IPV4_PAY queue index > @@ -863,7 +864,7 @@ Test case: MAC_IPV4_UDP drop >=20 > 1. create filter rules:: >=20 > - flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 sr= c is > 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 1 / udp src is 22 dst is= 23 / end > actions drop / end > + flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 sr= c is > 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / udp src is 22 dst is= 23 / end > actions drop / end >=20 > 2. send matched packets, check the packet dropped. > send mismatched packets, check the packets are not dropped. > @@ -885,7 +886,7 @@ Test case: MAC_IPV4_TCP drop >=20 > 1. create filter rules:: >=20 > - flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 sr= c is > 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 1 / tcp src is 22 dst is= 23 / end > actions drop / end > + flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 sr= c is > 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / tcp src is 22 dst is= 23 / end > actions drop / end >=20 > 2. send matched packets, check the packet dropped. > send mismatched packets, check the packets are not dropped. > @@ -907,7 +908,7 @@ Test case: MAC_IPV4_SCTP drop >=20 > 1. create filter rules:: >=20 > - flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 sr= c is > 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 1 / sctp src is 22 dst i= s 23 / end > actions drop / end > + flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 sr= c is > 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / sctp src is 22 dst i= s 23 / end > actions drop / end >=20 > 2. send matched packets, check the packet dropped. > send mismatched packets, check the packets are not dropped. > @@ -2527,7 +2528,7 @@ Test case: multirules mark >=20 > 3. query count:: >=20 > - testpmd> flow query 0 0 count > + testpmd> flow query 0 2 count > COUNT: > hits_set: 1 > bytes_set: 0 > @@ -2549,7 +2550,7 @@ Test case: multirules mark > packet 3 to queue 1 with "FDIR matched ID=3D0x2" printed. > query count:: >=20 > - testpmd> flow query 0 0 count > + testpmd> flow query 0 2 count > COUNT: > hits_set: 1 > bytes_set: 0 > -- > 2.14.3