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 E1BC67CD9 for ; Wed, 5 Jul 2017 01:57:18 +0200 (CEST) Received: by mail-wr0-f173.google.com with SMTP id 77so255077721wrb.1 for ; Tue, 04 Jul 2017 16:57:18 -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=m5Ocg9IZqSAwdKWWReFc1Wn3iCF6WulCxR03/1ag1hw=; b=Z9eL4a/hzF6u82IBAb68UVjPrd02+f/MUV8NpmBHu5rYYsfRsgWHd1JSrXnbgMBtyY uGzqdjvNFFcoqYTV15yJ/iv0cPK0lEKqEcknUaO0wyJW7inwuBTzG8bQa3QWYaysnWKA VHnRubCxL8UccFwPw2QQsWPfrTKgih5wi1LB8kwy41pt+k/U97Umz0dIK5wQBTjrIB9s r9U/w28mTuKrdIZljJ6RX0jy/9V/HfQ3GDP+PBJVOM4ayOsvPV5DJwZFVYameWuQhvPJ Y7fnjyBv0jXerAKgM5OrtErWxjINNU+QXr4H9G1YpSn6f5Rz4idvICqWN3bzvsQX8Khn VIxw== 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=m5Ocg9IZqSAwdKWWReFc1Wn3iCF6WulCxR03/1ag1hw=; b=ft5WlCvFh4aWB+m0vOjJY7VgKz4EKUBzGHlPOHB+VSkK85MtOx1BJKfjPN6xrKq0zK xb3GRkLXrkiWW73DaOlJP/xLqNQeTktrwHW2mlYcWijvSrpIyO15GKzl7hVfUwhgLh1D O5UnU0wmTg7gmqVem2YTGHagvOtD+zXDZMpIT16XAV1y1+TAI5Z5AOWFWqQVOHstXMR/ tC2XUgSBPz+6s+ObZ/KVPtA5n4Tgjm4xYlWri9igWbENhdFSIjjExvg+f4MMxk4/esht vN/DcD34Yv6KJzQllW1myYsPKE0U+CapcacOHyzKFQcyzQK75vnLZFEnkvRnNCIFBfI9 debQ== X-Gm-Message-State: AKS2vOxK0+zP3UfTDvncVmWoFYw66ARpvdoltAaCgNiiDNJY+48gz/an OHNEUZHJfMoGjqTkRiE= X-Received: by 10.223.169.117 with SMTP id u108mr37427135wrc.17.1499212638396; Tue, 04 Jul 2017 16:57:18 -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 w197sm27273899wme.20.2017.07.04.16.57.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 04 Jul 2017 16:57:17 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Wed, 5 Jul 2017 01:56:43 +0200 Message-Id: <268a097796436b6baa16000ef018d3a82a36c349.1499211959.git.gaetan.rivet@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: In-Reply-To: References: Subject: [dpdk-dev] [PATCH v6 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, 04 Jul 2017 23:57:19 -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 5838cc6..fa9f1b6 100644 --- a/lib/librte_eal/common/eal_common_pci.c +++ b/lib/librte_eal/common/eal_common_pci.c @@ -328,6 +328,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