mv643xx_eth: count handling a link event as one unit of napi work
authorLennert Buytenhek <buytenh@wantstofly.org>
Wed, 6 May 2009 03:01:10 +0000 (03:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 May 2009 22:33:38 +0000 (15:33 -0700)
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mv643xx_eth.c

index 352c772..92a867c 100644 (file)
@@ -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;
                }