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 ACEB641D94; Tue, 28 Feb 2023 03:45:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 469A940DD8; Tue, 28 Feb 2023 03:45:53 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id B3C3640141 for ; Tue, 28 Feb 2023 03:45:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677552351; x=1709088351; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=HBbUPqEdWGkw44O5ZtL13VGE5CmS4TK/vPDvC2BWvN4=; b=XO8atsiz3dMaJe+b0GsTTDLx7/FW5cEcvjVJlBmW/5QxD2Y/i/4O/lwv LJhJhV9tcmoNIpzoWhe2OvyMrPTexHGpguSUbOo5XJPMh+FpkBpP4B+hA 6uljipCN8mebJPcr2pTWSJ85sPRQGiDXjKsOYJOSbv36lbKzym2Bn9YaG +WLbAus9+VodreMBZXXclR2aJJPlMSNGwN+eLRUEiNbF21csDaBvXyDn3 pPuEfII9GNGFZ+TrGFZddSBMckUUQikXbwXYKcDD+HHm1bCNxP4rxJlbu a34jwVZMWOjVfhbtqmUAH/jX1J3BJAVeHWblNIhOPLCOdkj4NQH3TsQqN Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10634"; a="361591506" X-IronPort-AV: E=Sophos;i="5.98,220,1673942400"; d="scan'208";a="361591506" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2023 18:45:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10634"; a="623864788" X-IronPort-AV: E=Sophos;i="5.98,220,1673942400"; d="scan'208";a="623864788" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga003.jf.intel.com with ESMTP; 27 Feb 2023 18:45:50 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Mon, 27 Feb 2023 18:45:49 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Mon, 27 Feb 2023 18:45:49 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.169) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Mon, 27 Feb 2023 18:45:45 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hiF/TC1+mIHj/SqGR57Pw1iujsUKeKOcn5KgmrunWCeAeZUOx8L11K0x47dHKoA46H6HBJe5B9R04JyS9i80uUFLbXgEoUzo3bj6b7fFIRx1gASO/6cd5fXSUnOD5boaQzKsm5yIHMKr2oNo/nXfkzbklEXe5UI2UafueLGdkbg2XIMLeJ3FBWs4Bfo2TQhkyeVZBuv+IehJJZTsLIJ1VGdRkBr+f0ef3RErEU1Bxyq+h0zFPSqbI1HPta/f5inZvzxvsnn81eTuEL0zHkm0juTPUMaNhza66EQKImTsk9E+KbjnmgItubtwGUD1WM/rq5QQNiYcRrFuRp5U2ahhtA== 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=HBbUPqEdWGkw44O5ZtL13VGE5CmS4TK/vPDvC2BWvN4=; b=HaHX4NrRm5P+3Z0Am5AyvvF5qfx7+WcDGgH0fjvuHstVDSsNDYSJW3KlWUgluEjlX7hiriJrzhEbUZL+miVbQWc8NBo48Yujwk+yXH5BbrwTgjxKTN1YyPYqzT0FsDQtqrk6UHWoYf3J3GOb1AvUfNVC2tiIRcXErOH4FsU3JWBLHMq7fyGBhor3U0R5cj1l/wjc71B7dd4MD4FUhMc5ahcHdOehVSsgnPT3uO/8KyGXZNNNfbMeYLPWXZmjPmJsmSUSfovNMtBlcqVpGtjeQv9bkWz/ypiVoii81ujW1KaZk/GGd+FPthhLj+lM7fUB2m07ADGUbt3WcicKZ7bsEw== 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 DM4PR11MB5312.namprd11.prod.outlook.com (2603:10b6:5:393::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.30; Tue, 28 Feb 2023 02:45:43 +0000 Received: from SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::930b:6671:e4f0:4ebc]) by SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::930b:6671:e4f0:4ebc%3]) with mapi id 15.20.6134.029; Tue, 28 Feb 2023 02:45:43 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , David Marchand CC: "dev@dpdk.org" , "thomas@monjalon.net" Subject: RE: [PATCH v2 11/20] net/virtio: annotate lock for guest announce Thread-Topic: [PATCH v2 11/20] net/virtio: annotate lock for guest announce Thread-Index: AQHZSGJ1KLFMesi3Y0auUyUIzePIjK7iDugQgABqCQCAAIc+gIAArA3A Date: Tue, 28 Feb 2023 02:45:42 +0000 Message-ID: References: <20230224081642.2566619-1-david.marchand@redhat.com> <20230224151143.3274897-1-david.marchand@redhat.com> <20230224151143.3274897-12-david.marchand@redhat.com> In-Reply-To: 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_|DM4PR11MB5312:EE_ x-ms-office365-filtering-correlation-id: 9a54b9d9-06ac-4091-9f0e-08db1935e2a6 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: fGlaF/S2kIeBUXOoAYsAKEN+oGgBMCXzxojBdlHjsmBoqP8KfjDZj51FpAYO87vETnLE4JjviivyMG0cHgPBXHv+jlpRoZ9nkJ0bee65c7m5J4QHxe0Poh8TDfdC157QN15J3VbpEbB9srwZeHS39FF3XZUwiq+5kpyna5ZNYga0inMw4xdlMvOggUCRsPwFn3Myi/PfZGnAxh5cgC7RkVvptJL8vFqgz1P0jnvI3QgtLzuFwG9eG1GQR1ji+nByIYoSjyE56ni6VLH7QSya6MWveWXwUY3caYTbn3ZM4gsykaIg/lGMmX5GPJFZ7bWxtGYqKmEtetZXqwEZjbYfcsMmj+gqkWri5oNa2wSLPWUuHsO9AY0S8kNbWIrej9jJy1xUXmskBZDAJVlSS9rZqMagKf/01YsqSj1nXF5n5KzPtFa83xV+/4t1Q+oAEWrdF6ytHTcNxT8kszOpJAeLNph4XVVbWlchXdjFUCz7rnzkGCdNVLW6kjHAZUWD5WGZlbVsQSi+M7OD2I3NrsjsJW6Bx5UzTrEzlf/ppqxgjFJBNsAM72QE4NcDpt3DGd1x+++1+EfohO9tFEmHDsDoux/vRydqETKoltJpcku9z4XV6c8t3XKL+GSmEubvF5Nn+KPH1GYuQR8Bccf1712B0S+jVR+zW3Mq9uYn2a3Lcedz7wX0RUgE2eWxmORIl3TVvS84Y1bKWmpJXONEuqYWVw== 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)(366004)(396003)(136003)(376002)(39860400002)(346002)(451199018)(83380400001)(54906003)(110136005)(316002)(33656002)(4326008)(82960400001)(122000001)(8676002)(66446008)(55016003)(38100700002)(64756008)(6506007)(9686003)(26005)(186003)(71200400001)(7696005)(53546011)(66476007)(66946007)(76116006)(86362001)(8936002)(2906002)(66556008)(478600001)(52536014)(41300700001)(5660300002)(38070700005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?MXVoZUxQUWRsUWtQK0NqTGFuT21MS3VldlFWOTlBeTdJcmhCYnYxcXA3d3dS?= =?utf-8?B?OWpZbjJ1aGRld2VHUDZhQXRrdjhsWGl2RjlFa05wYXd5cmsrYXFWNWxEUHRy?= =?utf-8?B?Y0hYQS9zL2lwbW1CZEhCRExSRDB6MXRnQ0h2ZDgvdytrek1SY0s2MU5kREJw?= =?utf-8?B?NVlxNlRXNHEyb3NGZXZndTliNFY1dlRBTzhYb25ZcEtjT0drUWZrN0E5MG1C?= =?utf-8?B?QlJvUnNZTU80bFlhRGI4dkxyR3hBcEdmTklGZnltVUtrQmp3UzNld0tqdDBI?= =?utf-8?B?TGllb3JQNjQ4d3RFaTd6M0ViUFE4cWJnandoM3FmQzVacWljNWRxbURUQTMx?= =?utf-8?B?VzdWeU5uUW51eGJiQ3dJcmpQN2JqVmRGdmQxcGlDR0dGdFV5ZUhVQkNMOVFm?= =?utf-8?B?eGdSZDJhd243KzA1dTA3bHdzYk5FczlnbVRyclhDYU5DLzY3M1BmNDNEVFM2?= =?utf-8?B?b2J6cVRQcGpGS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w?= =?utf-8?B?UjJxYXc3RURzMW1xTkF5bVl3VzBOc1A3SFNObnNyeFVTWHlsUEtveDhDTWR0?= =?utf-8?B?VG1HOEtGTHJaVkttUVFKSTdDVGxGYkxVM29EcWtjbTRxUG9BcWc4djdPSFNI?= =?utf-8?B?VGpJNGFUblFXUzVGOEcrcm00cEFSVHZnZXNMV2NkQVM4eFpJQnEyaEZUSndi?= =?utf-8?B?NEJ5a0xkVVBFdDdIK3dDRjhsZk5BM2RIR2FaNUFOL3UxREV4Mk1rYTdHby8r?= =?utf-8?B?c1NVMFhrV3NTemd4YkttRTNyZXR0OUl0VFA3bWNsZnBKYVQwOUxmNUwvUXJp?= =?utf-8?B?cm14dXByS01FU2cvbncwNFRUSzczWFlsNlh6TDlVSDVtQWV3VDhHZVhZV1hF?= =?utf-8?B?eEgvL2tXTjB3ZUpKazcrTmd5a3VFeWtmQVpNK25aS2RuZWw0K0tNektnSUtw?= =?utf-8?B?N0FPdDhvb2kremVEdW1QaWFIVVZwL2xPVGtPNlpxY1pDZlowTDRFMHQ4ZkVH?= =?utf-8?B?Ynl6QWZwaldtdTBoY2x0cnFPQ0N5Z2F1aS9oZStCMjRFUXo3UUdHVGcvU0h0?= =?utf-8?B?bkRCb21XNlpLZzZYdUZRZjB0VEw5MUhuNU5MSHJjS080bFNXbHR3SFdjbTls?= =?utf-8?B?K0Zod1duTGg0S084YnZBMVdzOG5aVmNOM2lmdWlsb25qa05VUU5aSmd4RVUr?= =?utf-8?B?K3QvSTZHVjR3MFVVck1sajVxbFZDd1lka2V4Wnd0cUxmemVqU2NYRWxGL3R6?= =?utf-8?Q?/mqIswJ0GrfdcECGhROZHBCYJ?= 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: 9a54b9d9-06ac-4091-9f0e-08db1935e2a6 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Feb 2023 02:45:42.9432 (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: 3NlMyA3I62mPZNSk69nhJ88hIgow7TDCmLhLpjCWgAC3EAp7t1QXiC7g35mP4qh/dxSF9IuS6F9PPCMyXvZv2g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB5312 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 SGkgRGF2aWQgJiBNYXhpbWUsDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJv bTogTWF4aW1lIENvcXVlbGluIDxtYXhpbWUuY29xdWVsaW5AcmVkaGF0LmNvbT4NCj4gU2VudDog VHVlc2RheSwgRmVicnVhcnkgMjgsIDIwMjMgMTI6MjggQU0NCj4gVG86IERhdmlkIE1hcmNoYW5k IDxkYXZpZC5tYXJjaGFuZEByZWRoYXQuY29tPjsgWGlhLCBDaGVuYm8NCj4gPGNoZW5iby54aWFA aW50ZWwuY29tPg0KPiBDYzogZGV2QGRwZGsub3JnOyB0aG9tYXNAbW9uamFsb24ubmV0DQo+IFN1 YmplY3Q6IFJlOiBbUEFUQ0ggdjIgMTEvMjBdIG5ldC92aXJ0aW86IGFubm90YXRlIGxvY2sgZm9y IGd1ZXN0IGFubm91bmNlDQo+IA0KPiBIaSwNCj4gDQo+IE9uIDIvMjcvMjMgMDk6MjQsIERhdmlk IE1hcmNoYW5kIHdyb3RlOg0KPiA+IEhlbGxvIENoZW5ibywNCj4gPg0KPiA+IEFkZGluZyBNYXhp bWUgdG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