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

Function ngbe_dev_set_link_up

dpdk/drivers/net/ngbe/ngbe_ethdev.c:1221–1229  ·  view source on GitHub ↗

* Set device link up: power on. */

Source from the content-addressed store, hash-verified

1219 * Set device link up: power on.
1220 */
1221static int
1222ngbe_dev_set_link_up(struct rte_eth_dev *dev)
1223{
1224 struct ngbe_hw *hw = ngbe_dev_hw(dev);
1225
1226 hw->phy.set_phy_power(hw, true);
1227
1228 return 0;
1229}
1230
1231/*
1232 * Set device link down: power off.

Callers 1

ngbe_dev_overheatFunction · 0.85

Calls 1

ngbe_dev_hwFunction · 0.85

Tested by

no test coverage detected