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

Function ice_dcf_is_reset

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

Check if reset has been triggered by PF */

Source from the content-addressed store, hash-verified

1831
1832/* Check if reset has been triggered by PF */
1833static inline bool
1834ice_dcf_is_reset(struct rte_eth_dev *dev)
1835{
1836 struct ice_dcf_adapter *ad = dev->data->dev_private;
1837 struct iavf_hw *hw = &ad->real_hw.avf;
1838
1839 return !(IAVF_READ_REG(hw, IAVF_VF_ARQLEN1) &
1840 IAVF_VF_ARQLEN1_ARQENABLE_MASK);
1841}
1842
1843static int
1844ice_dcf_dev_reset(struct rte_eth_dev *dev)

Callers 1

ice_dcf_dev_resetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected