Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203343
b: refs/heads/master
c: 5fa8517
h: refs/heads/master
i:
  203341: 4129411
  203339: 1680a9e
  203335: 3f428fa
  203327: 323f60d
v: v3
  • Loading branch information
Greg Rose authored and David S. Miller committed Jul 2, 2010
1 parent 96ad0b6 commit 0bedc9e
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: ede3ef0d940ef052466f42c849390b23c6859abc
refs/heads/master: 5fa8517f038d51d571981fb495206cc30ed91b06
8 changes: 4 additions & 4 deletions trunk/drivers/net/igb/igb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -630,9 +630,6 @@ static void igb_cache_ring_register(struct igb_adapter *adapter)
for (; i < adapter->rss_queues; i++)
adapter->rx_ring[i]->reg_idx = rbase_offset +
Q_IDX_82576(i);
for (; j < adapter->rss_queues; j++)
adapter->tx_ring[j]->reg_idx = rbase_offset +
Q_IDX_82576(j);
}
case e1000_82575:
case e1000_82580:
Expand Down Expand Up @@ -996,7 +993,10 @@ static void igb_set_interrupt_capability(struct igb_adapter *adapter)

/* Number of supported queues. */
adapter->num_rx_queues = adapter->rss_queues;
adapter->num_tx_queues = adapter->rss_queues;
if (adapter->vfs_allocated_count)
adapter->num_tx_queues = 1;
else
adapter->num_tx_queues = adapter->rss_queues;

/* start with one vector for every rx queue */
numvecs = adapter->num_rx_queues;
Expand Down

0 comments on commit 0bedc9e

Please sign in to comment.