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

Function ionic_dev_set_link_down

dpdk/drivers/net/ionic/ionic_ethdev.c:246–258  ·  view source on GitHub ↗

* Set device link down, disable tx. */

Source from the content-addressed store, hash-verified

244 * Set device link down, disable tx.
245 */
246static int
247ionic_dev_set_link_down(struct rte_eth_dev *eth_dev)
248{
249 struct ionic_lif *lif = IONIC_ETH_DEV_TO_LIF(eth_dev);
250
251 IONIC_PRINT_CALL();
252
253 ionic_lif_stop(lif);
254
255 ionic_dev_link_update(lif->eth_dev, 0);
256
257 return 0;
258}
259
260int
261ionic_dev_link_update(struct rte_eth_dev *eth_dev,

Callers

nothing calls this directly

Calls 2

ionic_lif_stopFunction · 0.85
ionic_dev_link_updateFunction · 0.85

Tested by

no test coverage detected