Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135198
b: refs/heads/master
c: 4dd64df
h: refs/heads/master
v: v3
  • Loading branch information
Jesse Brandeburg authored and David S. Miller committed Mar 14, 2009
1 parent 00ae13d commit dd2cf10
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: 509ee935ec0828e534e4d48d08d4d0b4bc17ea92
refs/heads/master: 4dd64df8954cc6d485f7c98ab18e0480f0c7d865
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 @@ -2339,8 +2339,6 @@ static int ixgbe_up_complete(struct ixgbe_adapter *adapter)
else
ixgbe_configure_msi_and_legacy(adapter);

ixgbe_napi_add_all(adapter);

clear_bit(__IXGBE_DOWN, &adapter->state);
ixgbe_napi_enable_all(adapter);

Expand Down Expand Up @@ -2397,6 +2395,8 @@ int ixgbe_up(struct ixgbe_adapter *adapter)
/* hardware has been reset, we need to reload some things */
ixgbe_configure(adapter);

ixgbe_napi_add_all(adapter);

return ixgbe_up_complete(adapter);
}

Expand Down Expand Up @@ -3426,6 +3426,8 @@ static int ixgbe_open(struct net_device *netdev)

ixgbe_configure(adapter);

ixgbe_napi_add_all(adapter);

err = ixgbe_request_irq(adapter);
if (err)
goto err_req_irq;
Expand Down Expand Up @@ -3480,6 +3482,7 @@ static int ixgbe_close(struct net_device *netdev)
/**
* ixgbe_napi_add_all - prep napi structs for use
* @adapter: private struct
*
* helper function to napi_add each possible q_vector->napi
*/
void ixgbe_napi_add_all(struct ixgbe_adapter *adapter)
Expand Down Expand Up @@ -3552,7 +3555,6 @@ static int ixgbe_resume(struct pci_dev *pdev)
return err;
}

ixgbe_napi_add_all(adapter);
ixgbe_reset(adapter);

if (netif_running(netdev)) {
Expand Down

0 comments on commit dd2cf10

Please sign in to comment.