On Tue, Nov 10, 2020 at 4:29 PM McDaniel, Timothy <timothy.mcdan...@intel.com> wrote: > > I'm not seeing where we can use librte_pci here. We are already using the > dpdk low level rte_pci_read_config(..) APIs. > Am I missing something?
dlb_pci_find_ext_capability is a copy of rte_pci_find_ext_capability from the pci bus. A lot of DLB_PCI_* defines have a librte_pci equivalent. Plus, if there are generic pci defines needed by DLB, they would rather belong to librte_pci than a driver. -- David Marchand