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 CFDF6A00E6 for ; Tue, 6 Aug 2019 11:01:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BE5B21BE00; Tue, 6 Aug 2019 11:01:29 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 349E81BDFF for ; Tue, 6 Aug 2019 11:01:28 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2019 01:51:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,353,1559545200"; d="scan'208";a="181915354" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by FMSMGA003.fm.intel.com with ESMTP; 06 Aug 2019 01:51:03 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 01:51:03 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) 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:02 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.80]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.65]) with mapi id 14.03.0439.000; Tue, 6 Aug 2019 16:51:00 +0800 From: "Tu, Lijuan" To: "Lin, Xueqin" , "dts@dpdk.org" CC: "Lin, Xueqin" Thread-Topic: [dts] [PATCH 2/2] tests/generic_flow_api: add 0x88cc ether type test for i40e nic Thread-Index: AQHVS3YLXVk6vjvoPUq4dGlLzxR0G6bt0SvQ Date: Tue, 6 Aug 2019 08:51:00 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAFD14A@SHSMSX101.ccr.corp.intel.com> References: <1564999712-118706-1-git-send-email-xueqin.lin@intel.com> In-Reply-To: <1564999712-118706-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMWZjYmMyMDMtNjAxNy00OWMwLTg1MjgtNzgzZWE2MGJjZGQyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiZ0FhRnVaS01tODJnRHQ3ek1nbE11ZTg3cEdXVlIwT3hFQVlScklleFFqeTZ2ZGM2c1pqQWlDTFkrNVVvcStRQyJ9 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 2/2] tests/generic_flow_api: add 0x88cc ether type test for i40e nic 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:09 PM > To: dts@dpdk.org > Cc: Lin, Xueqin > Subject: [dts] [PATCH 2/2] tests/generic_flow_api: add 0x88cc ether type = test > for i40e nic >=20 > From: Xueqin Lin >=20 > Signed-off-by: Xueqin Lin >=20 > --- > tests/TestSuite_generic_flow_api.py | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) >=20 > diff --git a/tests/TestSuite_generic_flow_api.py > b/tests/TestSuite_generic_flow_api.py > index a7810fd..ee94bf7 100644 > --- a/tests/TestSuite_generic_flow_api.py > +++ b/tests/TestSuite_generic_flow_api.py > @@ -288,7 +288,7 @@ class TestGeneric_flow_api(TestCase): > if "86dd" in flow_cmd or "0800" in flow_cmd or "index %s" % > str(MAX_QUEUE + 1) in flow_cmd: > if self.nic in ["fortville_eagle", "fortville_spirit", > "fortville_spirit_single", "fortpark_TLV", "niantic", "kawela_4", "kawela= ", > "bartonhills", "twinville", "sagepond", "sageville", "powerville"]: > self.dut.send_expect(flow_cmd, "error") > - elif "88cc" in flow_cmd or "type is 0x8100" in flow_cmd: > + elif "type is 0x8100" in flow_cmd: > if self.nic in ["fortville_eagle", "fortville_spirit", > "fortville_spirit_single", "fortpark_TLV"]: > self.dut.send_expect(flow_cmd, "error") > # vf queue id exceeds max vf queue number. > @@ -301,7 +301,7 @@ class TestGeneric_flow_api(TestCase): > if "86dd" in flow_cmd or "0800" in flow_cmd or "index %s" % > str(MAX_QUEUE + 1) in flow_cmd: > if self.nic in ["fortville_eagle", "fortville_spirit", > "fortville_spirit_single", "fortpark_TLV", "niantic", "kawela_4", "kawela= ", > "bartonhills", "twinville", "sagepond", "sageville", "powerville"]: > self.dut.send_expect(flow_cmd, "error") > - elif "88cc" in flow_cmd or "type is 0x8100" in flow_cmd: > + elif "type is 0x8100" in flow_cmd: > if self.nic in ["fortville_eagle", "fortville_spirit", > "fortville_spirit_single", "fortpark_TLV"]: > self.dut.send_expect(flow_cmd, "error") > # vf queue id exceeds max vf queue number. > @@ -775,6 +775,7 @@ class TestGeneric_flow_api(TestCase): > {'create': 'create', 'flows': ['ether', 'lwapp'], 'actio= ns': ['queue']}, > {'create': 'create', 'flows': ['ether', 'ppp'], 'actions= ': ['drop']}, > {'create': 'create', 'flows': ['dst_mac', 'ether', 'mpls= '], 'actions': > ['queue']}, > + {'create': 'create', 'flows': ['ether', 'lldp'], 'action= s': ['queue']}, > ] > extrapkt_rulenum =3D self.all_flows_process(basic_flow_actio= ns) > rule_num =3D extrapkt_rulenum['rulenum'] > -- > 2.7.5