From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 09C6DA0C4E; Tue, 2 Nov 2021 12:16:28 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F287040689; Tue, 2 Nov 2021 12:16:27 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 0633F4003F for ; Tue, 2 Nov 2021 12:16:26 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10155"; a="211288441" X-IronPort-AV: E=Sophos;i="5.87,202,1631602800"; d="scan'208";a="211288441" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2021 04:16:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,202,1631602800"; d="scan'208";a="577059625" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by FMSMGA003.fm.intel.com with ESMTP; 02 Nov 2021 04:16:25 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 2 Nov 2021 04:16:25 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 2 Nov 2021 04:16:25 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Tue, 2 Nov 2021 04:16:25 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.49) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Tue, 2 Nov 2021 04:16:24 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Km0LMmoqRg+dv2EZh+o/x2WKVsLE9evZ6T3l6Kx5QvIhXsxq61MXpx5hS0zpqm7kYkTUV+pduVup+freb50rPHo/PlgqwUOBUlu1HbEXGwYbfgZHBHRL1+GnwcvwNtBeO9x0DFERp5Op34I5LZFzDcQG4wPlkfOvY1iKwblmL05qRzKn3GJnr4IgQamw0RjJPA6jDhelIj69L4UTyIKvTd2YbBhDvmtlGM7Z5SQPCJXLPCDc4zaBpq6/qT3pR4ffSgtxechkV3hxQIKRXdoT2gb201HnmP2IGnzliN096Ni7Xl2duRBJCryaK7fSmplsbyzprqWb1H2teE0OgZmUOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=AsUlSERrRM3RDfoxUMITjitkBICVLD//f2+2eg6nmh0=; b=d/j9b/7i8JLHH2BpdTqDgilE3/onhZNSjWhfVlg2/lQX2hwoR+KTT1uh4NfPedVwhQEor1KxWF3b+pUlBNZB8NMx7mNF6Zc7f7kVFNJUkYSl8ANDRTCoiSUkNPrxhiAeQ+wa6fNRVSN2kP1YW+ixpckaPz6fjWB/RD1IXexxdmb5C9meq38masqLdp0vDqe51UawO+eqPrS3v3lZ/NRAkz9w4/rMU+J7K2riePJySHL/Q63OZ2cEQ19v9Q4Po+xwMkDZ8K3OVszO9eqT2XrZDPV41iMv1/n0B4/JHGWL8d/zi9texFivqsomM9R0Bn6spaMrLJqM0F/BowSdQkGsnA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AsUlSERrRM3RDfoxUMITjitkBICVLD//f2+2eg6nmh0=; b=SanQ7CfrTpsuGfvQPGFm0+W0KzisI2KYWrhSvhEoFWE7iWxEvHmioI5VAS/nYYW6gBEY/he6KFIitoOdf1VYaUHs2n/a7hApO6lPN4nguUpVnKLZ97bs7g3J0stdgJ+HBMCZEwbOG1Bts70p67RDFsg0yJbDkD3zCHSuIVGHfxg= Received: from BN0PR11MB5712.namprd11.prod.outlook.com (2603:10b6:408:160::17) by BN6PR11MB4066.namprd11.prod.outlook.com (2603:10b6:405:82::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15; Tue, 2 Nov 2021 11:16:21 +0000 Received: from BN0PR11MB5712.namprd11.prod.outlook.com ([fe80::528:c09e:b5cd:2e21]) by BN0PR11MB5712.namprd11.prod.outlook.com ([fe80::528:c09e:b5cd:2e21%3]) with mapi id 15.20.4669.010; Tue, 2 Nov 2021 11:16:21 +0000 From: "Huang, ZhiminX" To: "Ananyev, Konstantin" , "dts@dpdk.org" CC: "An, XiangX" Thread-Topic: [dts] [PATCH V1 4/4] tests/unit_tests_eal: modify code to adapt avx512 Thread-Index: AQHXz7UJ4zJONm2LP0qUn7h5PbMKHKvwDWcAgAAHTqA= Date: Tue, 2 Nov 2021 11:16:21 +0000 Message-ID: References: <1635835398-70543-1-git-send-email-xiangx.an@intel.com> <1635835398-70543-4-git-send-email-xiangx.an@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: cc606622-26b3-4896-38e0-08d99df2332c x-ms-traffictypediagnostic: BN6PR11MB4066: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1060; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bd4D04hnTFI+tHcFKv+E8b2XnZenXUQnSzVJanmyRj3QA5s1shVPZq3RpBConyryMPIQ0jHkfXUzx1+WoDqjKWwjTfzg+rRCiDhE3awnKVoDJT3Xr+11wU/EFgxnXDbQ4BaxN3nYHyPhv5FvfWNKRyWEbEc/p30lSf48laM4r6oYrpAQr7qBovgRG3I7ycn4XxQDZ1WPPbaLF2hQXbvqh6f8zeylM31tsqFih74Vj5DS1anRI4IxnY12pUIowZgK7UAT2wKqQ2vKFl6zFd4UuTNYVhMSdi2URFoDIPcOZ7CPW+UW25+cSocUH4PF1HCw/I8dUEUOM9+lPIenAK1+6ZdoEJnHFNvJmWOGm+UW294skk3RgQ4U4oWXyRTgx9sb+BhxAxWs4EYOp9MOPYNDMoCYDO4+mL/hCW3Cte2wIrlpLlwO5GW5rrP2zU30ukBQ4zZMd484EZ0C0ENmo2T0wsnjhW9b7ZlOv9citRI1+eHaqcqZjb3dqv5nquRJ3rDjxQYecjm0VVJZC5CR3Pl8pHNAmR2zQChbnKevK1CK1H07w75Ejo5j/oKhPPt5iLNZcXC3bfbJb9I3rEPLbQq+TAqzWwcDUaudkBLq9gnMwe4nZ9kC7q88WBUkP+HPjeMer2scC41vq+5s6qzqb5nnm+TN/WqkcELYhOZsGrQQKj4kAIa9n9DEltxmJIEosrd9sgc1m168vuT2WO4bIAd3+g== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN0PR11MB5712.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(52536014)(82960400001)(9686003)(6506007)(122000001)(8676002)(8936002)(76116006)(66946007)(83380400001)(86362001)(53546011)(110136005)(5660300002)(107886003)(38070700005)(4326008)(38100700002)(2906002)(33656002)(55016002)(7696005)(186003)(316002)(66446008)(26005)(66556008)(71200400001)(508600001)(66476007)(64756008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?/2MZfFK4cSBHbHRUqXwpAKmMRFy5+72D3H4Dp0DiQr8FmZkbkX/8QoQa66Tf?= =?us-ascii?Q?ztzo8EEnlEVmbVCf3cqIhQK66U06JWmZMTvQ8pM6caNf1T/xwtZGtrcL6F2m?= =?us-ascii?Q?cM32RdXwxX+IDb+aVRvxmztClqxl492Gmh3SUwHz9TZwinLJpCBUQtJwT2oZ?= =?us-ascii?Q?YJLH+EtuVbO7HBIqQAuDysaRdyJeZXAD7eA7uG5mvJVG+aHE0CuJDLBm6qkH?= =?us-ascii?Q?29uooEZONmeBPzYbdoqNAQArMJBAy2Umbe6w8t3IwMrBscwPD1S07nfk25DJ?= =?us-ascii?Q?2+IYcJKXfojFmgqz5zVYJGckp4SzsbAHkCZj5fy7bGIET27nl1BZb/Jgt5cf?= =?us-ascii?Q?nN5OjNwzywCds9DBzSUzLrM726MzOmcq5CKMy+vSUMvf+s+jdvvt8At3Cepj?= =?us-ascii?Q?4SD34Ggj2LLErKcvStc5hM4HSvu1Ds16QCH2uwcBKytbDYll74T9oTtri6lO?= =?us-ascii?Q?RRU7CU1ZDo6HzqbqpupH+A2yqmuaxrBW+es7z2alZ2jlRnBPfIqNcmAd+l1F?= =?us-ascii?Q?Eh7oIhG9wvQMAHBbKRZQtA4pa9IWg7EduVNqBS+EXMaPOp67+022oxwGTGER?=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MBYyT71PwWjGLHeenxrMhj8n?= =?us-ascii?Q?aE+ujxWoz1uYgY4RBGKXkuKcQ6JNmzviu1UMSU5Vya6ngMA3tHk94V0F80OB?= =?us-ascii?Q?WnaEKH9WP9L1yyu/kQEjbbcCMAdlK5wiNKvuIpzojea3GmAcvS/DtN98wabs?= =?us-ascii?Q?xw=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN0PR11MB5712.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: cc606622-26b3-4896-38e0-08d99df2332c X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2021 11:16:21.5141 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: A/p3RyD9YyInvxFZP6qyeqRkqVFOnYzs5zYwARA6Dvkry8z8yeMvw9vEdMESbJtzJFuD0XnA9JHbJK8D0eEn3A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB4066 X-OriginatorOrg: intel.com Subject: Re: [dts] [PATCH V1 4/4] tests/unit_tests_eal: modify code to adapt avx512 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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" > -----Original Message----- > From: dts On Behalf Of Ananyev, Konstantin > Sent: Tuesday, November 2, 2021 6:43 PM > To: An, XiangX ; dts@dpdk.org > Cc: An, XiangX > Subject: Re: [dts] [PATCH V1 4/4] tests/unit_tests_eal: modify code to ad= apt > avx512 >=20 >=20 > Hi Xiang, >=20 > > Modify code to adapt rxmod avx512. > > > > Signed-off-by: Xiang An > > --- > > tests/TestSuite_unit_tests_eal.py | 5 +++-- > > 1 file changed, 3 insertions(+), 2 deletions(-) > > > > diff --git a/tests/TestSuite_unit_tests_eal.py > b/tests/TestSuite_unit_tests_eal.py > > index 8096183..b5cb7a2 100644 > > --- a/tests/TestSuite_unit_tests_eal.py > > +++ b/tests/TestSuite_unit_tests_eal.py > > @@ -38,7 +38,7 @@ EAL autotest. > > > > import framework.utils as utils > > from framework.test_case import TestCase > > - > > +from framework.settings import load_global_setting, > DPDK_RXMODE_SETTING > > # > > # > > # Test class. > > @@ -462,7 +462,8 @@ class TestUnitTestsEal(TestCase): > > self.test_app_cmdline +=3D "--no-pci" > > > > if self.dut.dpdk_version >=3D '20.11.0': > > - self.test_app_cmdline +=3D " --force-max-simd-bitwidth=3D0= " > > + if load_global_setting(DPDK_RXMODE_SETTING) =3D=3D 'defaul= t': > > + self.test_app_cmdline +=3D " > --force-max-simd-bitwidth=3D0" >=20 > Could you probably explain why it is needed here? >=20 > > self.dut.send_expect(self.test_app_cmdline, "R.*T.*E.*>.*>", > self.start_test_time) > > out =3D self.dut.send_expect("acl_autotest", "RTE>>", > self.run_cmd_time) > > self.dut.send_expect("quit", "# ") > > -- > > 1.8.3.1 Hi Konstantin, We have add this case to test avx512 mode, if this judgment is not added, t= he cmdline will invalid. Take a example: x86_64-native-linuxapp-gcc/app/test/dpdk-test -l 1,2,3,4 -n 4 --file-prefix= =3Ddpdk_237965_20211103034106 --force-max-simd-bitwidth=3D512 --no-pci --fo= rce-max-simd-bitwidth=3D0 Regards, HuangZhiMin