From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f179.google.com (mail-wr0-f179.google.com [209.85.128.179]) by dpdk.org (Postfix) with ESMTP id 9484E5A6A for ; Thu, 8 Jun 2017 01:57:34 +0200 (CEST) Received: by mail-wr0-f179.google.com with SMTP id v111so11989801wrc.3 for ; Wed, 07 Jun 2017 16:57:34 -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=S80xFSzqld06NsBUISDzoa1lzPpPYO+Ckse4efRSiRM=; b=wzu147tNIH2KjZ9eyZiaX3yWtSTRNMEnVt7sm9VsyNYI4NTqwXslyk5LSnMWwHCZKf 9gcgSX8RdfObzsC8+NulfkEcR7c8Q6Xmg0oGZ4XmCmjsq2XBjwqwL/aUhW3338Hk8Xxg 6MXGYux2mrQO0XANSk0IuPl74lTX1fspHHOUexmUGQZn0g36j80g6RjUUp+TgDHPbf6f RtNDmSmarYp+hr1ksEcaHFxATYpSUm/i+Rb8yKrbVipTvT9zlwQ8p2Fryv25U2cWc4/W O627enk/xcEUhUjRlquiYeaHQHvK95/1D/I5ZCeDkDzzjhjuLINi0cBP5Oe8zFJebxFS rkpA== 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=S80xFSzqld06NsBUISDzoa1lzPpPYO+Ckse4efRSiRM=; b=G9Dewt457KNRuijxX8Kv30O34PqJomtWaja+E2Jzd3XsMS2Aq0zpP/t2c1p7/11pJs GCpKG8U0iG13x94OgE3eMsH2DduGrpMwnIQF0+bk9sON6Nof8dDYZbVmXpkl7ExW4H9I s6oZUu0smCkPn6bz1Ri24+FQXFb2y1Z1LHYCO0chtQQ6NYUxMDAW5AS9FsA57w5LCw7H hg5l7pzUASGk3raewfhBugNNhdyCVjQh+9vSYVyUroeFNHL+r9lcbaqFfxhZPl8ZMs9N THu6s3dGI6Jdwu3ZrcDGfGel+PZA4knCC/hre+GES1bwOl1CWjrpOlev7ZqVhJiFbrBJ QjSw== X-Gm-Message-State: AODbwcALQdDUq79lyeokF5RhB9/nB7YDBsjGSgJfrnpS1zOrUL+qSWa/ GyluZaKc18Of2DhZDUk= X-Received: by 10.223.173.38 with SMTP id p35mr26094732wrc.88.1496879854097; Wed, 07 Jun 2017 16:57:34 -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 185sm22397056wmp.1.2017.06.07.16.57.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Jun 2017 16:57:33 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Thu, 8 Jun 2017 01:56:59 +0200 Message-Id: <0437cbf508c07f26daf418084bafd5ea25cd149a.1496876859.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 v4 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: Wed, 07 Jun 2017 23:57:34 -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 83ae378..a31e490 100644 --- a/lib/librte_eal/common/eal_common_pci.c +++ b/lib/librte_eal/common/eal_common_pci.c @@ -325,6 +325,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