[dpdk-dev] [EXT] Re: [PATCH] bus/pci: restricted bus scanning to allowed devices

David Marchand david.marchand at redhat.com
Mon Apr 6 15:21:43 CEST 2020


On Mon, Apr 6, 2020 at 11:32 AM Sunil Kumar Kori <skori at marvell.com> wrote:
> It looks  like there is no comment/objection on following patch and it can be merged.

The title does not reflect what this patch is about.
I understand this as an optimisation for the pci bus scanning.


I agree with Stephen comment.

If you change pci_ignore_device and pci_devargs_lookup to take a
rte_pci_addr as input, then pci_ignore_device can call
pci_devargs_lookup itself.
And pci_devargs_lookup does not need to be exported in the private header.

Untested (just tried compilation),
https://github.com/david-marchand/dpdk/commit/e7860231ecdce91f9f70027d4090a7057b8fd5f7


-- 
David Marchand



More information about the dev mailing list