From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f173.google.com (mail-wr0-f173.google.com [209.85.128.173]) by dpdk.org (Postfix) with ESMTP id 0BF524BE1 for ; Wed, 21 Jun 2017 01:36:21 +0200 (CEST) Received: by mail-wr0-f173.google.com with SMTP id y25so72319920wrd.2 for ; Tue, 20 Jun 2017 16:36:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=QlkwCLIHK4djY0wddEBLIyJ77BDgZ3plw0L8J277YBs=; b=LRJ3rQAMWFidVJwbqNpPTjm16+KtUZCI2taXr02aVMQ2ZWeCYEtmaNfObS6nE5P2iU C137aDqNTNAXmHMUKCKNIiBRvmSz5nR+me+rxitf7HkFSig//E8JQ90mwV82tWv4FVcw POQbYd3k/bS6zjBj9WrTpmbmelqtfUX1zXsN5EyfldJPzXhwyG2n6yUYYrpMNlLUT/hY IWxx9idhSfDue3Fd+xcMUGQEiRbr5BDgJ4U+lPCgw13U6GWXbXkBlBDubBNYiSFAFBsh CQguwu1FPoVpoT78hYCj3scPCnqoV3ZPDNiBS37r/zV/o9jYcTwN+aXvS0NXJ2JCNUqa 6hjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=QlkwCLIHK4djY0wddEBLIyJ77BDgZ3plw0L8J277YBs=; b=tY7lPyVlntjRakpgGl9s8jLSqGihmO8TJw356UuTG0j37BehYxJvYYWsFp4Elm87L2 7rzeqbs4LUAj6eeRErlmOmcHN5dAcoLfHWjor9wOeNa8SphmuymEqoWDadYey8dQRWXV bSZRk3Hwt7RAOKOJvUK1hcQ1GnujexaUeWgJBoc9HJ/xTu2ZqdY3lFM6F5LEifHrZt5K qNCc2E6WCbiJwuvY6El/WTaeeGYnE1IP7Wyty/upYZA65l8tzcPSHBgLybo8JbbWOBTo 2uOkQHolxp1wJVoaoUg+W1U6XNUAjVdeQIxjrN54tuNAqOuD/V01Ior7jFSsOVqwrvy3 Z3ow== X-Gm-Message-State: AKS2vOw9tatWfi2iKfpL23HJ/Cx8df+muP+3L8wetnlBD+HcXTc72OSF Ew+XmJVWism12TV0c+Q= X-Received: by 10.28.24.210 with SMTP id 201mr4267615wmy.92.1498001780504; Tue, 20 Jun 2017 16:36:20 -0700 (PDT) Received: from bidouze.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id f45sm6463684wrf.2.2017.06.20.16.36.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 20 Jun 2017 16:36:19 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Wed, 21 Jun 2017 01:35:47 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: References: In-Reply-To: References: Subject: [dpdk-dev] [PATCH v5 13/19] pci: update device name 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: Tue, 20 Jun 2017 23:36:21 -0000 Signed-off-by: Gaetan Rivet --- lib/librte_eal/common/eal_common_pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/common/eal_common_pci.c b/lib/librte_eal/common/eal_common_pci.c index 441466d..eed6589 100644 --- a/lib/librte_eal/common/eal_common_pci.c +++ b/lib/librte_eal/common/eal_common_pci.c @@ -330,6 +330,7 @@ rte_pci_probe_one(const struct rte_pci_addr *addr) ret = pci_probe_all_drivers(dev); if (ret) goto err_return; + dev->device.name = dev->device.devargs->name; return 0; } return -1; -- 2.1.4