Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332934
b: refs/heads/master
c: 91e2b89
h: refs/heads/master
v: v3
  • Loading branch information
Greg Rose authored and Jeff Kirsher committed Oct 9, 2012
1 parent 1f2d72c commit 2eb23d3
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 66eef59f22275002f621ff9d951886b513d011b3
refs/heads/master: 91e2b89b04d3f568dc4ec99f242a4a742061e399
7 changes: 7 additions & 0 deletions trunk/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1747,6 +1747,7 @@ static int ixgbevf_alloc_queues(struct ixgbevf_adapter *adapter)
**/
static int ixgbevf_set_interrupt_capability(struct ixgbevf_adapter *adapter)
{
struct net_device *netdev = adapter->netdev;
int err = 0;
int vector, v_budget;

Expand Down Expand Up @@ -1775,6 +1776,12 @@ static int ixgbevf_set_interrupt_capability(struct ixgbevf_adapter *adapter)

ixgbevf_acquire_msix_vectors(adapter, v_budget);

err = netif_set_real_num_tx_queues(netdev, adapter->num_tx_queues);
if (err)
goto out;

err = netif_set_real_num_rx_queues(netdev, adapter->num_rx_queues);

out:
return err;
}
Expand Down

0 comments on commit 2eb23d3

Please sign in to comment.