Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200861
b: refs/heads/master
c: 9f756f0
h: refs/heads/master
i:
  200859: d6c7937
v: v3
  • Loading branch information
John Fastabend authored and David S. Miller committed Jun 30, 2010
1 parent f705b58 commit ff831f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fa37813401ff52d78591c262d6542e4d5d935584
refs/heads/master: 9f756f018a6d9f83556f972ce7fcd6870274efae
8 changes: 4 additions & 4 deletions trunk/drivers/net/ixgbe/ixgbe_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3684,10 +3684,6 @@ void ixgbe_down(struct ixgbe_adapter *adapter)
/* signal that we are down to the interrupt handler */
set_bit(__IXGBE_DOWN, &adapter->state);

/* power down the optics */
if (hw->phy.multispeed_fiber)
hw->mac.ops.disable_tx_laser(hw);

/* disable receive for all VFs and wait one second */
if (adapter->num_vfs) {
/* ping all the active vfs to let them know we are going down */
Expand Down Expand Up @@ -3742,6 +3738,10 @@ void ixgbe_down(struct ixgbe_adapter *adapter)
(IXGBE_READ_REG(hw, IXGBE_DMATXCTL) &
~IXGBE_DMATXCTL_TE));

/* power down the optics */
if (hw->phy.multispeed_fiber)
hw->mac.ops.disable_tx_laser(hw);

/* clear n-tuple filters that are cached */
ethtool_ntuple_flush(netdev);

Expand Down

0 comments on commit ff831f4

Please sign in to comment.