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

Function eth_i40e_dev_uninit

dpdk/drivers/net/i40e/i40e_ethdev.c:1847–1863  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1845}
1846
1847static int
1848eth_i40e_dev_uninit(struct rte_eth_dev *dev)
1849{
1850 struct i40e_hw *hw;
1851
1852 PMD_INIT_FUNC_TRACE();
1853
1854 if (rte_eal_process_type() != RTE_PROC_PRIMARY)
1855 return 0;
1856
1857 hw = I40E_DEV_PRIVATE_TO_HW(dev->data->dev_private);
1858
1859 if (hw->adapter_closed == 0)
1860 i40e_dev_close(dev);
1861
1862 return 0;
1863}
1864
1865static int
1866i40e_dev_configure(struct rte_eth_dev *dev)

Callers 1

i40e_dev_resetFunction · 0.85

Calls 2

rte_eal_process_typeFunction · 0.85
i40e_dev_closeFunction · 0.85

Tested by

no test coverage detected