From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 8149C1DBE for ; Mon, 3 Sep 2018 17:08:39 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Sep 2018 08:08:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,325,1531810800"; d="scan'208";a="70233002" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga008.jf.intel.com with ESMTP; 03 Sep 2018 08:08:38 -0700 Received: from fmsmsx117.amr.corp.intel.com ([169.254.3.210]) by fmsmsx107.amr.corp.intel.com ([169.254.6.151]) with mapi id 14.03.0319.002; Mon, 3 Sep 2018 08:08:34 -0700 From: "Wiles, Keith" To: Tom Barbette CC: "users@dpdk.org" Thread-Topic: [dpdk-users] ring vdev and secondary process Thread-Index: AQHUQ5It6pR153irskK54tyRC/5OoaTfHiqA Date: Mon, 3 Sep 2018 15:08:33 +0000 Message-ID: References: <1535985620212.88927@kth.se> In-Reply-To: <1535985620212.88927@kth.se> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.237.220.39] Content-Type: text/plain; charset="us-ascii" Content-ID: <71132635A5B82B478C60277F56330D7B@intel.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] ring vdev and secondary process X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2018 15:08:40 -0000 > On Sep 3, 2018, at 3:40 PM, Tom Barbette wrote: >=20 > Hi all, >=20 >=20 > I'm trying to use virtual devices (ring-based PMD, but the underlying sys= tem does not matter) between two DPDK processes. >=20 >=20 > But when I launch the secondary process, I get "RING: Cannot reserve memo= ry". I modified the message to get the rte_errno, which is 17, File exists.= This also happens with testpmd. Memory can not be allocated in the secondary process, but must request it f= rom the primary. Is this the problem? >=20 >=20 > I'm using DPDK 18.08. Using the ring API directly works without any probl= em. But I'd like to use the vdev one to build functional tests. >=20 >=20 > I tried with the TAP pmd, the device is not available in the secondary pr= ocess (rte_eth_dev_count_avail() is 0). >=20 >=20 > Thanks, >=20 > Tom Regards, Keith