From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 7F1839A9E for ; Mon, 18 May 2015 11:34:55 +0200 (CEST) Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t4I9YsHr028676 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 18 May 2015 05:34:54 -0400 Received: from localhost.localdomain (vpn1-4-142.ams2.redhat.com [10.36.4.142]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t4I9Yr1e017173; Mon, 18 May 2015 05:34:53 -0400 Message-ID: <5559B23D.2030605@redhat.com> Date: Mon, 18 May 2015 12:34:53 +0300 From: Panu Matilainen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Stuart Andrews , dev@dpdk.org References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 Subject: Re: [dpdk-dev] No probed ethernet devices with shared library X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 09:34:56 -0000 On 05/18/2015 12:55 AM, Stuart Andrews wrote: > Hello, > > I've been trying to create an app which uses the DPDK shared library and > therefore I have > > CONFIG_RTE_BUILD_SHARED_LIB=y > > However, when I try to run 'test-pmd' I get > > EAL: No probed ethernet devices > > This is strange because when I compile DPDK with > CONFIG_RTE_BUILD_SHARED_LIB=n and run 'test-pmd' everything works fine. > > I'm using the IGB UIO module on a x86_64 Ubuntu OS running on a vm and I > set everything up according to the documentation. > > Any help would be appreciated. When building as shared library, all the drivers are dynamically loadable plugins instead of the big pile o' everything you get when statically linking. For now, you need to manually load any drivers you need with the EAL -d option, eg if you use virtio NIC in the VM you'd add this to testpmd: -d librte_pmd_virtio_uio.so And yes its cumbersome. Doing something about it has been on my todo for a while now, just been busy with other stuff. - Panu -