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

Function cnxk_nix_dev_reset

dpdk/drivers/net/cnxk/cnxk_ethdev.c:2140–2150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2138}
2139
2140static int
2141cnxk_nix_dev_reset(struct rte_eth_dev *eth_dev)
2142{
2143 int rc;
2144
2145 rc = cnxk_eth_dev_uninit(eth_dev, true);
2146 if (rc)
2147 return rc;
2148
2149 return cnxk_eth_dev_init(eth_dev);
2150}
2151
2152int
2153cnxk_nix_remove(struct rte_pci_device *pci_dev)

Callers

nothing calls this directly

Calls 2

cnxk_eth_dev_uninitFunction · 0.85
cnxk_eth_dev_initFunction · 0.85

Tested by

no test coverage detected