[dpdk-dev] [PATCH v15 00/23] Add DLB PMD

David Marchand david.marchand at redhat.com
Tue Nov 10 16:51:03 CET 2020


On Tue, Nov 10, 2020 at 4:29 PM McDaniel, Timothy
<timothy.mcdaniel at 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



More information about the dev mailing list