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

Function ixgbe_check_link

dpdk/drivers/net/ixgbe/base/ixgbe_api.c:634–640  ·  view source on GitHub ↗

* ixgbe_check_link - Get link and speed status * @hw: pointer to hardware structure * @speed: pointer to link speed * @link_up: true when link is up * @link_up_wait_to_complete: bool used to wait for link up or not * * Reads the links register to determine if link is up and the current speed **/

Source from the content-addressed store, hash-verified

632 * Reads the links register to determine if link is up and the current speed
633 **/
634s32 ixgbe_check_link(struct ixgbe_hw *hw, ixgbe_link_speed *speed,
635 bool *link_up, bool link_up_wait_to_complete)
636{
637 return ixgbe_call_func(hw, hw->mac.ops.check_link, (hw, speed,
638 link_up, link_up_wait_to_complete),
639 IXGBE_NOT_IMPLEMENTED);
640}
641
642/**
643 * ixgbe_disable_tx_laser - Disable Tx laser

Calls

no outgoing calls

Tested by

no test coverage detected