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 0FB8DA0350; Wed, 1 Jul 2020 08:06:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F10811BF95; Wed, 1 Jul 2020 08:06:24 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 8D1FF1BF93 for ; Wed, 1 Jul 2020 08:06:23 +0200 (CEST) IronPort-SDR: F+B6996JIqwVQPCDPHaH2oTLUfg/dP+WYvSDjmfFs9t25J0MCV5+SPP0iKRCQOjJ27GRpCTrI2 WJQI2yqeDUBw== X-IronPort-AV: E=McAfee;i="6000,8403,9668"; a="143977122" X-IronPort-AV: E=Sophos;i="5.75,299,1589266800"; d="scan'208";a="143977122" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jun 2020 23:06:22 -0700 IronPort-SDR: hoXwo6Kwnrrhmx09Tc/KUzjQcZjYe7pEsUxD3q06OrEfbTQUEghM5RZvY6rK1IPXUubkUZw4Eo tk1h8MOOXisA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,299,1589266800"; d="scan'208";a="312585259" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga008.jf.intel.com with ESMTP; 30 Jun 2020 23:06:22 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 30 Jun 2020 23:06:20 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 30 Jun 2020 23:06:20 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 30 Jun 2020 23:06:19 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.85]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.185]) with mapi id 14.03.0439.000; Wed, 1 Jul 2020 14:06:16 +0800 From: "Tu, Lijuan" To: "Xiao, QimaiX" , "dts@dpdk.org" CC: "Xiao, QimaiX" Thread-Topic: [dts] [PATCH V1]perf_vm2vm_virtio_net_perf: use same socket cores with nic port numa id Thread-Index: AQHWSTlCOvCrImClzkOKx9jrAUvHCajySPzQ Date: Wed, 1 Jul 2020 06:06:16 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC68088@SHSMSX101.ccr.corp.intel.com> References: <1592900828-288902-1-git-send-email-qimaix.xiao@intel.com> In-Reply-To: <1592900828-288902-1-git-send-email-qimaix.xiao@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]perf_vm2vm_virtio_net_perf: use same socket cores with nic port numa id 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 Xiao Qimai > Sent: 2020=1B$BG/=1B(B6=1B$B7n=1B(B23=1B$BF|=1B(B 16:27 > To: dts@dpdk.org > Cc: Xiao, QimaiX > Subject: [dts] [PATCH V1]perf_vm2vm_virtio_net_perf: use same socket core= s > with nic port numa id >=20 > Signed-off-by: Xiao Qimai > --- > tests/TestSuite_perf_vm2vm_virtio_net_perf.py | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) >=20 > diff --git a/tests/TestSuite_perf_vm2vm_virtio_net_perf.py > b/tests/TestSuite_perf_vm2vm_virtio_net_perf.py > index 532cdf7..bc9cb3a 100644 > --- a/tests/TestSuite_perf_vm2vm_virtio_net_perf.py > +++ b/tests/TestSuite_perf_vm2vm_virtio_net_perf.py > @@ -54,8 +54,11 @@ from copy import deepcopy >=20 > class TestPerfVM2VMVirtioNetPerf(TestCase): > def set_up_all(self): > - core_config =3D "1S/4C/1T" > - self.cores_list =3D self.dut.get_core_list(core_config) > + self.dut_ports =3D self.dut.get_ports() > + self.verify(len(self.dut_ports) >=3D 1, "Insufficient ports for = testing") > + # get core mask > + self.ports_socket =3D self.dut.get_numa_id(self.dut_ports[0]) > + self.cores_list =3D self.dut.get_core_list('all', socket=3Dself.= ports_socket) > self.verify(len(self.cores_list) >=3D 4, > "There has not enough cores to test this suite %s" % > self.suite_name) > -- > 1.8.3.1