From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f171.google.com (mail-wr0-f171.google.com [209.85.128.171]) by dpdk.org (Postfix) with ESMTP id 98FBC5F3C for ; Wed, 14 Mar 2018 14:25:06 +0100 (CET) Received: by mail-wr0-f171.google.com with SMTP id o1so4714271wro.10 for ; Wed, 14 Mar 2018 06:25:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=eF4zYHmxFUDrKyg10HP/gHqx2wAdK72vxEtUrr8a/Ns=; b=fLH+UA3T7Lllz4amY6zLQ3FpyHM77ReAa/GQNe3ozR2sl8JbzpBM5zpbxWV8JvVf5J i6ALzBaNC6SkID/jDmZ1sbIne5ynTh4YIKz3hHnSyYRuz+8AJY55lcx6Ouiyzfa88xo1 o02BFA//VkTt+KfNZMIwajrwWabgV5xmSyFFmog7auSQggRTUv884MgcOjiow0eZ024p Nhv8EnQYyxVJjH6jjTVzLDjYkWwJosYOQGpFDGc78VofhpAdPieN2yubT2H9uueRoeAl bopVRJpxPcmVx9mTg+3wXo8dPaSQqELV9ELEocDqXwYbc+4DJSPYsM/BItpBSvLWc/eO Ss5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=eF4zYHmxFUDrKyg10HP/gHqx2wAdK72vxEtUrr8a/Ns=; b=qzICwD0RLOTaF9CtYZdS9hBjqMGeidQZGvMsbShlJDqd8J4oFZs21j+N+H8nvjWbUD MdLbZ72TeTUy4ZztWYHY0xuYwcS0/c7QKiSCVPYMgOc3a8Bhx/BtuEQGesKt2fwEYMzg Xo9KCBMt3dp5ZpHoA4Tk0ebMBAh/NvGdJE5HpDAE39lOgyn6sv1fvhc/k/sdNwL6qwf/ eg14zdu5j5C6OzTiTcXByDHcPhBbaLXLUA9xaTylEOtLr/Vh3/mxgXjY4pmlOzG5k7ZZ 9XanxfFsaFusAEaTXsBjsfRJCHKBoT5mDdmQCgPXY8lDG3Si6mqtO307izGS5qLvVbmA 2pbg== X-Gm-Message-State: AElRT7Gq0OHz/8WnAE63zygsBLatsx9yXslz1V0rDfJedFaxYyG36imP txJ1YiQF4TymZeQlUfx/zCv9a5B1 X-Google-Smtp-Source: AG47ELudSZMjmphK0Mmdt3Gs2H1PwhAREOnGbdmdDlIIAQInlH5nd/q0CSnz7AOJ4LAMQMHFIBMCtg== X-Received: by 10.223.132.167 with SMTP id 36mr4034662wrg.227.1521033905578; Wed, 14 Mar 2018 06:25:05 -0700 (PDT) Received: from bidouze.vm.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id 31sm2177610wrr.59.2018.03.14.06.25.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 14 Mar 2018 06:25:04 -0700 (PDT) Date: Wed, 14 Mar 2018 14:24:50 +0100 From: =?iso-8859-1?Q?Ga=EBtan?= Rivet To: Martin Trommer Cc: "users@dpdk.org" Message-ID: <20180314132450.rqswcnu4ygeebs7n@bidouze.vm.6wind.com> References: <1010c541a9d74e59b69e6ac6132e907e@rohde-schwarz.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1010c541a9d74e59b69e6ac6132e907e@rohde-schwarz.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-users] rte_eal_devargs_add fails in case of CONFIG_RTE_BUILD_SHARED_LIB=y 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: Wed, 14 Mar 2018 13:25:07 -0000 Hi, On Wed, Mar 14, 2018 at 10:47:46AM +0000, Martin Trommer wrote: > Hi DPDK users, > > if I call "rte_eal_devargs_add" I will get 'ERROR: failed to parse device "0000:d8:00.0"'. I build DPDK 17.11 with the 'CONFIG_RTE_BUILD_SHARED_LIB=y' option. > > The issue not occurred with DPDK 16.11. Have you tested it in DPDK 17.05? The rte_devargs library changed in this release. > Any hints how to handle that ? When do you call rte_eal_devargs_add? This function will ask each registered bus to parse its input. If no bus is able to do so, then it will print this error and abort. So, considering that you build with SHARED=y: is the PCI bus compiled, and is the resulting library available in the proper directory? Are you sure it is loaded before you attempt to add this new devargs? > > Thank you, > Martin -- Gaëtan Rivet 6WIND