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

Function txgbevf_dev_reset

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

* Reset VF device */

Source from the content-addressed store, hash-verified

800 * Reset VF device
801 */
802static int
803txgbevf_dev_reset(struct rte_eth_dev *dev)
804{
805 int ret;
806
807 ret = eth_txgbevf_dev_uninit(dev);
808 if (ret)
809 return ret;
810
811 ret = eth_txgbevf_dev_init(dev);
812
813 return ret;
814}
815
816static void txgbevf_set_vfta_all(struct rte_eth_dev *dev, bool on)
817{

Callers

nothing calls this directly

Calls 2

eth_txgbevf_dev_uninitFunction · 0.85
eth_txgbevf_dev_initFunction · 0.85

Tested by

no test coverage detected