ixgbe: force phy power up/down
Signed-off-by: Intel
This commit is contained in:
parent
3af34dec0b
commit
d27a7e4e0b
@ -1205,7 +1205,6 @@ ixgbe_dev_start(struct rte_eth_dev *dev)
|
||||
}
|
||||
|
||||
/* Turn on the laser */
|
||||
if (hw->phy.multispeed_fiber)
|
||||
ixgbe_enable_tx_laser(hw);
|
||||
|
||||
err = ixgbe_check_link(hw, &speed, &link_up, 0);
|
||||
@ -1297,7 +1296,6 @@ ixgbe_dev_stop(struct rte_eth_dev *dev)
|
||||
ixgbe_stop_adapter(hw);
|
||||
|
||||
/* Turn off the laser */
|
||||
if (hw->phy.multispeed_fiber)
|
||||
ixgbe_disable_tx_laser(hw);
|
||||
|
||||
ixgbe_dev_clear_queues(dev);
|
||||
|
Loading…
x
Reference in New Issue
Block a user