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 9B106A04FD; Wed, 15 Jan 2020 07:49:30 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B69B71BFC7; Wed, 15 Jan 2020 07:49:29 +0100 (CET) Received: from m213143.mail.qiye.163.com (m213143.mail.qiye.163.com [223.252.213.143]) by dpdk.org (Postfix) with ESMTP id A57491BFB4; Wed, 15 Jan 2020 07:49:27 +0100 (CET) Received: from sangfor.com.cn (wm-7 [127.0.0.1]) by m213143.mail.qiye.163.com (Hmail) with ESMTP id A2AE158172A; Wed, 15 Jan 2020 14:49:18 +0800 (CST) Message-ID: To: Ferruh Yigit Cc: thomas@monjalon.net, arybchenko@solarflare.com, dev@dpdk.org, stable@dpdk.org, jia.guo@intel.com, cunming.liang@intel.com, qi.z.zhang@intel.com, jungle845943968@outlook.com X-Priority: 3 X-Mailer: HMail Webmail Server V2.0 Copyright (c) 2016-163.com X-Originating-IP: 113.110.229.205 In-Reply-To: <3c3022b0-aa8d-1404-0a6c-21a86ab6f9d7@intel.com> MIME-Version: 1.0 Received: from fangtonghao@sangfor.com.cn( [113.110.229.205) ] by ajax-webmail ( [127.0.0.1] ) ; Wed, 15 Jan 2020 14:49:18 +0800 (GMT+08:00) From: =?UTF-8?Q?=E6=96=B9=E7=BB=9F=E6=B5=A950450?= Date: Wed, 15 Jan 2020 14:49:18 +0800 (GMT+08:00) X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZSVVKSE1CQkJDT05OS09MTVlXWShZQU hPN1dZLVlBSVdZCQ4XHghZQVk1NCk2OjckKS43PlkG X-HM-Sender-Digest: e1kJHlYWEh9ZQUhNS0pKQkJMTkpDN1dZDB4ZWUEPCQ4eV1kSHx4VD1lB WUc6NxQ6Dww5Ajg8ORFPAjIYMx4xTA1PC1ZVSFVKTkxCS0xLQk1IQ0xPVTMWGhIXVR0aFRwPFBUc ExoUOwgaFRwdFAlVGBQWVRgVRVlXWRILWUFZSkpIVUpKS1VJSUJVSUtOWVdZCAFZQUlLT05ONwY+ X-HM-Tid: 0a6fa7f6ac4f7f7bkuuka2ae158172a 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_v2=5D_Fixes=3A_ethdev=3A_secondary_?= =?utf-8?q?process_change_shared_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" SGkgRmVycnVoLCB0aGFua3MgZm9yIHlvdXIgbWVzc2FnZS4KCgpXZSBkZXZlbG9wZWQgYSBldGh0 b29sLWRwZGsgd2hpY2ggaXMgc2Vjb25kYXJ5IHByb2Nlc3MgYmFzZWQgZHBkayAxNy4wOCB2ZXJz aW9uLiBPdXIgZGV2aWNlCnN1cHBvcnQgaG90cGx1ZyBkZXRhY2gsIGJ1dCBob3RwbHVnIGRlYXRj aCBpcyBmYWlsZWQgd2hlbiB3ZSB1c2UgZXRodG9vbC1kcGRrLldlIGZvdW5kIHRoZQpzZWNvbmRh cnkgcHJvY2VzcyB3aWxsIGNoYW5nZSB0aGUgc2hhcmVkIG1lbW9yeSB3aGVuIGluaXRpYWxpemlu Zy5TZWNvbmRhcnkgcHJvY2VzcyBjYWxscwoicnRlX2V0aF9kZXZfcGNpX2FsbG9jYXRlIiBmdW5j dGlvbiBhbmQgZW50ZXJzICJydGVfZXRoX2NvcHlfcGNpX2luZm8iIGZ1bmN0aW9uLgoocnRlX2V0 aF9kZXZfcGNpX2dlbmVyaWNfcHJvYmUgLT4gcnRlX2V0aF9kZXZfcGNpX2FsbG9jYXRlIC0+IHJ0 ZV9ldGhfY29weV9wY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