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 50ABCA00E6 for ; Tue, 6 Aug 2019 10:51:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 243A61BDF9; Tue, 6 Aug 2019 10:51:13 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 6C4F91BDF6 for ; Tue, 6 Aug 2019 10:51:11 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2019 01:51:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,353,1559545200"; d="scan'208";a="257975072" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga001.jf.intel.com with ESMTP; 06 Aug 2019 01:51:10 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 01:51:10 -0700 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 01:51:09 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.80]) by SHSMSX153.ccr.corp.intel.com ([169.254.12.215]) with mapi id 14.03.0439.000; Tue, 6 Aug 2019 16:51:07 +0800 From: "Tu, Lijuan" To: "Lin, Xueqin" , "dts@dpdk.org" CC: "Lin, Xueqin" Thread-Topic: [dts] [PATCH 1/2] test_plans/generic_flow_api: correct i40e could support 0x88cc ether type packet Thread-Index: AQHVS3UVyyTUNxgkf0yHU21EA9R5wqbt0TuQ Date: Tue, 6 Aug 2019 08:51:07 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAFD157@SHSMSX101.ccr.corp.intel.com> References: <1564999429-118635-1-git-send-email-xueqin.lin@intel.com> In-Reply-To: <1564999429-118635-1-git-send-email-xueqin.lin@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.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNGMxYTMyYWItMmJkMy00MWRjLTg2NmEtZTE2OGE1Y2I1YjU0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiaFVlQ3hKbG1IS1duRVZXT1ljczBDUzYyNys0VVJQYkVXZ2djQlpESjdiVnM3dnBKZlZhK1hZbUd3V0VrekFhYyJ9 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 1/2] test_plans/generic_flow_api: correct i40e could support 0x88cc ether type 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, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Lin Xueqin > Sent: Monday, August 5, 2019 6:04 PM > To: dts@dpdk.org > Cc: Lin, Xueqin > Subject: [dts] [PATCH 1/2] test_plans/generic_flow_api: correct i40e coul= d > support 0x88cc ether type packet >=20 > From: Xueqin Lin >=20 > Signed-off-by: Xueqin Lin >=20 > --- > test_plans/generic_flow_api_test_plan.rst | 10 ++++------ > 1 file changed, 4 insertions(+), 6 deletions(-) >=20 > diff --git a/test_plans/generic_flow_api_test_plan.rst > b/test_plans/generic_flow_api_test_plan.rst > index f53e7c7..380d9e8 100644 > --- a/test_plans/generic_flow_api_test_plan.rst > +++ b/test_plans/generic_flow_api_test_plan.rst > @@ -70,26 +70,24 @@ Test case: Fortville ethertype > testpmd> flow validate 0 ingress pattern eth type is 0x88cc / end ac= tions > queue index 5 / end > testpmd> flow create 0 ingress pattern eth type is 0x88cc / end acti= ons > queue index 6 / end >=20 > - the i40e don't support the 0x88cc eth type packet. so the last two > commands > - failed. > - > 3. send packets:: >=20 > pkt1 =3D Ether(dst=3D"ff:ff:ff:ff:ff:ff")/ARP(pdst=3D"192.168.1.1") > pkt2 =3D Ether(dst=3D"00:11:22:33:44:55", type=3D0x88BB)/Raw('x' * 2= 0) > pkt3 =3D Ether(dst=3D"00:11:22:33:44:55", type=3D0x88e5)/Raw('x' * 2= 0) > pkt4 =3D Ether(dst=3D"00:11:22:33:44:55", type=3D0x8864)/Raw('x' * 2= 0) > + pkt5 =3D Ether(dst=3D"00:11:22:33:44:55", type=3D0x88cc)/Raw('x' * 2= 0) >=20 > - verify pkt1 to queue 2, and pkt2 to queue 3, pkt3 to queue 4, pkt4 > dropped. > + verify pkt1 to queue 2, and pkt2 to queue 3, pkt3 to queue 4, pkt4 > dropped, pkt5 to queue 6. >=20 > 4. verify rules can be listed and destroyed:: >=20 > testpmd> flow list 0 > testpmd> flow destroy 0 rule 0 > - verify pkt1 to queue 0, and pkt2 to queue 3, pkt3 to queue 4, > + verify pkt1 to queue 0, and pkt2 to queue 3, pkt3 to queue 4, pkt4 > dropped, pkt5 to queue 6. > testpmd> flow list 0 > testpmd> flow flush 0 > - verify pkt1 to queue 0, and pkt2 to queue 0, pkt3 to queue 0, pkt4 t= o > queue 0. > + verify pkt1 to queue 0, and pkt2 to queue 0, pkt3 to queue 0, pkt4 t= o > queue 0, pkt5 to queue 0. > testpmd> flow list 0 >=20 >=20 > -- > 2.7.5