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 18706A0C4B; Wed, 3 Nov 2021 04:07:25 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 091A840E0F; Wed, 3 Nov 2021 04:07:25 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 1792540E03 for ; Wed, 3 Nov 2021 04:07:23 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10156"; a="292256526" X-IronPort-AV: E=Sophos;i="5.87,204,1631602800"; d="scan'208";a="292256526" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2021 20:07:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,204,1631602800"; d="scan'208";a="449896818" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga003.jf.intel.com with ESMTP; 02 Nov 2021 20:07:23 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx603.amr.corp.intel.com (10.18.126.83) 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 20:07:22 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx611.amr.corp.intel.com (10.18.126.91) 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 20:07:22 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx612.amr.corp.intel.com (10.18.126.92) 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 20:07:22 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.168) by edgegateway.intel.com (192.55.55.70) 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 20:07:22 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MCn2BAtM+Btgmfkk8BxUJJnoL+cANDdQFqpEcfSH5s3Lg7U7Alxz7PbkhTvrPLhQhWthEK4FUoeRCXxyQpHJu9DddwXcy41KNqeqknLwQqi8k4yocpeQsrHa1okWVM2DRF/4w9K5cSHKhZKUln5XmcZX7iMEdAVVOaOQ0jMNJ54HPuSx4syv7Eg7NKwuK9wK1ABywPUT0blP8+Uyz9RBqYu5dRxTlVs3wnVwzMKbDS81+Qf/bjGOL3DFek6WZTk/fC5AyMJypQV6WoVsnM6z0z6CQJL2JAQ+7f5dyCIUXqcCvML2y2sIcth+WIS3RXEz4aXBOCGeMOgf0qmG8qXdVQ== 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=ZKtxzDWfcbiVE0dP+pbC9+hNqEVbTFOL/8gVuiKZHv4=; b=SLLt2WIais7LaLCMxyyO5XLH5SFFngdhaF212pbxTbmLLZg40oaBfFYqf3RCchBXsk5vPwSgthO6IGfZKaEYl00Gej7KXmdofq0V42jJ3+5ZuDaYAlYtXaZiwznpcK5TVrq3lOuBGN92Cmp/e2W38BnQ9W8fRcRSMQz6bVNtL0qtLt6d7qyBOV1Fhfb27/ZXQfVYf7EDLCqjNcNppB6xYhSwSi+rYGjcIx1J8w/hjt1lOToEzdzDJQix9ojmIVIDBWMsML8nZB3NiBUW3QTB7nsJ9QiY1xxS3yo8toACh9YIP73P0bI/jta26ubscLp/tSyJqVsrOqOuWnr38mI0Kg== 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=ZKtxzDWfcbiVE0dP+pbC9+hNqEVbTFOL/8gVuiKZHv4=; b=IUehJGhZthzEBLw1A76ynvViETifezskjoeK+y6a0wsweuJsRMXIDa76bUYz0e3mdFwuJloRmoMuUMnXghbm8LlVzfLYnCmECfabiNNqZ9EtgIq4o0TNO/VyeNCi+yLhrXCqotgSQztm0eVKTdEG2zrdWMhWYyadT67vrOwYRjo= Received: from BN0PR11MB5712.namprd11.prod.outlook.com (2603:10b6:408:160::17) by BN0PR11MB5759.namprd11.prod.outlook.com (2603:10b6:408:168::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15; Wed, 3 Nov 2021 03:07: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; Wed, 3 Nov 2021 03:07: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: AQHXz7UJ4zJONm2LP0qUn7h5PbMKHKvwDWcAgAAHTqCAAATaAIAA/LWQ Date: Wed, 3 Nov 2021 03:07:20 +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: 0ad65780-5d25-4409-90d7-08d99e770d55 x-ms-traffictypediagnostic: BN0PR11MB5759: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: F585z4NUdit595E0oLMpAIb+nGxIWxQ1KpvHU/+BePym0ph8834LcoUhP8XAa5VY6fknfW8mDS3eKBRtWGlAykG7Vr/aH9j3RJZ5a9z2PNRmAl/r0UTvFPH/1rtTonoW2vqGSkOo183/rPZcoPwK81jCOMaoKR2nAhNmrQC+e5wJkJzAfxR4fW+ORkusEGAKYRh01MGSsCRf5LAU70nUfDt8Yx+X2pd3hKev7NGCp3TiChYx75gLLJhkiHjBWYoKYU0K71Q/2q204d0Eg3GFXXp7FuO55PFckfWptWfWd/JPFg0T7kyoymM/m848pt0D4kDwFWkoOnmk04sqgPMyeeQpKDBkp5Wz9bOOFtchrJM5ulVir28prj0dCzP2n2Rp4LHxVHudu7itBNhgEY2/stAxas5JYjk9DGH9M+3oOtR3PbvrDbV7D+LwW9XuW0usMYfCBHoLaov/TjVGuASF5S7aaCwj4QLiqKHMJoGNwJd/+8Lu4I05/0oj7KufQlEQs0cUOciJi8c2UH3XD6AHJ1mGxlfS1BT0Enx1H+pN7cgAuAWqeoXm9P3t9MEPAWd0/owWWqtqv0RlOiYTNlFXl/D/s/0ExDiC/x+Nawo3IIc0TaXmPa4F34fB5iVmxEChDBX37SPN5vAWI8BlyNtj7FB+0y2LodyxX7x9NwBd+GF8KoOF1Mlj4IniUlRgJ1qtIs23wwzaWCU3U0HnsVICdA== 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)(316002)(7696005)(5660300002)(38070700005)(107886003)(2906002)(508600001)(66556008)(64756008)(66476007)(38100700002)(76116006)(26005)(66446008)(122000001)(66946007)(8936002)(110136005)(4326008)(9686003)(52536014)(186003)(53546011)(6506007)(83380400001)(71200400001)(33656002)(82960400001)(86362001)(8676002)(55016002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?9RHK13q3zVZr7TFwN8sRkvF13SC2jTGtj50rM64DcCW2KaKxpOkDGxVJMyeo?= =?us-ascii?Q?aw3TM9VtdyMbuE/1yfYDiA2wlYIOd6XOxBAxjM/caxhT7UyWX57EAOHahpw4?= =?us-ascii?Q?YxUK6MpuplIAMWjHKx/1vOndb8zkcsHCiR3KkXcvZSJDpEb0CBHtn1IWYxy2?= =?us-ascii?Q?rduJhcGhHNR4uQxFqSbHr6rd1nXkUvLNd4q4C0j5JIUuPqvkqUbh49j0R+9z?= =?us-ascii?Q?No5HRvOvHYlon1Z6PxB2F6QJjaLVre72mVobtOrb+ZEwYbnFV0jDXw7rrLbE?= =?us-ascii?Q?qwv5ARH9IG75K15MgYDG4lOBOcBO3NhWsaBm5GYWcc6n5PVZMNpI9WzdyrSB?= =?us-ascii?Q?WrcNbKFLfgUekeoKab1RxBU3eI4frOymIjZ7NCGRP1wJacdBS4HdDgm3thtv?= =?us-ascii?Q?PUwG9whtSM1rQYzf2Nw1KkM25BfZPIp+UCpwAtTBHgHwrZyJXFKNw7/xsJ1C?= =?us-ascii?Q?4JqQ3IVhs/ZVEOD+6zYuzWJEtgKzBUctlFiENQqaMCK4Y3f1HADiVMbTKQEZ?= =?us-ascii?Q?ok0IyZghWp1yMwOxufa5dDTUyy1f442kB3Ilyi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BAm/fTgfChl44AHSWzffwtJG8M35Ds92UXbsBnTX0J06KdrW7?= =?us-ascii?Q?YrEO4417Ygs5kEH29gJWK52Sa2Gdq3HS0vEC0ft6DA+5oBQ+0Uaq9VDheOc1?= =?us-ascii?Q?ZR6MoS3/0YjsN+sG0q/JPRzHO83s57+OwoD8MtR7sgNI+nhE+hg1zcP3J4Xv?= =?us-ascii?Q?nw=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: 0ad65780-5d25-4409-90d7-08d99e770d55 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Nov 2021 03:07:21.0489 (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: Uz2aUfzRTfPgwfARYJf6HAeTQnH9y6DzDIbkvX7MiTBX5PtTFw/g5Mk0xRuK05N9D32xhgLyEd2IMSfsNBhZhA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR11MB5759 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: Ananyev, Konstantin > Sent: Tuesday, November 2, 2021 7:27 PM > To: Huang, ZhiminX ; 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 >=20 > > > Hi Xiang, > > > > > > > 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 > 'default': > > > > + self.test_app_cmdline +=3D " > > > --force-max-simd-bitwidth=3D0" > > > > > > Could you probably explain why it is needed here? > > > > > > > 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 adde= d, the > 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=3D= 512 > > --no-pci --force-max-simd-bitwidth=3D0 > > >=20 > So DPDK_RXMODE_SETTING controls whether '--force-max-simd-bitwidth' is > set or not? > If so, can we then just override it here for this test-case? > I'd like this test-case to always run with '--force-max-simd-bitwidth=3D0= '. > That way it provides best possible coverage. >=20 >=20 So according your decription, in any avx mode should be excuted '--force-ma= x-simd-bitwidth=3D0'? If so, I will re-submit dst patch to cover about acl test.