From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id CBA532BB4 for ; Mon, 1 Aug 2016 10:44:55 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP; 01 Aug 2016 01:44:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,454,1464678000"; d="scan'208";a="1032791230" Received: from irsmsx153.ger.corp.intel.com ([163.33.192.75]) by fmsmga002.fm.intel.com with ESMTP; 01 Aug 2016 01:44:53 -0700 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.123]) by IRSMSX153.ger.corp.intel.com ([169.254.9.206]) with mapi id 14.03.0248.002; Mon, 1 Aug 2016 09:44:52 +0100 From: "Kerlin, MarcinX" To: "dev@dpdk.org" CC: "De Lara Guarch, Pablo" , "thomas.monjalon@6wind.com" Thread-Topic: [PATCH 0/2] add ensure consistent device data in multiprocess mode Thread-Index: AQHR6aeZBXJVzf2hukSiD0Uv4UcCE6AzznWA Date: Mon, 1 Aug 2016 08:44:52 +0000 Message-ID: <68D830D942438745AD09BAFA99E33E81276A9A@IRSMSX102.ger.corp.intel.com> References: <1469807819-7905-1-git-send-email-marcinx.kerlin@intel.com> In-Reply-To: <1469807819-7905-1-git-send-email-marcinx.kerlin@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 0/2] add ensure consistent device data in multiprocess mode 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: Mon, 01 Aug 2016 08:44:56 -0000 Self-Nack this patch because the commit log needs change. > -----Original Message----- > From: Kerlin, MarcinX > Sent: Friday, July 29, 2016 5:57 PM > To: dev@dpdk.org > Cc: De Lara Guarch, Pablo ; > thomas.monjalon@6wind.com; Kerlin, MarcinX > Subject: [PATCH 0/2] add ensure consistent device data in multiprocess mo= de >=20 > This patch ensure not overwrite device data in the multiprocess applicati= on. >=20 > 1)Changes in the library introduces continuity in device data > rte_eth_dev_data[] common for to all processes. Functionality detach clea= ns > data of detachable device and leaves space for other devices or for the n= ext > run app. >=20 > 2)Changes in application testpmd allow secondary process to attach the > mempool created by primary process rather than create new and in the case= of > quit or force quit to free devices of this process from shared array > rte_eth_dev_data[]. >=20 > Marcin Kerlin (2): > lib/librte_ether: ensure not overwrite device data in multiprocess app > app/testpmd: fix handling of multiprocess >=20 > app/test-pmd/testpmd.c | 30 +++++++++++- > app/test-pmd/testpmd.h | 1 + > lib/librte_ether/rte_ethdev.c | 87 ++++++++++++++++++++++++++++= ++--- > - > lib/librte_ether/rte_ethdev.h | 23 +++++++++ > lib/librte_ether/rte_ether_version.map | 8 ++++ > 5 files changed, 139 insertions(+), 10 deletions(-) >=20 > -- > 1.9.1