From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id A23CC11A4 for ; Mon, 10 Sep 2018 14:38:52 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Sep 2018 05:38:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,355,1531810800"; d="scan'208";a="82289648" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga003.jf.intel.com with ESMTP; 10 Sep 2018 05:38:27 -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, 10 Sep 2018 05:38:27 -0700 From: "Wiles, Keith" To: Charles Ju CC: "users@dpdk.org" Thread-Topic: [dpdk-users] Using dpdk libraries without EAL Thread-Index: AQHUSN9Oa9irLkRzdkWfkxcPiWbwIKTp6fAA Date: Mon, 10 Sep 2018 12:38:26 +0000 Message-ID: <199252A3-8503-40CE-ADB9-3ACF0A9146EE@intel.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.188.247] Content-Type: text/plain; charset="us-ascii" Content-ID: <6B411AFDBA1C564489DC85EA88394D4E@intel.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] Using dpdk libraries without EAL 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, 10 Sep 2018 12:38:53 -0000 > On Sep 10, 2018, at 3:20 AM, Charles Ju wrote: >=20 > Hi, >=20 > I have developed my own packet capture code and would like to just use th= e > dpdk libraries such as the ACL Library and mempool libraries. In this cas= e, > does these libraries require the EAL? There is a number of dependences with mempool, but if you can write your ow= n eal that calls the memory setup then yes you can. The problem is EAL does= a lot of initializations for memory, pci and threads and not calling rte_e= al_init() means you need to write some code to make sure everything is setu= p for mempool to work. If you are going to use the PMDs then you have a bit more work to get them = to work as mbufs, rings, buses and a number of other libs all need to be in= ited. EAL does that work today and breaking those dependences is not easy. Regards, Keith