pci: export match function
Export rte_pci_match() function as it needed in the followup patch. Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Maxime Coquelin <maxime.coquelin@redhat.com> Reviewed-by: Anatoly Burakov <anatoly.burakov@intel.com> Tested-by: Hemant Agrawal <hemant.agrawal@nxp.com>
This commit is contained in:
parent
d4af27d9d0
commit
aadc3eb002
@ -238,3 +238,10 @@ EXPERIMENTAL {
|
||||
rte_service_start_with_defaults;
|
||||
|
||||
} DPDK_17.08;
|
||||
|
||||
DPDK_17.11 {
|
||||
global:
|
||||
|
||||
rte_pci_match;
|
||||
|
||||
} DPDK_17.08;
|
||||
|
@ -150,16 +150,8 @@ pci_unmap_resource(void *requested_addr, size_t size)
|
||||
|
||||
/*
|
||||
* Match the PCI Driver and Device using the ID Table
|
||||
*
|
||||
* @param pci_drv
|
||||
* PCI driver from which ID table would be extracted
|
||||
* @param pci_dev
|
||||
* PCI device to match against the driver
|
||||
* @return
|
||||
* 1 for successful match
|
||||
* 0 for unsuccessful match
|
||||
*/
|
||||
static int
|
||||
int
|
||||
rte_pci_match(const struct rte_pci_driver *pci_drv,
|
||||
const struct rte_pci_device *pci_dev)
|
||||
{
|
||||
|
@ -366,6 +366,21 @@ int rte_pci_scan(void);
|
||||
int
|
||||
rte_pci_probe(void);
|
||||
|
||||
/*
|
||||
* Match the PCI Driver and Device using the ID Table
|
||||
*
|
||||
* @param pci_drv
|
||||
* PCI driver from which ID table would be extracted
|
||||
* @param pci_dev
|
||||
* PCI device to match against the driver
|
||||
* @return
|
||||
* 1 for successful match
|
||||
* 0 for unsuccessful match
|
||||
*/
|
||||
int
|
||||
rte_pci_match(const struct rte_pci_driver *pci_drv,
|
||||
const struct rte_pci_device *pci_dev);
|
||||
|
||||
/**
|
||||
* Map the PCI device resources in user space virtual memory address
|
||||
*
|
||||
|
@ -243,3 +243,10 @@ EXPERIMENTAL {
|
||||
rte_service_start_with_defaults;
|
||||
|
||||
} DPDK_17.08;
|
||||
|
||||
DPDK_17.11 {
|
||||
global:
|
||||
|
||||
rte_pci_match;
|
||||
|
||||
} DPDK_17.08;
|
||||
|
Loading…
Reference in New Issue
Block a user