From: Gaetan Rivet Date: Thu, 26 Oct 2017 10:06:02 +0000 (+0200) Subject: pci: use new address parsing function X-Git-Tag: spdx-start~1061 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=eb12440a0e859408b70a1983901fb4f9640a5524;p=dpdk.git pci: use new address parsing function Signed-off-by: Gaetan Rivet --- diff --git a/lib/librte_eal/common/eal_common_pci.c b/lib/librte_eal/common/eal_common_pci.c index e4e42f50ee..99e1765522 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;