From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id BF3531BAA9 for ; Thu, 26 Oct 2017 12:06:48 +0200 (CEST) Received: by mail-wm0-f67.google.com with SMTP id t139so7139535wmt.1 for ; Thu, 26 Oct 2017 03:06:48 -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=Zabo8/X0QsSgFYva+yyqyvR14RL5SyROZ/7UT64JKy0=; b=OvM5vDZ+4o40qt5avJpdZuL52Ut8wslVmYGIsSQBSJ0AnamIfSyfL+Hvtmdkgc6Goz LgsSqeqN2/d+DELEX/LjWoc2LbXc7TfzlGdK30mIJP8622SEbJQpo0jr9vFxP4hL8Rlm 34z7py0ttcvlKqCDcbDkTx44Za7+M+1hcKe/mXcvQMmH+yOaIpk3slAHIMq7br5cij5/ VpQgyUhQTQOrisqwbFmGWZXogvwD2c+1bLSHKDbYuEcVbAml5I0yuVF+Noz3jXP1r3hD 5RIp3q87Ijuwu2lbUmIyJzkuTcAZ5DIzF2u9hGlT+7I9/GBakTuVfuPNphBr+0R1Eu6R x8Pw== 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=Zabo8/X0QsSgFYva+yyqyvR14RL5SyROZ/7UT64JKy0=; b=eQHE4QNpMFoHygY7a/8cm0RsPDsyk9Jux8OUZV3Tl4IbCGcFx9Sb7lpTShr+G2Xx2E ZdDyFxn93OUbZ2R5Mhr76anHdDLmzzfv4fhPmqlcI3Y9fJOwQA0kJjc2ulFrjuXoG1Xg UPGE1D7nqyTSatkg99Zpuf3AT+mp7m9QFyvuOf9m6kTbtDs/L0to89U9FW/GVv4yAAYc 1pGr9bufzw4ItEhA9Uh8J32+QuztOAX/EnjGL5EEUozvmxBVKgAsZSIQm30ceXvnUEjO RLf2Jv8BzGxm0/5fZgvG1qeUcipmh4LZKFJkLsKdNgfuYvmn8lxxqDPrJp1fnpATJUmv ooPA== X-Gm-Message-State: AMCzsaVaOStv/l869ajRDeuvU5JDLQ1dwdA7q2Ie24l1UvF4Zy1WP3y6 dziZa5QmBZ483+f+/ICioPXMKiMH X-Google-Smtp-Source: ABhQp+SR3wP8jKIR1LGZYfiPLJoHr/NBpiqOLAygxxNnQ/l0FW6QfGB3ZZgNy2TWY833l+/2Q1c5Fw== X-Received: by 10.80.145.134 with SMTP id g6mr19028079eda.140.1509012407866; Thu, 26 Oct 2017 03:06:47 -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 u12sm3339619edk.45.2017.10.26.03.06.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 Oct 2017 03:06:46 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Thu, 26 Oct 2017 12:06:02 +0200 Message-Id: <432e07e34f1a038e2f76d1ae6710e8c4ab4e610b.1509012196.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 v8 17/25] pci: use new PCI addr parsing function 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: Thu, 26 Oct 2017 10:06:49 -0000 Signed-off-by: Gaetan Rivet --- lib/librte_eal/common/eal_common_pci.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/librte_eal/common/eal_common_pci.c b/lib/librte_eal/common/eal_common_pci.c index e4e42f5..99e1765 100644 --- a/lib/librte_eal/common/eal_common_pci.c +++ b/lib/librte_eal/common/eal_common_pci.c @@ -599,8 +599,7 @@ pci_parse(const char *name, void *addr) struct rte_pci_addr pci_addr; bool parse; - parse = (eal_parse_pci_BDF(name, &pci_addr) == 0 || - eal_parse_pci_DomBDF(name, &pci_addr) == 0); + parse = (rte_pci_addr_parse(name, &pci_addr) == 0); if (parse && addr != NULL) *out = pci_addr; return parse == false; -- 2.1.4