Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287537
b: refs/heads/master
c: 9d837ea
h: refs/heads/master
i:
  287535: 9971ac3
v: v3
  • Loading branch information
Yi Zou authored and Jeff Kirsher committed Feb 9, 2012
1 parent 3eabe34 commit 3af0654
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 642c680e9314fc102bc1f096f48ae3974931ef42
refs/heads/master: 9d837ea2b72321ffbdaf83c980923d23ae898baa
4 changes: 4 additions & 0 deletions trunk/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4330,6 +4330,10 @@ static int ixgbe_set_num_queues(struct ixgbe_adapter *adapter)
adapter->num_tx_queues = 1;

done:
if ((adapter->netdev->reg_state == NETREG_UNREGISTERED) ||
(adapter->netdev->reg_state == NETREG_UNREGISTERING))
return 0;

/* Notify the stack of the (possibly) reduced queue counts. */
netif_set_real_num_tx_queues(adapter->netdev, adapter->num_tx_queues);
return netif_set_real_num_rx_queues(adapter->netdev,
Expand Down

0 comments on commit 3af0654

Please sign in to comment.