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 8ED1D41C49; Thu, 9 Feb 2023 09:03:09 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 75F4C4113D; Thu, 9 Feb 2023 09:03:09 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 9BE774282D for ; Thu, 9 Feb 2023 09:03:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675929787; x=1707465787; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Jq88tyXZxfTivpqvGEzFpLOf0M0bIhsL5UCOJCVfwrQ=; b=ndaoFOFLSqXkFtF+V9J8iSL3dLnY0Y4Vq4wRL6kKpXbBQSGx3fsP/GNr a6khPZRqtMkmigDEaFX9ooAl/7dD+fEBAX4AAT/2o7ZrCckC03Hya28ax CaD/rIPgarOYv1EsjT1GeXloRpBBmjPS8zcg3RWK6LgagSX4rLziz/2yZ mK821FoPNwy9FviP9xB0tSQdqY1+w8R8XgMqZik2cW9rgP36VUEbqmloz GTZRc6+TxxQOL0p1zRCVsYlXP07ntKJfVLyEfds56ETc6DaGmYcKY+Gyl JrSNB/X72pYRxS2JeHeOcJvkaARO4BkztRc8sOpr0bmaOGEF1qDZnigA3 A==; X-IronPort-AV: E=McAfee;i="6500,9779,10615"; a="309692793" X-IronPort-AV: E=Sophos;i="5.97,283,1669104000"; d="scan'208";a="309692793" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Feb 2023 00:02:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10615"; a="697941644" X-IronPort-AV: E=Sophos;i="5.97,283,1669104000"; d="scan'208";a="697941644" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga008.jf.intel.com with ESMTP; 09 Feb 2023 00:02:31 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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.2507.16; Thu, 9 Feb 2023 00:02:30 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Thu, 9 Feb 2023 00:02:30 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) 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.2507.16 via Frontend Transport; Thu, 9 Feb 2023 00:02:30 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.100) 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.2507.16; Thu, 9 Feb 2023 00:02:29 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NnF9pr7+FAXUum6dvFCk/FR4v+32MFmB12oxVNSsr1LbxEmReTr0QrxxNofDVJYhzfyjpk7HqKYn6m23+yilRa3l/eyJvvuIBqhoYxVsHvJZ7DOEXh7oaNZ7x4M7rOJFAFPiQcA7eochzApZFfiLaLpfY863+h6AFG6eZr0np/gEzMMM04aNqKkbxEsnJ2NbeaDpTR+i1M70WG1ZEG82h/q8dvqf9Npu/UbdH1CTdETKzWvN4ccmt6ydANTgH46ASwvNW777r1vOm6ER7sBpi0b/UMMQR11yBg76kGXxqnbBD47sv4+K+7NF95cl5HhABb1z8Hv7b7auFW1tyArTMw== 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=Jq88tyXZxfTivpqvGEzFpLOf0M0bIhsL5UCOJCVfwrQ=; b=TNcWWI3qP7ta8CabGkuyfCE99S0EPElONIoizJV2u+/UgidGNVHAKcsKmC34fKMeURzPSInpo/YyUpli+XDZ4ks+18XlychKV1NL4J4mZmn3aWO3OC0sBbvUs0X9KMgwPj0IowGzI8CBWjYg/nK+SLGEvgEt0TUKMDNRmv/PThMTYUP5CRmWE12eqOlAWulS1O6VR2iJ6Uw2nFeKidpHkw8B3gT44AzPXVNV/mtdAfwwxVc0sxZZksIbQAbhwJDBN3QRm6xxMs1Fh7a1tg4nrAnXjgacEizmH1rWOcVkQkALqYf812W+mVxit6oYshLn3ogXoMkO0m5HBkCLGtq/eA== 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 Received: from SN6PR11MB3504.namprd11.prod.outlook.com (2603:10b6:805:d0::17) by DM4PR11MB6020.namprd11.prod.outlook.com (2603:10b6:8:61::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.17; Thu, 9 Feb 2023 08:02:28 +0000 Received: from SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::c8f8:a3e1:5b23:a9c3]) by SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::c8f8:a3e1:5b23:a9c3%5]) with mapi id 15.20.6086.017; Thu, 9 Feb 2023 08:02:28 +0000 From: "Xia, Chenbo" To: David Marchand , "dev@dpdk.org" CC: "maxime.coquelin@redhat.com" , "stephen@networkplumber.org" , "Hu, Jiayu" , "Wang, YuanX" , "Ding, Xuan" , "mb@smartsharesystems.com" Subject: RE: [PATCH v6 8/9] vhost: annotate vDPA device list accesses Thread-Topic: [PATCH v6 8/9] vhost: annotate vDPA device list accesses Thread-Index: AQHZOuFs9ifTKPEEREC5rinofMHsPa7GQ+Mg Date: Thu, 9 Feb 2023 08:02:28 +0000 Message-ID: References: <20220328121758.26632-1-david.marchand@redhat.com> <20230207104532.2370869-1-david.marchand@redhat.com> <20230207104532.2370869-9-david.marchand@redhat.com> In-Reply-To: <20230207104532.2370869-9-david.marchand@redhat.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN6PR11MB3504:EE_|DM4PR11MB6020:EE_ x-ms-office365-filtering-correlation-id: c0fd2334-5f83-483e-0198-08db0a73fcfa x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: afm3wD7iV6c9/I83OyEPHEE9ERnAlq9YMopnfWkSpf/m4xK33ihGbCs3EMvr820sSqb5a16//KiNQB5rl9s8UjwYW8fmH3G+iDh/i2bpovZ3AwD19P+b61UxnA1XMelrSUCWRGzjdq+OfNSr71Fe9wv/0Mzkt6XhlluW1/Xo1f2XM9inyeysau8Q7dPbxGRdawvEr5TUQfyBIqbuNqDG2ZMZ5oJU/wOzXzOhawjAr9FujvqHBO1R0MijKEkfrTMg5/oDpTpZWDxFPV5n2All1ESGDmc01shz7yGvybp0MNUnE5wdzVkhjdmociVTNyrlpJ7SMWQD6v09I2dkD9CL88cEP+bBLSDnkR8WcN8VRUjli40pxrMILyRZ7VY0IxxYzn32AP5Gv7XFXfXzeR+c6HdHY+sZBlwcT8PQ8mEImnayHy2BxJXgQLkbPDow7AnLNimX3R/Ndq8PtKJ4vB9QZpbXJW/wcGuGTXAKRxUsEvj5HRvqCWwU5OkRg9KAQo7bRHfyUgCh07lYfIHckd9QaYzc3thNCn/wypt7sDbcaitc0P6GZHOAU5eo/XMsSPvSn4JUSDThQwcuNjg99eN/2uy6Duen/qec095sHBqXcjN71vVubjELkQw8WX3vNb7JtPKf6hZVpB8cA/ep6t+AaQkCaGs4Vd8bU7zaJzQqeitGvHVWs3UsHro2Xf/3+2iLAjig+A9FhjiFki/9EBqktQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3504.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(346002)(39860400002)(376002)(136003)(396003)(366004)(451199018)(2906002)(86362001)(38100700002)(82960400001)(122000001)(71200400001)(66574015)(7696005)(186003)(26005)(76116006)(9686003)(6506007)(53546011)(110136005)(33656002)(38070700005)(55016003)(66556008)(64756008)(54906003)(83380400001)(66476007)(316002)(66446008)(66946007)(4326008)(478600001)(41300700001)(52536014)(8676002)(5660300002)(8936002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?N041Q2JoOFBNR0plTUpmRmJ1WEtuckxVWFgvdmtiYlhRbEFPSngwYmFJdEdh?= =?utf-8?B?Vm45Wm1vNnZLbFgyeXZ6M1BDbmNXM1hzQWZlTDg2a1JMNTdsZjdFU1NlWENn?= =?utf-8?B?WGI1c2p5VGRGb3R6MWxNWW5qNHcvV1Q2dTF3bGdaUHJnTlpaVE14RU1HaHFj?= =?utf-8?B?N0FhVGRDQWpvRjJkbUVaWW8rbklLODJvNlBxVlVsOTZYbzBGWmdLSUJnWXY1?= =?utf-8?B?YWtieU10K1ZSTnNjeFhCMVZyTDBRRTJsNDYzWmtnZFJFdG5DcmlCTDBGWHZT?= =?utf-8?B?d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YlNOb0dVUmhsTnZreHc2bUdD?= =?utf-8?Q?U2mNYM36fKL4UJN7Y2Yu9jXOl?= 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: SN6PR11MB3504.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c0fd2334-5f83-483e-0198-08db0a73fcfa X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Feb 2023 08:02:28.4191 (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: V2O1QYiXMx+JucfXZrVTn+6qJFr9unnNJ9wVZacweD0av5FtnZedRmHKenq8+E9cPgG1FE5xrbKWOTH+Vy2bMw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB6020 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBEYXZpZCBNYXJjaGFuZCA8ZGF2 aWQubWFyY2hhbmRAcmVkaGF0LmNvbT4NCj4gU2VudDogVHVlc2RheSwgRmVicnVhcnkgNywgMjAy MyA2OjQ2IFBNDQo+IFRvOiBkZXZAZHBkay5vcmcNCj4gQ2M6IG1heGltZS5jb3F1ZWxpbkByZWRo YXQuY29tOyBzdGVwaGVuQG5ldHdvcmtwbHVtYmVyLm9yZzsgWGlhLCBDaGVuYm8NCj4gPGNoZW5i by54aWFAaW50ZWwuY29tPjsgSHUsIEppYXl1IDxqaWF5dS5odUBpbnRlbC5jb20+OyBXYW5nL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