Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290426
b: refs/heads/master
c: c92aaff
h: refs/heads/master
v: v3
  • Loading branch information
Ben Hutchings committed Feb 22, 2012
1 parent e544606 commit 40c01d2
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 01cb543db8a2d2dbcea5f357365ce1327ac46193
refs/heads/master: c92aaff18e0a48f693678105343160e0bd032dfa
7 changes: 6 additions & 1 deletion trunk/drivers/net/ethernet/sfc/efx.c
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,12 @@ static int efx_probe_channels(struct efx_nic *efx)
/* Restart special buffer allocation */
efx->next_buffer_table = 0;

efx_for_each_channel(channel, efx) {
/* Probe channels in reverse, so that any 'extra' channels
* use the start of the buffer table. This allows the traffic
* channels to be resized without moving them or wasting the
* entries before them.
*/
efx_for_each_channel_rev(channel, efx) {
rc = efx_probe_channel(channel);
if (rc) {
netif_err(efx, probe, efx->net_dev,
Expand Down

0 comments on commit 40c01d2

Please sign in to comment.