|
@@ -209,11 +209,6 @@ static void netpoll_poll_dev(struct net_device *dev)
|
|
zap_completion_queue();
|
|
zap_completion_queue();
|
|
}
|
|
}
|
|
|
|
|
|
-static void netpoll_poll(struct netpoll *np)
|
|
|
|
-{
|
|
|
|
- netpoll_poll_dev(np->dev);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
static void refill_skbs(void)
|
|
static void refill_skbs(void)
|
|
{
|
|
{
|
|
struct sk_buff *skb;
|
|
struct sk_buff *skb;
|
|
@@ -273,7 +268,7 @@ repeat:
|
|
|
|
|
|
if (!skb) {
|
|
if (!skb) {
|
|
if (++count < 10) {
|
|
if (++count < 10) {
|
|
- netpoll_poll(np);
|
|
|
|
|
|
+ netpoll_poll_dev(np->dev);
|
|
goto repeat;
|
|
goto repeat;
|
|
}
|
|
}
|
|
return NULL;
|
|
return NULL;
|
|
@@ -334,7 +329,7 @@ void netpoll_send_skb_on_dev(struct netpoll *np, struct sk_buff *skb,
|
|
}
|
|
}
|
|
|
|
|
|
/* tickle device maybe there is some cleanup */
|
|
/* tickle device maybe there is some cleanup */
|
|
- netpoll_poll(np);
|
|
|
|
|
|
+ netpoll_poll_dev(np->dev);
|
|
|
|
|
|
udelay(USEC_PER_POLL);
|
|
udelay(USEC_PER_POLL);
|
|
}
|
|
}
|