From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 48E0E4CBD for ; Wed, 28 Feb 2018 05:00:20 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Feb 2018 20:00:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,403,1515484800"; d="scan'208";a="33392360" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga004.fm.intel.com with ESMTP; 27 Feb 2018 20:00:18 -0800 Received: from fmsmsx117.amr.corp.intel.com ([169.254.3.243]) by fmsmsx104.amr.corp.intel.com ([169.254.3.209]) with mapi id 14.03.0319.002; Tue, 27 Feb 2018 20:00:17 -0800 From: "Wiles, Keith" To: "Burakov, Anatoly" CC: "dev@dpdk.org" , "Tan, Jianfeng" Thread-Topic: [dpdk-dev] [PATCH v3 2/5] eal: don't process IPC messages before init finished Thread-Index: AQHTr9hSUy+RN2bnvkuYTGLdpSf7zqO5t7MA Date: Wed, 28 Feb 2018 04:00:17 +0000 Message-ID: <54FDC65D-2E16-4F6B-8C1F-57863453FEA2@intel.com> References: <31f6d9ef676fb1eb0a664c06d62d66f32876dcb6.1519672713.git.anatoly.burakov@intel.com> <3903de6f3824e5063d49936e743e22dd819bad09.1519740527.git.anatoly.burakov@intel.com> In-Reply-To: <3903de6f3824e5063d49936e743e22dd819bad09.1519740527.git.anatoly.burakov@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.255.67.99] Content-Type: text/plain; charset="utf-8" Content-ID: <0BB19A44308EF64AADD6C440C761B3DB@intel.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3 2/5] eal: don't process IPC messages before init finished 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: , X-List-Received-Date: Wed, 28 Feb 2018 04:00:21 -0000 DQoNCj4gDQo+ICsJc3RydWN0IG1lc3NhZ2VfcXVldWVfZW50cnkgKmN1cl9tc2csICpuZXh0X21z ZywgKm5ld19tc2cgPSBOVUxMOw0KPiAJd2hpbGUgKDEpIHsNCj4gLQkJaWYgKHJlYWRfbXNnKCZt c2csICZzYSkgPT0gMCkNCj4gLQkJCXByb2Nlc3NfbXNnKCZtc2csICZzYSk7DQo+ICsJCS8qIHdl IHdhbnQgdG8gcHJvY2VzcyBhbGwgbWVzc2FnZXMgaW4gb3JkZXIgb2YgdGhlaXIgYXJyaXZhbCwN Cj4gKwkJICogYnV0IHN0YXR1cyBvZiBpbml0X2NvbXBsZXRlIG1heSBjaGFuZ2Ugd2hpbGUgd2Un cmUgaXRlcmF0aW5nDQo+ICsJCSAqIHRoZSB0YWlscS4gc28sIHN0b3JlIGl0IGhlcmUgYW5kIGNo ZWNrIG9uY2UgZXZlcnkgaXRlcmF0aW9uLg0KPiArCQkgKi8NCj4gKwkJaW50IGluaXRfY29tcGxl dGU7DQoNCkRvIHdlIGFsbG93IHZhcmlhYmxlcyB0byBiZSBkZWZpbmVkIGluIHRoZSBtaWRkbGUg b2YgYSBibG9jaywgSSB0aG91Z2h0IHdlIG9ubHkgYWxsb3dlZCB0aGVtIGFmdGVyIGEg4oCYe+KA mCBvciBvcGVuIGJsb2NrLg0KDQo+ICsNCj4gKwkJaWYgKG5ld19tc2cgPT0gTlVMTCkNCj4gKwkJ CW5ld19tc2cgPSBtYWxsb2Moc2l6ZW9mKCpuZXdfbXNnKSk7DQoNCkkgYW0gdmVyeSBjb25jZXJu ZWQgYWJvdXQgYWxsb2NhdGluZyBtZW1vcnkgd2l0aCBubyBsaW1pdC4gSWYgdGhlIHByb2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