From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id 38F512935 for ; Thu, 12 Oct 2017 10:17:50 +0200 (CEST) Received: by mail-wm0-f47.google.com with SMTP id t69so10847650wmt.2 for ; Thu, 12 Oct 2017 01:17:50 -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=Xlr/WmQaZ2Xp6u1UZMw0vUwSED/tqn0FiZpi/3Iy/So=; b=HXPDj7fw01jMK6M2TiAuvSqNKdR4Xhuh1RAz1yCwlUHPpzpkC1Hl+4EW2hHdKuUr9g T+8vVKDOB2ElslGcE0V+CUCpa8AmsM2aJ0Ikhqwcah3r2FKBM8kjmVbAcxgAkbxeohhw IOH09o1LFOvnCxKYyTkedvKEQ32hR7QNQ18tJ2QO1/5XRdq348p7IirmxRxHXcNtAb/l 4Bvw64ENU+gvc9MaPuCa3SkOcwYFUHAzi9Pf7Qydy6haQbdhRkk0VkQHItiJ4sSG+jco ns/FqNJCL85Clzx0+MJW4JdDGrlyFb0xzqVNEBzOSx2m6eQJCApdITzmjhujOZrCspO0 55FQ== 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=Xlr/WmQaZ2Xp6u1UZMw0vUwSED/tqn0FiZpi/3Iy/So=; b=tay+ctZZ2pngLII6RGxSXhK3r2strE2AyMBQUs/NG75OzExwQ4FvgIrpBdNw2PVup1 tWd5Zslf5YHTn6J17hN6q3uqvV8jah1yxtKJSdlQsYyXd4OqlcMJ3WCskG0B9aKud4un YySXwHc3kJP9j1vZXReKrE0tv8if14MGix1vQZRwseJICipess5z0NObX26c9fwyNSTs iaVyib4bFYZDoyjRZ/Llm4tFicTlECfvTyExImA1snNEk+mqTKa5SOKSRYC7F17Mrs0H 87DQkNq45oRtuu1vZk01UOVZjgVBWup1U4ZiFCvExijJG9p10OvRpv+w5K3q/N1WRLk5 U/QA== X-Gm-Message-State: AMCzsaUyHFSRG5Mma9+pQOxDu+SCTcWcPRYIX6lKtOm7hSSVNSZmnEWQ CKQVg+VwNa5UC6qnyOpNEdJsZL2G X-Google-Smtp-Source: AOwi7QCM5jeO4fMLm3svSySmMWG2BKnLn4WyERJJNn/jYIKHOL85GLX1F8+AeinB6+k+pup9haIGig== X-Received: by 10.223.167.154 with SMTP id j26mr1236664wrc.174.1507796269572; Thu, 12 Oct 2017 01:17:49 -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 25sm16711227wrv.8.2017.10.12.01.17.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 12 Oct 2017 01:17:48 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Thu, 12 Oct 2017 10:17:15 +0200 Message-Id: <12b6bd891d3e3e2f3f6d1d96aeef9f4c18147f3c.1507795823.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 15/16] bus/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, 12 Oct 2017 08:17:50 -0000 Signed-off-by: Gaetan Rivet --- drivers/bus/pci/pci_common.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/bus/pci/pci_common.c b/drivers/bus/pci/pci_common.c index cd95d1a..d7a1c05 100644 --- a/drivers/bus/pci/pci_common.c +++ b/drivers/bus/pci/pci_common.c @@ -437,8 +437,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 = (pci_addr_parse(name, &pci_addr) == 0); if (parse && addr != NULL) *out = pci_addr; return parse == false; -- 2.1.4