From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1ECE1A0C4D; Thu, 7 Oct 2021 06:50:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B266D407FF; Thu, 7 Oct 2021 06:50:51 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 3956A40685; Thu, 7 Oct 2021 06:50:49 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10129"; a="213110591" X-IronPort-AV: E=Sophos;i="5.85,352,1624345200"; d="scan'208";a="213110591" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Oct 2021 21:50:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,352,1624345200"; d="scan'208";a="458659989" Received: from irsmsx606.ger.corp.intel.com ([163.33.146.139]) by orsmga002.jf.intel.com with ESMTP; 06 Oct 2021 21:50:47 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by IRSMSX606.ger.corp.intel.com (163.33.146.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 7 Oct 2021 05:50:45 +0100 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2242.012; Thu, 7 Oct 2021 12:50:42 +0800 From: "Zhang, Qi Z" To: "Yigit, Ferruh" , "Yu, DapengX" , "Richardson, Bruce" , "Ananyev, Konstantin" , "Wu, Jingjing" , "Xing, Beilei" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [dpdk-stable] [PATCH] net/iavf: fix multi-process shared data Thread-Index: AQHXtdtnhuCLYE35lkOLX11CLzhX76u74f8AgAsZDMA= Date: Thu, 7 Oct 2021 04:50:42 +0000 Message-ID: References: <20210928033753.1955674-1-dapengx.yu@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.200.16 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] net/iavf: fix multi-process shared data X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2IDxkZXYtYm91bmNl c0BkcGRrLm9yZz4gT24gQmVoYWxmIE9mIEZlcnJ1aCBZaWdpdA0KPiBTZW50OiBUaHVyc2RheSwg U2VwdGVtYmVyIDMwLCAyMDIxIDY6NTcgUE0NCj4gVG86IFl1LCBEYXBlbmdYIDxkYXBlbmd4Lnl1 QGludGVsLmNvbT47IFJpY2hhcmRzb24sIEJydWNlDQo+IDxicnVjZS5yaWNoYXJkc29uQGludGVs LmNvbT47IEFuYW55ZXYsIEtvbnN0YW50aW4NCj4gPGtvbnN0YW50aW4uYW5hbnlldkBpbnRlbC5j b20+OyBXdSwgSmluZ2ppbmcgPGppbmdqaW5nLnd1QGludGVsLmNvbT47IFhpbmcsDQo+IEJlaWxl aSA8YmVpbGVpLnhpbmdAaW50ZWwuY29tPg0KPiBDYzogZGV2QGRwZGsub3JnOyBzdGFibGVAZHBk ay5vcmcNCj4gU3ViamVjdDogUmU6IFtkcGRrLWRldl0gW2RwZGstc3RhYmxlXSBbUEFUQ0hdIG5l dC9pYXZmOiBm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