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 C7563A04B5; Tue, 3 Dec 2019 07:20:28 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 89C232B8D; Tue, 3 Dec 2019 07:20:28 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 93DE41F5 for ; Tue, 3 Dec 2019 07:20:26 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Dec 2019 22:20:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,272,1571727600"; d="scan'208";a="213298936" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga006.jf.intel.com with ESMTP; 02 Dec 2019 22:20:25 -0800 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 2 Dec 2019 22:20:24 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 2 Dec 2019 22:20:25 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.29]) by shsmsx102.ccr.corp.intel.com ([169.254.2.109]) with mapi id 14.03.0439.000; Tue, 3 Dec 2019 14:20:23 +0800 From: "Peng, Yuan" To: "Zeng, XiaoxiaoX" , "dts@dpdk.org" CC: "Zeng, XiaoxiaoX" , "Peng, Yuan" Thread-Topic: [dts] [PATCH V4] tests/flow_filtering: modify dismatch_rule judgment Thread-Index: AQHVqO4uw/qZLgNF0kCVtvkbXuQKu6en8WyQ Date: Tue, 3 Dec 2019 06:20:22 +0000 Message-ID: <67D543A150B29E4CAAE53918F64EDAEA377AF8BF@SHSMSX103.ccr.corp.intel.com> References: <20191202205423.4266-1-xiaoxiaox.zeng@intel.com> In-Reply-To: <20191202205423.4266-1-xiaoxiaox.zeng@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMmVlMTkwODMtNThkNi00YWQ3LTg4MGEtMWJlZjFjYmM4MGY5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiTFwvbkMxM2lrOTlQK2Q3RHNqS0JNcnpsT3dGVG5JSGo0T1orSFNocXZIVTRybjhNbzdWTHBNNE5oMnF6eXF6b2UifQ== x-ctpclassification: CTP_NT 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 V4] tests/flow_filtering: modify dismatch_rule judgment 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" Acked by Peng, Yuan -----Original Message----- From: dts On Behalf Of Xiaoxiao Zeng Sent: Tuesday, December 3, 2019 4:54 AM To: dts@dpdk.org Cc: Zeng, XiaoxiaoX Subject: [dts] [PATCH V4] tests/flow_filtering: modify dismatch_rule judgme= nt Signed-off-by: Xiaoxiao Zeng --- tests/TestSuite_flow_filtering.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_flow_filtering.py b/tests/TestSuite_flow_filte= ring.py index 242d321..80f5d86 100644 --- a/tests/TestSuite_flow_filtering.py +++ b/tests/TestSuite_flow_filtering.py @@ -95,7 +95,7 @@ class TestFlowFiltering(TestCase): pkg =3D {'IP/dst': 'Ether(dst=3D"%s")/IP(src=3D"0.0.0.0", dst=3D"1= 92.168.1.2")/Raw("x"*20)' % self.dts_mac} self.send_packet(pkg) queue_list =3D self.check_flow_queue() - self.verify(len(queue_list) =3D=3D 1 and queue_list[0] =3D=3D "0x0= ", "Dismatch rule failed!") + self.verify(len(queue_list) =3D=3D 1 and queue_list[0] !=3D "0x1",= "Dismatch rule failed!") =20 def tear_down(self): """ --=20 2.17.0