Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189159
b: refs/heads/master
c: 581d1aa
h: refs/heads/master
i:
  189157: 52375ff
  189155: b4c4182
  189151: f0369de
v: v3
  • Loading branch information
Greg Rose authored and David S. Miller committed Mar 26, 2010
1 parent 1ef9415 commit 6bebdb1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: 5809a1ae77721931ca7bd7aeacb37fdabe6f07c0
refs/heads/master: 581d1aa777580c1c22169538ffb46676b13c408e
8 changes: 5 additions & 3 deletions trunk/drivers/net/ixgbe/ixgbe_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3244,13 +3244,15 @@ void ixgbe_down(struct ixgbe_adapter *adapter)

/* disable receive for all VFs and wait one second */
if (adapter->num_vfs) {
for (i = 0 ; i < adapter->num_vfs; i++)
adapter->vfinfo[i].clear_to_send = 0;

/* ping all the active vfs to let them know we are going down */
ixgbe_ping_all_vfs(adapter);

/* Disable all VFTE/VFRE TX/RX */
ixgbe_disable_tx_rx(adapter);

/* Mark all the VFs as inactive */
for (i = 0 ; i < adapter->num_vfs; i++)
adapter->vfinfo[i].clear_to_send = 0;
}

/* disable receives */
Expand Down

0 comments on commit 6bebdb1

Please sign in to comment.