summaryrefslogtreecommitdiffstats
path: root/drivers/net/mv643xx_eth.c
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2009-05-06 05:01:10 +0200
committerDavid S. Miller <davem@davemloft.net>2009-05-07 00:33:38 +0200
commit26ef1f17d4741756763d1a399968ce17f236e2fb (patch)
tree930088ff83247b001c8d4bfaaee5faa68c3345ae /drivers/net/mv643xx_eth.c
parentmv643xx_eth: fix variable shadowing sparse warning (diff)
downloadlinux-26ef1f17d4741756763d1a399968ce17f236e2fb.tar.xz
linux-26ef1f17d4741756763d1a399968ce17f236e2fb.zip
mv643xx_eth: count handling a link event as one unit of napi work
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mv643xx_eth.c')
-rw-r--r--drivers/net/mv643xx_eth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c
index 352c77227a6f..92a867cf8d56 100644
--- a/drivers/net/mv643xx_eth.c
+++ b/drivers/net/mv643xx_eth.c
@@ -2178,6 +2178,7 @@ static int mv643xx_eth_poll(struct napi_struct *napi, int budget)
if (mp->work_link) {
mp->work_link = 0;
handle_link_event(mp);
+ work_done++;
continue;
}