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 54407A0540; Mon, 20 Jul 2020 08:55:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4BA511BF5D; Mon, 20 Jul 2020 08:55:35 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 748FF1BF5D for ; Mon, 20 Jul 2020 08:55:33 +0200 (CEST) IronPort-SDR: 1TcWUMixhezK60sW0naUwnnTawlq5R0W5wqs+YFZnLXbKtnXuriIRjh7WJOO20p5QkeGUJB7Kj 9WXBJE9BqyTA== X-IronPort-AV: E=McAfee;i="6000,8403,9687"; a="129432142" X-IronPort-AV: E=Sophos;i="5.75,374,1589266800"; d="scan'208";a="129432142" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jul 2020 23:55:32 -0700 IronPort-SDR: UrYVMqgqxz4rn2eMVbdAOFxSa+RbKkFj9WbvqOUqSZFIZERrYCbTUz4X2kPUbEi93NqZSO3tRc SnZ3G6x/g+KQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,374,1589266800"; d="scan'208";a="487627191" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga005.fm.intel.com with ESMTP; 19 Jul 2020 23:55:32 -0700 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 19 Jul 2020 23:55:32 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 19 Jul 2020 23:55:32 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.22]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.22]) with mapi id 14.03.0439.000; Mon, 20 Jul 2020 14:55:30 +0800 From: "Tu, Lijuan" To: "Mo, YufengX" , "dts@dpdk.org" , "Mei, JianweiX" CC: "Mo, YufengX" Thread-Topic: [dts] [PATCH V1 1/1] tests/dcf_lifecycle: support 4 ports Thread-Index: AQHWUOWOS89l8jowHE+j/n75LcRH4qkQI7NQ Date: Mon, 20 Jul 2020 06:55:28 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC82154@SHSMSX101.ccr.corp.intel.com> References: <20200703025558.24388-1-yufengx.mo@intel.com> <20200703025558.24388-2-yufengx.mo@intel.com> In-Reply-To: <20200703025558.24388-2-yufengx.mo@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="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1 1/1] tests/dcf_lifecycle: support 4 ports 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 On Behalf Of yufengmx > Sent: 2020=1B$BG/=1B(B7=1B$B7n=1B(B3=1B$BF|=1B(B 10:56 > To: dts@dpdk.org; Mei, JianweiX > Cc: Mo, YufengX > Subject: [dts] [PATCH V1 1/1] tests/dcf_lifecycle: support 4 ports >=20 >=20 > support 4 ports. >=20 > Signed-off-by: yufengmx > --- > tests/TestSuite_dcf_lifecycle.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_dcf_lifecycle.py b/tests/TestSuite_dcf_lifec= ycle.py > index 90a56e6..3971941 100644 > --- a/tests/TestSuite_dcf_lifecycle.py > +++ b/tests/TestSuite_dcf_lifecycle.py > @@ -249,7 +249,7 @@ class TestDcfLifeCycle(TestCase): > pf1_vf1 =3D self.vf_ports_info[0].get('vfs_pci')[1] > pf1_vf2 =3D self.vf_ports_info[0].get('vfs_pci')[2] > pf2_vf0 =3D self.vf_ports_info[1].get('vfs_pci')[0] \ > - if len(self.vf_ports_info) =3D=3D 2 else '' > + if len(self.vf_ports_info) >=3D 2 else '' > whitelist =3D { > 'pf1_vf0_dcf': f"-w {pf1_vf0},cap=3Ddcf", > 'pf1_vf1_dcf': f"-w {pf1_vf1},cap=3Ddcf", > -- > 2.21.0