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

Function eth_txgbevf_dev_uninit

dpdk/drivers/net/txgbe/txgbe_ethdev_vf.c:319–330  ·  view source on GitHub ↗

Virtual Function device uninit */

Source from the content-addressed store, hash-verified

317
318/* Virtual Function device uninit */
319static int
320eth_txgbevf_dev_uninit(struct rte_eth_dev *eth_dev)
321{
322 PMD_INIT_FUNC_TRACE();
323
324 if (rte_eal_process_type() != RTE_PROC_PRIMARY)
325 return 0;
326
327 txgbevf_dev_close(eth_dev);
328
329 return 0;
330}
331
332static int eth_txgbevf_pci_probe(struct rte_pci_driver *pci_drv __rte_unused,
333 struct rte_pci_device *pci_dev)

Callers 1

txgbevf_dev_resetFunction · 0.85

Calls 2

rte_eal_process_typeFunction · 0.85
txgbevf_dev_closeFunction · 0.85

Tested by

no test coverage detected