MCPcopy Index your code
hub / github.com/F-Stack/f-stack / rte_eth_dev_probing_finish

Function rte_eth_dev_probing_finish

dpdk/lib/ethdev/ethdev_driver.c:206–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206void
207rte_eth_dev_probing_finish(struct rte_eth_dev *dev)
208{
209 if (dev == NULL)
210 return;
211
212 /*
213 * for secondary process, at that point we expect device
214 * to be already 'usable', so shared data and all function pointers
215 * for fast-path devops have to be setup properly inside rte_eth_dev.
216 */
217 if (rte_eal_process_type() == RTE_PROC_SECONDARY)
218 eth_dev_fp_ops_setup(rte_eth_fp_ops + dev->data->port_id, dev);
219
220 rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_NEW, NULL);
221
222 dev->state = RTE_ETH_DEV_ATTACHED;
223}
224
225int
226rte_eth_dev_release_port(struct rte_eth_dev *eth_dev)

Callers 15

rte_eth_dev_createFunction · 0.85
memif_createFunction · 0.85
rte_pmd_memif_probeFunction · 0.85
eth_ark_dev_initFunction · 0.85
do_eth_dev_ring_createFunction · 0.85
rte_pmd_ring_probeFunction · 0.85
mlx4_pci_probeFunction · 0.85
virtio_user_pmd_probeFunction · 0.85
eth_dev_null_createFunction · 0.85
rte_pmd_null_probeFunction · 0.85
pfe_eth_initFunction · 0.85

Calls 3

rte_eal_process_typeFunction · 0.85
eth_dev_fp_ops_setupFunction · 0.85

Tested by 2

run_pdump_client_testsFunction · 0.68
virtual_ethdev_createFunction · 0.68