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 A1B13A0C41; Wed, 15 Sep 2021 13:44:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 209064014F; Wed, 15 Sep 2021 13:44:36 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 258384003C for ; Wed, 15 Sep 2021 13:44:34 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10107"; a="209385087" X-IronPort-AV: E=Sophos;i="5.85,295,1624345200"; d="scan'208";a="209385087" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2021 04:44:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,295,1624345200"; d="scan'208";a="470722436" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by fmsmga007.fm.intel.com with ESMTP; 15 Sep 2021 04:44:33 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 15 Sep 2021 04:44:33 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 15 Sep 2021 04:44:33 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.174) 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.2242.12; Wed, 15 Sep 2021 04:44:33 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PDPU6RdXOrRpvSNgZTzuOZHMCQMPjMLJqUYbOTubjVpBT5OD/TZXd4wzCldG306eVfVq9ztzJMxD5fm1FV4WupIck+eC33/jydzm6/N2hn0afwIF3mefdafNtmTp5kU76uW7EY0jB/584L+5VYYFXbQJ+uYxCyebsrhcQHD03RDhJ47Bg7EM7b5cl6L6DLFb+iL0nOXUCZ2x1e337n6YV32hjcXueNrZcRu2U8B/whGVE65I8cpsWeoz5sAs6rZ4DyQxL/DwI5/Lpiiw1s+NZm5PE2qYoi1jzO8j/rY7b/ZIM+oFGfTW9aEokJrYxWun9Vth5262CLOU6KZF3e0dFw== 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; bh=Frj+QE7Y6i36ETymQo6pyy+lZf0YQ0yDLlTqG4X65fQ=; b=A/FDijdQOa+/CER/fHa7p4TFkkRd0rZnP60g51XQPlOk+jRSNrA08FVbpDXLnthnSu2cvKQ9yvJuKYsnkOKR9W4VlY+dUnLCxamtXGQVpPfVGemLg7eGDpHy3vz3RfjQUorGAxfn6Au3TGXCVMnUz+PCLXHB+qx+CBv2Via8F7FmTXzGA3V3t6ZbjVkpRGPvCZYQ+dKFQeu09dsgQ/X9PC0kdthSx/iHyR4XmUSQHgMwtE4KnfNQ1olVOOjDNJHfVDa1k/LPlycuvt1nkUp1Ns0Xv9+W156lTryf8LjBiflsm6JSMehjpP58KgAYFSyVOQOx+c8LYnCs5YyM+BPveA== 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=Frj+QE7Y6i36ETymQo6pyy+lZf0YQ0yDLlTqG4X65fQ=; b=oADlCUTy+OMQDwgFpPDV3EXS+Gw2bGkazgE7Ams8gzzxXmC/80NSLMQQXgyIaPac8jzc3E3xkcoABVMrvuXbHvdFKYIGKChY5eS0hq55FcbLiQCtQHDtHGO0gwq+VEb2ntxjBHXtwRG5L8v8aGWxB9b3/iXFJQ6btTW76z4ZEdQ= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3775.namprd11.prod.outlook.com (2603:10b6:208:f7::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14; Wed, 15 Sep 2021 11:44:32 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::6873:dced:7f68:801]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::6873:dced:7f68:801%3]) with mapi id 15.20.4523.015; Wed, 15 Sep 2021 11:44:32 +0000 From: "Xia, Chenbo" To: Xueming Li , "dev@dpdk.org" CC: Andrew Rybchenko , Maxime Coquelin Thread-Topic: [PATCH v2] net/virtio: wait device ready during reset Thread-Index: AQHXqho03uvK8seF20CZYW1Z6TF51Kuk+YaA Date: Wed, 15 Sep 2021 11:44:32 +0000 Message-ID: References: <20210823063906.1382544-1-xuemingl@nvidia.com> <20210915101204.81754-1-xuemingl@nvidia.com> In-Reply-To: <20210915101204.81754-1-xuemingl@nvidia.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 47881a5e-8c7b-497d-c52f-08d9783e2f07 x-ms-traffictypediagnostic: MN2PR11MB3775: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QuTf0wCk9+gMXl5NEvnUNUNprjKoIR9DhKXqFKL4L10M71Nd7Bhat2+rOBtZF229VXMVTschgYTifLZt2pSozKHEzA5YXJLLDekApaymR4VBIbPUGGgHMYy8CmWwQudV5KkAnbB2yHMBPMvUeBUlmktG8aMg7JDZvP1witduzv+NOx6NWJz9YL2wMHINj1VwbgPxhLSGN4aZcBLZA3VC5GWeCN045uQRQnnc0PGZD+IKo045SXMUXAory/h2aEx8xtkwHqPSyeJG0ScI1XQcWEMDEjxgkgAGosNRGS5T7bex+CWE1/+Ol7imnTD/tFtS8ByUylHD5kHAAEMBG2tPftqVkSVpscZKjsfnE7MqBBFRgH/Ca7jn9/KCjpQhj9apA+ym5vTr92yWg6njfV9WJqQjsj+uWX/Q2GtCLnzjXMYAg0xSv1ck7eM194+OOnuQivjhECUH7f9BlEcW7kPKtUmRNEkn/N2CvqiWcCqRvGFG55Q9nMcBvGj5/echnpTzIA/sKk0ggMEQWIrv6rY/rggzi81jZA3qJSJVLPNii293TxDGqjRgpHmC7e35MYjQO8cjw8UyxNMJCYQfVHWX+Ev7/g5Uv1qACSZqgzx5CtqfAZOCpzWSa97yb1eOBr5XBjXS1uR1jUWBXRVAiDngW8ntrQnWo1WsOw5ENASC1BBlMH/UQ3sqrjuR8GiwYkWfnQ0bKOGtWEs9tixN84+CXA== 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)(136003)(346002)(39860400002)(376002)(366004)(396003)(4744005)(66446008)(64756008)(66946007)(66556008)(2906002)(71200400001)(83380400001)(76116006)(66476007)(6506007)(8936002)(38100700002)(53546011)(26005)(8676002)(33656002)(186003)(7696005)(54906003)(110136005)(122000001)(316002)(55016002)(9686003)(86362001)(5660300002)(38070700005)(478600001)(52536014)(4326008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?S1VQTi8vSjZnZldSRDdSMlBZcktQNWN5UlF5SW5YOFBOS1JwRXZ2SkJDZVJV?= =?utf-8?B?SndoTFRuVFp6Q090SUNEZlhxTVFFMEFuNXV5bXVHazArcVRidncvQ2VyL3Ru?= =?utf-8?B?eGNOSjZoblZBa1lubDRyZzA1aERqTGlLMi9MSmRKd3VKUVhuM3BoaU9hcllH?= =?utf-8?B?QXdjTkdaN2RuaDFpbnhmaTNQRUFVR2dWVHA3M1hmT2lxQm9Oc2xVWmR4YmdQ?= =?utf-8?B?MFlWL21GOW9ZRWZHU2tobFUzVEJNNWRpMHdxVDJxTnRkSUtuS05RUHZrVjFy?= =?utf-8?B?K2R4RTNscXpnWjZROWxxVkFka3pXZ3MrZUJBV2tRV2JobEFJMmw0WmQvTW5Y?= =?utf-8?B?S3JMWWFIWVZwQmUrcUtmR1E2cGNOcWtUek5Gdi9kK0haR2JCYnh4cnlzMmdQ?= =?utf-8?B?ak9ONUc4cXR1TmpuV3dzZ3FvMTdGZFdlTkRXUzN2NEcxcjNLcVN2K0kzQ3Mv?= =?utf-8?B?ZTZXZytjNXZ5QlZ5eFVtMkJqM1Y0K1cxN3VEYjIzUjNITHFodndKWUsxYVZH?= =?utf-8?B?LzZSSFpHMlZQNGlSdHRhN3Iwdy9NYi9iV2Z5eEZpSTFDK1VzMmM5ejF3MS90?= =?utf-8?B?eSt1eThuYTV4TFNXNmd0WEI2Smswbi9acVpOU3k0czBvU21RZWVuK1NVY2pG?= =?utf-8?B?RHUxN0V6MW1lK2J6ME9zbUU3TnVrbExaczIvZzAyNVFhcTJxbVllYkZCSkVt?= =?utf-8?B?NnFHN1Z6WjIyR3pLLytIQWt3R0hxcFVLSklhVytNd2ZZSHZjTU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vTWxCTi81T1g2?= =?utf-8?B?R1FFYXI0MG9DQUpNVEg0VTd1SUsvcDVRMkVHQjlFM29tTHRXeU9FNVM4RVVt?= =?utf-8?Q?urdiiJwi/WkgUQTOrKvCtULWRl0SJlT/DTgoT2v?= x-ms-exchange-transport-forked: True 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: 47881a5e-8c7b-497d-c52f-08d9783e2f07 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Sep 2021 11:44:32.1040 (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: NuC1CwderX+xrJTaSzAzKQt32oB6O5DVCDcZ36nqhNBhLk1C8gDsjDU77KFEPH8ad6iTL6sbbFp0dXVkrh/TXA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3775 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2] net/virtio: wait device ready during reset 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 Sender: "dev" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBYdWVtaW5nIExpIDx4dWVtaW5n bEBudmlkaWEuY29tPg0KPiBTZW50OiBXZWRuZXNkYXksIFNlcHRlbWJlciAxNSwgMjAyMSA2OjEy IFBNDQo+IFRvOiBkZXZAZHBkay5vcmcNCj4gQ2M6IHh1ZW1pbmdsQG52aWRpYS5jb207IEFuZHJl dyBSeWJjaG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