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

Function ice_dev_set_link_down

dpdk/drivers/net/ice/ice_ethdev.c:4237–4244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4235}
4236
4237static int
4238ice_dev_set_link_down(struct rte_eth_dev *dev)
4239{
4240 struct ice_hw *hw = ICE_DEV_PRIVATE_TO_HW(dev->data->dev_private);
4241 uint8_t speed = ICE_LINK_SPEED_UNKNOWN;
4242
4243 return ice_phy_conf_link(hw, speed, false);
4244}
4245
4246static int
4247ice_dev_led_on(struct rte_eth_dev *dev)

Callers 1

ice_dev_stopFunction · 0.85

Calls 1

ice_phy_conf_linkFunction · 0.85

Tested by

no test coverage detected