From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-4.sys.kth.se (smtp-4.sys.kth.se [130.237.48.193]) by dpdk.org (Postfix) with ESMTP id 044DE5F30 for ; Mon, 3 Sep 2018 16:40:24 +0200 (CEST) Received: from smtp-4.sys.kth.se (localhost.localdomain [127.0.0.1]) by smtp-4.sys.kth.se (Postfix) with ESMTP id B61C32743 for ; Mon, 3 Sep 2018 16:40:23 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-4.sys.kth.se ([127.0.0.1]) by smtp-4.sys.kth.se (smtp-4.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VtuTkcICo1xx for ; Mon, 3 Sep 2018 16:40:21 +0200 (CEST) Received: from exdb01.ug.kth.se (unknown [192.168.32.111]) by smtp-4.sys.kth.se (Postfix) with ESMTPS id 7F35C2664 for ; Mon, 3 Sep 2018 16:40:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kth.se; s=default; t=1535985621; bh=lmUf9IbXqNG3ixSEVRKSrCcDUfkaTg0QQO44Jy+GbsE=; h=From:To:Subject:Date; b=Whp05i1NS29N/Newjw31eG58CUVegrzDa5U57AbN4n7WCnH4tbKx9XrxHU8rHlcSe waUfNiCg6gRt7tjodiRAKtSu7FTror05mX7HkqasgMeUUkhiv7+eBcF5cpF1m2bHOU 71DXxy+349KAlSArddQWgQXwzi/6bYdJad91R0CQ= Received: from exdb05.ug.kth.se (192.168.32.115) by exdb01.ug.kth.se (192.168.32.111) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 3 Sep 2018 16:40:21 +0200 Received: from exdb05.ug.kth.se ([192.168.32.115]) by exdb05.ug.kth.se ([192.168.32.115]) with mapi id 15.00.1367.000; Mon, 3 Sep 2018 16:40:21 +0200 From: Tom Barbette To: "users@dpdk.org" Thread-Topic: ring vdev and secondary process Thread-Index: AQHUQ5It6pR153irskK54tyRC/5OoQ== Date: Mon, 3 Sep 2018 14:40:20 +0000 Message-ID: <1535985620212.88927@kth.se> Accept-Language: fr-FR, sv-SE, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [130.237.202.15] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [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 14:40:24 -0000 Hi all, I'm trying to use virtual devices (ring-based PMD, but the underlying syste= m does not matter) between two DPDK processes. But when I launch the secondary process, I get "RING: Cannot reserve memory= ". I modified the message to get the rte_errno, which is 17, File exists. = This also happens with testpmd. I'm using DPDK 18.08. Using the ring API directly works without any problem= . But I'd like to use the vdev one to build functional tests. I tried with the TAP pmd, the device is not available in the secondary proc= ess (rte_eth_dev_count_avail() is 0). Thanks, Tom