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 A7FC5A2E1B for ; Tue, 3 Sep 2019 12:58:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7A9C31E895; Tue, 3 Sep 2019 12:58:53 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id B23E41D424; Tue, 3 Sep 2019 12:58:49 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Sep 2019 03:58:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,462,1559545200"; d="scan'208";a="333801814" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga004.jf.intel.com with ESMTP; 03 Sep 2019 03:58:47 -0700 Received: from fmsmsx101.amr.corp.intel.com (10.18.124.199) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 3 Sep 2019 03:58:47 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx101.amr.corp.intel.com (10.18.124.199) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 3 Sep 2019 03:58:47 -0700 Received: from shsmsx106.ccr.corp.intel.com ([169.254.10.86]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.132]) with mapi id 14.03.0439.000; Tue, 3 Sep 2019 18:58:45 +0800 From: "Wang, Xiao W" To: Maxime Coquelin , "Ye, Xiaolong" CC: "Bie, Tiwei" , "Wang, Zhihong" , "amorenoz@redhat.com" , "dev@dpdk.org" , "jfreimann@redhat.com" , "stable@dpdk.org" Thread-Topic: [PATCH 02/15] vhost: configure vDPA as soon as the device is ready Thread-Index: AQHVXj/fUpdxpQmEr0SEebjmeZFZracXj++AgACLTiCAAPZHAIAAuGLw Date: Tue, 3 Sep 2019 10:58:44 +0000 Message-ID: References: <20190829080000.20806-1-maxime.coquelin@redhat.com> <20190829080000.20806-3-maxime.coquelin@redhat.com> <20190902083445.GB1665@intel.com> <39a73293-0c11-12db-824a-fcd9beb3c46c@redhat.com> In-Reply-To: <39a73293-0c11-12db-824a-fcd9beb3c46c@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZjdhMTU1ODYtMTAxMS00ZTNhLTk0ZWUtYzlkYjNhYTVkNmIzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiTTBXU3dhRzdRTHVUbFl4RHBHMmwrXC9nXC9oOWdhQTRNS2NZU3VCRmxBYlJvSnZJaURYNmhTeHVkTjZyNE1ybGJIIn0= dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH 02/15] vhost: configure vDPA as soon as the device is ready X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" SGkNCg0KPiAtLS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