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 8590CA04AB; Mon, 31 Aug 2020 04:40:30 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1B2411DBD; Mon, 31 Aug 2020 04:40:29 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 6C1CFCF3 for ; Mon, 31 Aug 2020 04:40:26 +0200 (CEST) IronPort-SDR: Dw+QdsaoanQMua598N3SPg9GnsgWKhVspx8vDl5IAkO0hBTgw6IdfYNs/V8OQFVtXsuZij856y 2pmvsBsG9DrQ== X-IronPort-AV: E=McAfee;i="6000,8403,9729"; a="156162752" X-IronPort-AV: E=Sophos;i="5.76,374,1592895600"; d="scan'208";a="156162752" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Aug 2020 19:40:25 -0700 IronPort-SDR: gp32br9U5MkyovAMfctnOueWo8JltVTGorPEqYDwAZ5eYsWNJn0DLLVXpdjvteLimFh8ZiwF1p KWa+qsJE7sxg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,374,1592895600"; d="scan'208";a="314208864" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga002.jf.intel.com with ESMTP; 30 Aug 2020 19:40:25 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) 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.1713.5; Sun, 30 Aug 2020 19:39:01 -0700 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Sun, 30 Aug 2020 19:39:01 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by FMSMSX102.amr.corp.intel.com (10.18.124.200) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 30 Aug 2020 19:39:01 -0700 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (104.47.46.57) 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.1713.5; Sun, 30 Aug 2020 19:39:01 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UUfnuJ/BJMEVL/E8inh+AuA6FtBmuxeUTEAUwgJ+K5xIGlF+HBM6M22iP+o49j6F+sBp15q/wBDDFMR9IhV2mlcwJl4Lv/pp0L4hM9ulTD3E7fbg9uqA3VgjT/xUvIEK7N4EoLsBCvnUAwiYy2hlLE+1Wps3YWkWVs7FB8Kdc1IuhHJRiGkCenARuIklz0OLQsTuwGvei6L/rgowuVPlo84bLVBJsY9j0rJp5YQCt95N51ta0MqhbGK+SmFiYcb+pgEQbl9jlAbodqiGWqCYy1tn2gOAeIgFPIwlSJoP3aSueeYXAdDTwRooZUXtD7MQTRduV7G282nKidn/FLDB+A== 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-SenderADCheck; bh=+A4NMyBFCt2ZLkgV1V+cFoHky9p0bpAJ5gZD5NOON2Q=; b=N+thA58GY02Gk6mJH+LtUuJkoUjbhmFnMC5OyO/WYJ6D2iEG4AwNV71bJ68qgY76H1DVgFblOZSpma5AVXlLm/FTfD7sp6/3YyKKSqHCmRyUi+F52/GtPnsMN/R+tG7KY7I116LhNVK5Mml7OKOdj4gOeEwmJvcjOjG/OGTbRV5080fJr5CfoQO9uBcmXBButc6iF2jbt96QU0sPX5pA6AEYpiCIa091xtu8CMzHzLEww1UBNBJkFp5wnfeZPcydjBl3Qj8dJBNdIli2uIVyhpppphmikizSLEels+FuLfv0EU2KCCw7wNwPMkXAKlohiqJRH8xDFcRQh+Qfws0kSw== 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=+A4NMyBFCt2ZLkgV1V+cFoHky9p0bpAJ5gZD5NOON2Q=; b=dDGxbS3eVeOW8Z0sLSoqw4Hd2kJswdWx/MUkdh5kh3GDDiH+aH0ZUPdzSEXYs5TX7PyaIr4/pIQ4a1LeLdkCo6wo9M1pnYbXQZyt//D/XAPlhBZJ3+G3Fs1aivnoQDfGjOogdACLcSyy5Wr/WPGmN7mv/JhFjGsg3uEGS8CiLkU= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB4696.namprd11.prod.outlook.com (2603:10b6:208:26d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.23; Mon, 31 Aug 2020 02:39:00 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::b898:36f5:61cb:42ca]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::b898:36f5:61cb:42ca%7]) with mapi id 15.20.3326.025; Mon, 31 Aug 2020 02:39:00 +0000 From: "Xia, Chenbo" To: "Power, Ciara" , "dev@dpdk.org" CC: Maxime Coquelin , "Wang, Zhihong" Thread-Topic: [PATCH v2 13/17] net/virtio: add checks for max SIMD bitwidth Thread-Index: AQHWfI16nUK73WHwUUewauPIMiFbp6lRg+Vg Date: Mon, 31 Aug 2020 02:39:00 +0000 Message-ID: References: <20200807155859.63888-1-ciara.power@intel.com> <20200827161304.32300-1-ciara.power@intel.com> <20200827161304.32300-14-ciara.power@intel.com> In-Reply-To: <20200827161304.32300-14-ciara.power@intel.com> Accept-Language: en-US, zh-CN 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-originating-ip: [192.55.46.46] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6bca8747-90b7-4121-312c-08d84d57048a x-ms-traffictypediagnostic: MN2PR11MB4696: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Su1W+7lgEJluMHBu/Ri4UuYuRZHOC9Ug6qcwZQRB1RtKuJFXiqMPH5XlIHD/kHar83xsTI3vwpdJFnDirTs0U4C1grAkfN/l8XWzv5rbUiR0++cqTI6ogjlcqs4DS4L8DFuUu92T4WTj99Q2IsCECjymhaLrJa5XvUO0dxiHwcx0zfomdJZw34LvuHplhCBD1TWzxFB/Z9VN9/KDMNomgXEVripWhPxnYf8va4tu/8wsgMSNRrPRF9xtByTY1hNXkVB5SrnFAbSZJTHxj1tGPYAXfDA4KNGsnP9NTWEJiHIn8m8vJWtNJy9ZtrrrSd1e7NfpXecvJZwMuzqGUWCjTg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4063.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(376002)(396003)(136003)(39860400002)(366004)(2906002)(83380400001)(4326008)(66446008)(66476007)(66946007)(66556008)(64756008)(76116006)(7696005)(33656002)(8936002)(6506007)(316002)(8676002)(53546011)(54906003)(110136005)(107886003)(478600001)(86362001)(55016002)(52536014)(186003)(71200400001)(9686003)(26005)(5660300002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: Cl0oYAFn2nDukK5bquv9186GwdryUn+1H+lkSsDEFHPAnxbVqwvCI96hnF7HETkNvhVjaUXFZSN7c1OoGrxh8KOgcm0Hjx55t81EHnKLQIMbdtyDpyzCsvuQoWWO7gpl70rr1Dlec6hDBacVGJlEE9VKCoT57pcS6rbadUD6oQaNyrEBc6oHpT3GQhi2YNAodEe6gZPbIXyPMdwiyQZoeDEHuLM0us0zSlsaxzVDqG0JImu/SxJ79/X8pgUe5mv/ERkjA78BehSx/ixnAlSLvKNC/y8QmCncWjQxdMUM5DQPxrGih8sUdNfsfZljVewpbFd+uSuMiDu5KFPOdMQitJCy8y9Ke0IHYiatgI9FC0+E/cztL5VPxWIXNNqEVgSuu9Od4H3K4NA6s3i0HB4KrMUpuXXi0rck5VQnLJReFPmX/+ektMeshvy2hZ00dHkl7CUJUqbT+zIEo4Ht7K5HTMFe+qeqYcoMVGmxSySSprtRK0po1cBEtiw95OuaDlyCABfmq/+OTWOs0g3T6m7AdEdgpRhuhX0JhceAZDAfkyw3+fE2TJSPB55dZxgz1Kl5olPQ5/0WtPQJgY8VgwG9BTGqWOGLHRn3j7HfPDh/mha6NToECD4zYLh0ZKIheqOqndy3f59VI6Wyxe9EeSVaBg== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB4063.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6bca8747-90b7-4121-312c-08d84d57048a X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Aug 2020 02:39:00.4675 (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: iO7zaD6iF64En9ooHlFnhkp5OCeLHIrJfEbQhCfXasoD2fW8mtjRrBss1SSJJQ5RE49XKwwdU5kHZTdATkI1bQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4696 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 13/17] net/virtio: add checks for max SIMD bitwidth X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" SGkgQ2lhcmEsDQoNClNvcnJ5IGZvciBsYXRlIHJlc3BvbnNlIGFuZCB0aGFua3MgZm9yIHdvcmtp bmcgb24gdGhpcyEgQ3VycmVudGx5IHZpcnRpbw0KZHJpdmVyIHB1dHMgYWxsIHZlY3Rvci1yZWxh dGVkIGNvbmRpdGlvbnMgaW4gZGV2X2NvbmZpZ3VyZSAodmlydGlvX2Rldl9jb25maWd1cmUpLg0K RG8geW91IHRoaW5rIGl0J3Mgb2sgdG8gcHV0IGFsbCBiZWxvdyBjb2RlIGxvZ2ljIHRvIGRldl9j b25maWd1cmU/DQoNClRoYW5rcyENCkNoZW5ibw0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0t LS0tDQo+IEZyb206IFBvd2VyLCBDaWFyYSA8Y2lhcmEucG93ZXJAaW50ZWwuY29tPg0KPiBTZW50 OiBGcmlkYXksIEF1Z3VzdCAyOCwgMjAyMCAxMjoxMyBBTQ0KPiBUbzogZGV2QGRwZGsub3JnDQo+ IENjOiBQb3dlciwgQ2lhcmEgPGNpYXJhLnBvd2VyQGludGVsLmNvbT47IE1heGltZSBDb3F1ZWxp bg0KPiA8bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb20+OyBYaWEsIENoZW5ibyA8Y2h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