Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139781
b: refs/heads/master
c: 7e765cb
h: refs/heads/master
i:
  139779: 4601ef6
v: v3
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Mar 31, 2009
1 parent 9cce314 commit ecc45c3
Show file tree
Hide file tree
Showing 2 changed files with 4 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: c9caceca25854eff4328c89045793a91bf8f9ee3
refs/heads/master: 7e765cb4a07356e4f01cc57959c3c798a586f749
7 changes: 3 additions & 4 deletions trunk/drivers/net/sfc/efx.c
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,9 @@ static void efx_init_channels(struct efx_nic *efx)

WARN_ON(channel->rx_pkt != NULL);
efx_rx_strategy(channel);

netif_napi_add(channel->napi_dev, &channel->napi_str,
efx_poll, napi_weight);
}
}

Expand All @@ -462,10 +465,6 @@ static void efx_start_channel(struct efx_channel *channel)

EFX_LOG(channel->efx, "starting chan %d\n", channel->channel);

if (!(channel->efx->net_dev->flags & IFF_UP))
netif_napi_add(channel->napi_dev, &channel->napi_str,
efx_poll, napi_weight);

/* The interrupt handler for this channel may set work_pending
* as soon as we enable it. Make sure it's cleared before
* then. Similarly, make sure it sees the enabled flag set. */
Expand Down

0 comments on commit ecc45c3

Please sign in to comment.