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().

Reply via email to