From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 5064D14EC for ; Thu, 11 May 2017 23:33:34 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP; 11 May 2017 14:33:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,326,1491289200"; d="scan'208,217";a="85767800" Received: from orsmsx110.amr.corp.intel.com ([10.22.240.8]) by orsmga002.jf.intel.com with ESMTP; 11 May 2017 14:33:33 -0700 Received: from orsmsx159.amr.corp.intel.com (10.22.240.24) by ORSMSX110.amr.corp.intel.com (10.22.240.8) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 11 May 2017 14:33:33 -0700 Received: from orsmsx104.amr.corp.intel.com ([169.254.4.118]) by ORSMSX159.amr.corp.intel.com ([169.254.11.110]) with mapi id 14.03.0319.002; Thu, 11 May 2017 14:33:33 -0700 From: "Mastorakis, Spyridon" To: "dev@dpdk.org" Thread-Topic: "Port 0 is not present on the board" when building DPDK libraries as shared Thread-Index: AdLKne0KF7mx7AQaS0WgJknEwZpOjg== Date: Thu, 11 May 2017 21:33:32 +0000 Message-ID: <84F194B655461746B15919D288BD7AB02877EB@ORSMSX104.amr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [10.22.254.138] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] "Port 0 is not present on the board" when building DPDK libraries as shared X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2017 21:33:34 -0000 Hi guys, When I compile the DPDK libraries as shared (by modifying the base_config f= ile) and try to run an application (e.g., l3fwd), I get an error that port = 0 is not present on board. I have cleaned the system several times (unbinded NICs, removed igb_uio and= uio modules and hugepage mappings) and have configured everything again, b= ut this does not resolve the issue. I am also not able to add a virtual dev= ice (specifically a virtual ring) when I compile as a shared library (no PM= D drivers found). When I compile the DPDK libraries as static though, everything works perfec= tly fine and I can run the DPDK applications and add virtual rings. I have tried dpdk-17.02 and the latest stable dpdk version (16.11.1), but n= one of them seems to work. Do you have any clue why this is happening? Thank you in advance, Spyros