char filename[PATH_MAX];
snprintf(filename, sizeof(filename), "%s/" PCI_PRI_FMT,
- pci_get_sysfs_path(), addr->domain, addr->bus, addr->devid,
+ rte_pci_get_sysfs_path(), addr->domain, addr->bus, addr->devid,
addr->function);
return pci_scan_one(filename, addr);
RTE_LOG(DEBUG, EAL, "VFIO PCI modules not loaded\n");
#endif
- dir = opendir(pci_get_sysfs_path());
+ dir = opendir(rte_pci_get_sysfs_path());
if (dir == NULL) {
RTE_LOG(ERR, EAL, "%s(): opendir failed: %s\n",
__func__, strerror(errno));
continue;
snprintf(dirname, sizeof(dirname), "%s/%s",
- pci_get_sysfs_path(), e->d_name);
+ rte_pci_get_sysfs_path(), e->d_name);
if (pci_scan_one(dirname, &addr) < 0)
goto error;