Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 214791
b: refs/heads/master
c: e2209ba
h: refs/heads/master
i:
  214789: b0731ba
  214787: 40b9f45
  214783: 3774622
v: v3
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Sep 28, 2010
1 parent a0f1210 commit 6ad6af4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: c99202684f7a45c965cb13fa6bb647f2ce9d27fa
refs/heads/master: e2209ba35aa7050fced05bf9c4244562fcaebd63
3 changes: 2 additions & 1 deletion trunk/drivers/net/niu.c
Original file line number Diff line number Diff line change
Expand Up @@ -4501,7 +4501,8 @@ static int niu_alloc_channels(struct niu *np)
np->num_rx_rings = parent->rxchan_per_port[port];
np->num_tx_rings = parent->txchan_per_port[port];

np->dev->real_num_tx_queues = np->num_tx_rings;
netif_set_real_num_rx_queues(np->dev, np->num_rx_rings);
netif_set_real_num_tx_queues(np->dev, np->num_tx_rings);

np->rx_rings = kcalloc(np->num_rx_rings, sizeof(struct rx_ring_info),
GFP_KERNEL);
Expand Down

0 comments on commit 6ad6af4

Please sign in to comment.