From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from demumfd002.nsn-inter.net (demumfd002.nsn-inter.net [93.183.12.31]) by dpdk.org (Postfix) with ESMTP id 2BB6B7E75 for ; Thu, 4 Dec 2014 08:21:38 +0100 (CET) Received: from demuprx016.emea.nsn-intra.net ([10.150.129.55]) by demumfd002.nsn-inter.net (8.14.3/8.14.3) with ESMTP id sB47LXEI023555 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 4 Dec 2014 07:21:34 GMT Received: from SGSIHTC004.nsn-intra.net ([10.159.225.21]) by demuprx016.emea.nsn-intra.net (8.12.11.20060308/8.12.11) with ESMTP id sB47LDNg003625 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 4 Dec 2014 08:21:29 +0100 Received: from SGSIHTC006.nsn-intra.net (10.159.225.23) by SGSIHTC004.nsn-intra.net (10.159.225.21) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 4 Dec 2014 15:21:04 +0800 Received: from SGSIMBX004.nsn-intra.net ([169.254.4.161]) by SGSIHTC006.nsn-intra.net ([10.159.225.23]) with mapi id 14.03.0195.001; Thu, 4 Dec 2014 15:21:04 +0800 From: "Chi, Xiaobo (NSN - CN/Hangzhou)" To: ext Hiroshi Shimamoto , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] add one option memory-only for secondary processes Thread-Index: AQHQDueVcqoIsoTRsU6Rx5H/6pbV1Zx/BI8A Date: Thu, 4 Dec 2014 07:21:04 +0000 Message-ID: References: <1417601518-16852-1-git-send-email-xiaobo.chi@nsn.com> <7F861DC0615E0C47A872E6F3C5FCDDBD05DCB1C7@BPXM14GP.gisp.nec.co.jp> In-Reply-To: <7F861DC0615E0C47A872E6F3C5FCDDBD05DCB1C7@BPXM14GP.gisp.nec.co.jp> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.159.225.120] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: clean X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate-size: 12090 X-purgate-ID: 151667::1417677694-0000677A-B73EAB27/0/0 Subject: Re: [dpdk-dev] [PATCH v2] add one option memory-only for secondary processes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2014 07:21:38 -0000 SGksIEhpcm9zaGksDQpZZXMsIHlvdSBhcmUgcmlnaHQsIGluIG9yZGVyIHRvIGF2b2lkIHN1Y2gg cHJvYmxlbSwgd2hpbGUgY3JlYXRlIHRoZSBtZW1wb29sLCB3aGljaCBzaGFsbCBiZSBzaGFyZWQg YmV0d2VlbiB0aGUgcHJpbWFyeSBwcm9jZXNzIGFuZCB0aG9zZSBzZWNvbmRhcnkgUHJvY2Vzc2Vz LCB3ZSBuZWVkIHRvIGFzc2lnbiB0aGUgY2FjaGVfc2l6ZSBwYXJhbSB2YWx1ZSB0byBiZSB6ZXJv LiBBbmQgaW4gb3JkZXIgdG8gbWFrZSB0aGUgc3lzdGVtIG1vcmUgc3RhYmxlLCBpdCdzIGJldHRl ciB0byBkZWZpbmUgdGhlIFJURV9NRU1QT09MX0NBQ0hFX01BWF9TSVpFIHRvIGJlIDAgaW4gcnRl X2NvbmZpZy5oLg0KDQovKiBjcmVhdGUgdGhlIG1lbXBvb2wgKi8NCnN0cnVjdCBydGVfbWVtcG9v bCAqDQpydGVfbWVtcG9vbF9jcmVhdGUoY29uc3QgY2hhciAqbmFtZSwgdW5zaWduZWQgbiwgdW5z aWduZWQgZWx0X3NpemUsDQoJCSAgIHVuc2lnbmVkIGNhY2hlX3NpemUsIHVuc2lnbmVkIHByaXZh dGVfZGF0YV9zaXplL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