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

Function ice_dcf_dev_close

dpdk/drivers/net/ice/ice_dcf_ethdev.c:1662–1678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1660}
1661
1662static int
1663ice_dcf_dev_close(struct rte_eth_dev *dev)
1664{
1665 struct ice_dcf_adapter *adapter = dev->data->dev_private;
1666
1667 if (rte_eal_process_type() != RTE_PROC_PRIMARY)
1668 return 0;
1669
1670 ice_dcf_vf_repr_notify_all(adapter, false);
1671 (void)ice_dcf_dev_stop(dev);
1672
1673 ice_free_queues(dev);
1674 ice_dcf_uninit_parent_adapter(dev);
1675 ice_dcf_uninit_hw(dev, &adapter->real_hw);
1676
1677 return 0;
1678}
1679
1680int
1681ice_dcf_link_update(struct rte_eth_dev *dev,

Callers 2

ice_dcf_dev_resetFunction · 0.85
ice_dcf_dev_uninitFunction · 0.85

Calls 6

rte_eal_process_typeFunction · 0.85
ice_dcf_dev_stopFunction · 0.85
ice_free_queuesFunction · 0.85
ice_dcf_uninit_hwFunction · 0.85

Tested by

no test coverage detected