From mboxrd@z Thu Jan 1 00:00:00 1970 From: Panu Matilainen Subject: Re: Did we reduce unnecessary linkage too well? Date: Thu, 29 Sep 2016 10:20:20 +0300 Message-ID: <45bb513b-660d-ba74-44cc-0761c7068df6@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Luca Boccassi To: Christian Ehrhardt , Daniele Di Proietto , James Page , dev Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 96E962B8C for ; Thu, 29 Sep 2016 09:20:22 +0200 (CEST) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 09/29/2016 09:58 AM, Christian Ehrhardt wrote: > Hi, > I was finally getting to more deeply re-validate Openvswitch 2.6 together > with DPDK 16.07. And I think I found a whiplash of our effort to reduce > unnecessary hard linkage. > > Trying to avoid cross-posting, picking DPDK list and the main involved > people on TO/CC. > > TL;DR: > - pmd drivers are no more "auto"-loaded > - adding -d ...so to all consuming applications feels obnoxious > - do we really have to intentionally overlink some? > - I hope I just overlook something trivial to fix this. Yup. Set CONFIG_RTE_EAL_PMD_PATH to the path where your PMDs are installed. Note that since the plugin autoloader in DPDK doesn't make assumptions about names, it'll try to load *everything* in that path, so you don't want it pointing to eg /usr/lib directly. What we have on Fedora and RHEL is a /usr/lib(64)/dpdk-pmds/ directory with symlinks to the actual pmds which reside in /usr/lib(64) because some of them provide actual API. - Panu -