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 3DDAEA04B5; Mon, 2 Dec 2019 06:50:46 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C364C2C58; Mon, 2 Dec 2019 06:50:45 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 366A41F28 for ; Mon, 2 Dec 2019 06:50:44 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Dec 2019 21:50:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,268,1571727600"; d="scan'208";a="360694248" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga004.jf.intel.com with ESMTP; 01 Dec 2019 21:50:42 -0800 Received: from fmsmsx157.amr.corp.intel.com (10.18.116.73) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 1 Dec 2019 21:50:42 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX157.amr.corp.intel.com (10.18.116.73) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 1 Dec 2019 21:50:42 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.29]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.90]) with mapi id 14.03.0439.000; Mon, 2 Dec 2019 13:50:40 +0800 From: "Peng, Yuan" To: "Zeng, XiaoxiaoX" , "dts@dpdk.org" CC: "Zeng, XiaoxiaoX" Thread-Topic: [dts] [PATCH V3] tests/flow_filtering: suite CVL Thread-Index: AQHVqNKtCfshYEHiJUCd26iKimz1gKemVs5A Date: Mon, 2 Dec 2019 05:50:39 +0000 Message-ID: <67D543A150B29E4CAAE53918F64EDAEA377AC035@SHSMSX103.ccr.corp.intel.com> References: <20191202173651.32184-1-xiaoxiaox.zeng@intel.com> In-Reply-To: <20191202173651.32184-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiN2E3N2YyOWMtMmQyNC00ZWUxLWE0YTMtYTNhNjMyYjBkOWFmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiWHRLNlBrbmJLQjIxaUVTaDZFaE1Rbk1ZdVlLcUlxNmUrK0haR2d6aU5VQXRKbVNNU3REelpDYTMyWjYwTUpoTCJ9 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 V3] tests/flow_filtering: suite CVL 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" Hi xiaoxiao, I think it should be: + if self.nic =3D=3D ('columbiaville_100g'): + self.verify(len(queue_list) =3D=3D 1 and queue_list[0] !=3D "0= x1", "Dismatch rule failed!") -----Original Message----- From: dts On Behalf Of Xiaoxiao Zeng Sent: Tuesday, December 3, 2019 1:37 AM To: dts@dpdk.org Cc: Zeng, XiaoxiaoX Subject: [dts] [PATCH V3] tests/flow_filtering: suite CVL *.columbiaville_100g default open rss,fvl defualt close rss. Signed-off-by: Xiaoxiao Zeng --- tests/TestSuite_flow_filtering.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_flow_filtering.py b/tests/TestSuite_flow_filte= ring.py index 242d321..8be17de 100644 --- a/tests/TestSuite_flow_filtering.py +++ b/tests/TestSuite_flow_filtering.py @@ -95,7 +95,10 @@ 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!") + if self.nic =3D=3D ('columbiaville_100g'): + self.verify(len(queue_list) =3D=3D 1 and queue_list[0] !=3D "0= x0", "Dismatch rule failed!") + else: + self.verify(len(queue_list) =3D=3D 1 and queue_list[0] =3D=3D = "0x0", "Dismatch rule failed!") =20 def tear_down(self): """ --=20 2.17.0