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 30445A04F9; Fri, 10 Jan 2020 08:53:35 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 46B951E533; Fri, 10 Jan 2020 08:53:34 +0100 (CET) Received: from m176168.mail.qiye.163.com (m176168.mail.qiye.163.com [59.111.176.168]) by dpdk.org (Postfix) with ESMTP id CB14B1DE83; Fri, 10 Jan 2020 08:53:31 +0100 (CET) Received: from sangfor.com.cn (sdy-hm5.qy.internal [127.0.0.1]) by m176168.mail.qiye.163.com (Hmail) with ESMTP id 6001278119A; Fri, 10 Jan 2020 15:53:28 +0800 (CST) Message-ID: To: Jeff Guo Cc: thomas , "ferruh.yigit" , arybchenko , "cunming.liang" , dev , stable X-Priority: 3 X-Mailer: HMail Webmail Server V2.0 Copyright (c) 2016-163.com X-Originating-IP: 223.104.63.38 In-Reply-To: MIME-Version: 1.0 Received: from fangtonghao@sangfor.com.cn( [223.104.63.38) ] by ajax-webmail ( [127.0.0.1] ) ; Fri, 10 Jan 2020 15:53:28 +0800 (GMT+08:00) From: =?UTF-8?Q?=E6=96=B9=E7=BB=9F=E6=B5=A950450?= Date: Fri, 10 Jan 2020 15:53:28 +0800 (GMT+08:00) X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZSFVKQktLS0tLTkxJSUtPTVlXWShZQU hPN1dZLVlBSVdZCQ4XHghZQVk1NCk2OjckKS43PlkG X-HM-Sender-Digest: e1kJHlYWEh9ZQUhOQk5JT0hJSUlMN1dZDB4ZWUEPCQ4eV1kSHx4VD1lB WUc6PzI6HSo6Kjg5TB5CDTUMSToZFzdPCxZVSVVKTkxDTU9JQ0tDTkJMVTMWGhIXVR0aFRwPFBUc ExoUOwgaFRwdFAlVGBQWVRgVRVlXWRILWUFZSUlIVUpLT1VNSFVIQ1lXWQgBWUFKTU9KQjcG X-HM-Tid: 0a6f8e719e4c93a8kuws6001278119a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] =?utf-8?q?=5BPATCH=5D_ethdev=3A_fix_secondary_process_?= =?utf-8?q?change_share_memory?= 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" dGhhbmtzIGZvciB5b3VyIGNvcnJlY3Rpb24gCkkgd2lsbCByZXdyaXRlIG15IGNvbW1pdCBsb2cg YW5kIHNlbmQgZW1haWwgYWdhaW4KCgrmlrnnu5/mtak1MDQ1MArpgq7nrrHvvJpmYW5ndG9uZ2hh b0BzYW5nZm9yLmNvbS5jbgrnrb7lkI3nlLEg572R5piT6YKu566x5aSn5biIIOWumuWItgoKCk9u IDAxLzEwLzIwMjAgMTU6MzAsIEplZmYgR3VvIHdyb3RlOgoKaGksIHRvbmdoYW8KCgogT24gMS85 LzIwMjAgODoyNyBQTSwgRmFuZyBUb25nSGFvIHdyb3RlOgogPiBIaSBhbGzvvIxJIGFtIGZyb20g U2FuZ2ZvciBUZWNoLkkgZm91bmQgYSBidWcgd2hlbiB1c2luZyBEUERLIGluCiA+IG11bHRpcHJv Y2VzcyBzY2VuYXJpby5UaGUgc2Vjb25kYXJ5IHByb2Nlc3MgZW50ZXJzCiA+ICJydGVfZXRoX2Rl dl9wY2lfY29weV9pbmZvIiBmdW5jdGlvbiB3aGVuIGluaXRpYWxpemluZy5UaGVuIGl0CiA+IHNl dHMgdGhlIHZhbHVlIG9mIHN0cnVjdCAicnRlX2V0aF9kZXZfZGF0YS5kZXZfZmxhZ3MiIHRvIHpl cm8sCiA+IGJ1dCB0aGlzIHN0cnVjdCBpcyBzaGFyZWQgYnkgcHJpbWFyeSBwcm9jZXNzIGFuZ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