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

Function ionic_dev_stop

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

* Stop device: disable rx and tx functions to allow for reconfiguring. */

Source from the content-addressed store, hash-verified

944 * Stop device: disable rx and tx functions to allow for reconfiguring.
945 */
946static int
947ionic_dev_stop(struct rte_eth_dev *eth_dev)
948{
949 struct ionic_lif *lif = IONIC_ETH_DEV_TO_LIF(eth_dev);
950
951 IONIC_PRINT_CALL();
952
953 ionic_lif_stop(lif);
954
955 return 0;
956}
957
958/*
959 * Reset and stop device.

Callers

nothing calls this directly

Calls 1

ionic_lif_stopFunction · 0.85

Tested by

no test coverage detected