From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8B3F9A053D for ; Fri, 17 Jul 2020 12:03:30 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0BE321BFFB; Fri, 17 Jul 2020 12:03:20 +0200 (CEST) Received: from mailgw04.it.ntnu.no (mailgw04.it.ntnu.no [129.241.56.34]) by dpdk.org (Postfix) with ESMTP id A052A1D529 for ; Tue, 14 Jul 2020 16:56:16 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mailgw04.it.ntnu.no (Postfix) with ESMTP id 07BF0138332F for ; Tue, 14 Jul 2020 16:56:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mailgw04.it.ntnu.no Received: from mailgw04.it.ntnu.no ([127.0.0.1]) by localhost (mailgw04.it.ntnu.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6klthw9zeRDi for ; Tue, 14 Jul 2020 16:56:15 +0200 (CEST) Received: from it-ex16.win.ntnu.no (it-ex16.it.ntnu.no [IPv6:2001:700:300:3::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailgw04.it.ntnu.no (Postfix) with ESMTPS id 9E1EA1383319 for ; Tue, 14 Jul 2020 16:56:15 +0200 (CEST) Received: from it-ex22.win.ntnu.no (129.241.56.45) by it-ex16.win.ntnu.no (129.241.56.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.529.5; Tue, 14 Jul 2020 16:56:15 +0200 Received: from it-ex22.win.ntnu.no ([fe80::9132:777c:fb57:dfe6]) by it-ex22.win.ntnu.no ([fe80::9132:777c:fb57:dfe6%13]) with mapi id 15.02.0529.010; Tue, 14 Jul 2020 16:56:15 +0200 From: Enio Marku To: "users@dpdk.org" Thread-Topic: Is there a dynamic version of the library (i.e, libdpdk.so)? Thread-Index: AQHWWe3zdynuhOPMhUuHbwL1G9ZrbQ== Date: Tue, 14 Jul 2020 14:56:15 +0000 Message-ID: Accept-Language: en-IE, nb-NO, en-US Content-Language: en-IE X-MS-Has-Attach: X-MS-TNEF-Correlator: X-Ntnu-xOriginatingIp: [129.241.34.190] MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 17 Jul 2020 12:03:17 +0200 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] Is there a dynamic version of the library (i.e, libdpdk.so)? 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: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi, I have an application build on top of mTCP https://github.com/mtcp-stack/m= tcp , which in turn is build on top of DPDK. [https://avatars2.githubusercontent.com/u/44916388?s=3D400&v=3D4] GitHub - mtcp-stack/mtcp: mTCP: A Highly Scalable User-level TCP Stack for = Multicore Systems github.com mTCP: A Highly Scalable User-level TCP Stack for Multicore Systems - mtcp-s= tack/mtcp I am trying to port that application into an SGX enclave using Graphene-SGX= https://github.com/oscarlab/graphene . To do such I need to mount binaries= into Graphene in-visible paths. I am trying to check for a dynamic library= version of DPDK but it seems there is none. Is there any way that I can bu= ild DPDK and getting a dynamic version of it? What I see in DPDK github rep= ository is that DPDK uses some libraries located at /x86_64-linuxapp-gcc/li= b and these libraries are a collection of static libraries of librte. I am = trying to avoid static libraries because of performance issues when using G= raphene-SGX. Is there an way to build DPDK and get a dynamic linking and if so can you = please tell me how to build DPDK in that way? [https://avatars0.githubusercontent.com/u/7105811?s=3D400&v=3D4] GitHub - oscarlab/graphene: Graphene / Graphene-SGX - a library OS for Linu= x multi-process applications, with Intel SGX support github.com Graphene / Graphene-SGX - a library OS for Linux multi-process applications= , with Intel SGX support - oscarlab/graphene Cheers, Enio Marku