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 CE830A0471 for ; Fri, 19 Jul 2019 20:11:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 996991B94F; Fri, 19 Jul 2019 20:11:40 +0200 (CEST) Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by dpdk.org (Postfix) with ESMTP id E61525B3E for ; Fri, 19 Jul 2019 20:11:35 +0200 (CEST) Received: by mail-pg1-f193.google.com with SMTP id o13so14785382pgp.12 for ; Fri, 19 Jul 2019 11:11:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mgZZbtMkCaGhzv6OhDLTKfcmmeNVYQTi06hjt5tPpcM=; b=PHa1HPbdg0xAMVvjA6U4Fusw9HpB4DC3WN67kF3sFDnJh8D/nb6+cZg6SLEM0571Dz Kfw7krWY5w4STgQoLD1BitGPOCbhwh6kQCbPaZORE8CLBmq1cs2zJxm04aT+dnzPyOeA bP8ezuNFXo8nC+NpdO6y71ufpIGRKws4Rc3GvnJJYEvqepmf4xEBb3SJoLlRkCkVrqMr Fomq+NBwnWp+EBLRBcP5dDj3th4dn2l+7DyjTXg8uGatGVenTvROmFofY4PNr0y+UK3w tJfZsjfclOE6nYKFtlBb27kGJgg6E6omfEoQfGM46LBFHpPUtO0lBSEokOtdKRTTDEpC UNrQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=mgZZbtMkCaGhzv6OhDLTKfcmmeNVYQTi06hjt5tPpcM=; b=Vj78yv2IaWb75TDbeyU8VkWhbHWPZKzb6dVLmrvQzxaQmL5DYM2mIiCf9p9ZLS5hYB +nF6lsSTCRIpjcB9Oq59G1WN8gDkFareFYMC1nDEqOHad5/SybsVe+COP92ABUfzlP1C VAKL0DT9YJiG2nHVeV4K6kdqJmZp0d1RL3ibW/rVVs237H7vKx+2L8JArVwq5c5UVePH iutV/k+SKDS+TMXFxlthBYFzDP/xZ1thh0e1ASIQ/970maJo8wCmRbn8Va9Cub3rnCZ5 Yx6sK8r/58FKxxbXBpW83YRjygxdg4b1a5AiYNBlMKCxkwtOJUhJOtNvxJ/RW+dY99wG bR6w== X-Gm-Message-State: APjAAAVLmjF3WCC+LlJJyFdy430AYAw6eOoqwZKOK3UyQxUfvB0XsuaJ PhTao70oo5mvJcArR3aUGJg= X-Google-Smtp-Source: APXvYqyVCzQOhoEICHLTC5FuHJV6YU4BXUQTNeiDqVWQdK78Ekkz9BRYjOccI12ta2X5PRhyXQOW4g== X-Received: by 2002:a65:6448:: with SMTP id s8mr55809710pgv.223.1563559894979; Fri, 19 Jul 2019 11:11:34 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id u128sm35470433pfu.48.2019.07.19.11.11.34 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 19 Jul 2019 11:11:34 -0700 (PDT) Date: Fri, 19 Jul 2019 11:11:28 -0700 From: Stephen Hemminger To: Bruce Richardson Cc: thomas@monjalon.net, dev@dpdk.org, stable@dpdk.org Message-ID: <20190719111128.2d0aba3a@hermes.lan> In-Reply-To: <20190716084423.GB561@bricha3-MOBL.ger.corp.intel.com> References: <20190715234136.3526-1-stephen@networkplumber.org> <20190715171912.7c179f43@hermes.lan> <20190716084423.GB561@bricha3-MOBL.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] pci: fix missing pci bus with shared library build X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Tue, 16 Jul 2019 09:46:04 +0100 Bruce Richardson wrote: > I don't think the position of these is going to be the cause here, the more > likely cause is that the pci bus driver - and all other drivers - are not > linked into apps for shared library builds. You always need to pass "-d" > parameter to load drivers at init time (or have them installed in the > correct driver path). For example, for me with a shared library build the > following gives a no ports error: > > sudo ./build/l2fwd -c F00000 -- -p 3 > > while this succeeds and runs fine > > sudo ./build/l2fwd -c F00000 -d $RTE_SDK/$RTE_TARGET/lib/librte_pmd_i40e.so -- -p 3 Application should never have to use -d to force driver load! The purpose of all the pmdinfo, and probing logic is to not do this.