From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.esentire.com (mail.iim-support.esentire.com [52.129.34.132]) by dpdk.org (Postfix) with ESMTP id 634227D33 for ; Wed, 23 Aug 2017 20:35:33 +0200 (CEST) Received: from exchange.esentire.com (cas01colo01p.internal [10.1.120.115]) by mail.esentire.com (Postfix) with ESMTPS id CBBFB1802A9 for ; Wed, 23 Aug 2017 18:35:31 +0000 (UTC) Received: from mbx01cmb01p.esentire.local (10.1.120.118) by mbx01cmb01p.esentire.local (10.1.120.118) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 23 Aug 2017 14:35:31 -0400 Received: from mbx01cmb01p.esentire.local ([fe80::814b:946e:3026:96c9]) by mbx01cmb01p.esentire.local ([fe80::814b:946e:3026:96c9%14]) with mapi id 15.00.1210.000; Wed, 23 Aug 2017 14:35:31 -0400 From: Ming Fu To: "users@dpdk.org" Thread-Topic: How to use --virtaddr for multi-process client app. Thread-Index: AdMcPdA2mP2B2xprSRO9aBHzEj0V9g== Date: Wed, 23 Aug 2017 18:35:31 +0000 Message-ID: <30dd191ff8994d9e9eaf57faba77ebc0@mbx01cmb01p.esentire.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.1.120.131] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: [dpdk-users] How to use --virtaddr for multi-process client app. 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: Wed, 23 Aug 2017 18:35:34 -0000 This is my first try on dpdk. I attached a snort process as an multi-proces= s client similar to the client in the client-server example. The snort rece= ives mbuf from the server process through a dpdk ring. A skeleton client wo= rked, but once linked to snort, it failed in rte_eal_init(). EAL: Detected 48 lcore(s) EAL: RTE Version: 'DPDK 17.08.0' PANIC in rte_eal_config_reattach(): Cannot mmap memory for rte_config at [0x7ffff7faf000], got [0x7fffdea94000]= - please use '--base-virtaddr' option Strace show that the mmap() returns a different address than requested. Wha= t address should I set the -base-virtaddr to? Is there a way to avoid this = kind of problem in general? Thanks, Ming