Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/txgbe: keep link down after device close
[ upstream commit 409a08c34fd20a25dd209438f52cb38ace081b19 ] When the port is closed, hardware is reset to power on. And txgbe_dev_stop() is just returned 0 to avoid secondary calls, so that the link led remains on. Fix this bug by adding to turn off the copper/laser. Fixes: e0d876e ("net/txgbe: support device stop and close") Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
- Loading branch information