[dpdk-dev] [PATCH v2] bus/pci/windows: support for PCI scan allowed and blocked lists

Dmitry Kozlyuk dmitry.kozliuk at gmail.com
Thu Feb 18 22:23:05 CET 2021


On Thu, 18 Feb 2021 10:53:54 -0800, Ranjit Menon wrote:
> > +
> > +			if (get_device_pci_address(dev_info, &device_info_data, &addr) != 0)
> > +				continue;
> > +
> > +			if (rte_pci_ignore_device(&addr))
> > +				continue;
> > +
> >   			ret = pci_scan_one(dev_info, &device_info_data);
> >   			if (ret == ERROR_SUCCESS)
> >   				found_device++;  
> I think this change can be made inside the pci_scan_one() function where 
> we already call
> 
> get_device_pci_address().

+1, even to place this check before other actions in pci_scan_one().


More information about the dev mailing list