MCPcopy Create free account
hub / github.com/F-Stack/f-stack / nfp_pf_pci_probe

Function nfp_pf_pci_probe

dpdk/drivers/net/nfp/nfp_ethdev.c:1603–1611  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1601}
1602
1603static int
1604nfp_pf_pci_probe(struct rte_pci_driver *pci_drv __rte_unused,
1605 struct rte_pci_device *dev)
1606{
1607 if (rte_eal_process_type() == RTE_PROC_PRIMARY)
1608 return nfp_pf_init(dev);
1609 else
1610 return nfp_pf_secondary_init(dev);
1611}
1612
1613static const struct rte_pci_id pci_id_nfp_pf_net_map[] = {
1614 {

Callers

nothing calls this directly

Calls 3

rte_eal_process_typeFunction · 0.85
nfp_pf_initFunction · 0.85
nfp_pf_secondary_initFunction · 0.85

Tested by

no test coverage detected