diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2009-05-05 23:01:10 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-06 18:33:38 -0400 |
commit | 26ef1f17d4741756763d1a399968ce17f236e2fb (patch) | |
tree | 930088ff83247b001c8d4bfaaee5faa68c3345ae | |
parent | 7eaa2b20ca0a471e1c73f72d8c6a0eac2c7838a7 (diff) |
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>
-rw-r--r-- | drivers/net/mv643xx_eth.c | 1 |
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) | |||
2178 | if (mp->work_link) { | 2178 | if (mp->work_link) { |
2179 | mp->work_link = 0; | 2179 | mp->work_link = 0; |
2180 | handle_link_event(mp); | 2180 | handle_link_event(mp); |
2181 | work_done++; | ||
2181 | continue; | 2182 | continue; |
2182 | } | 2183 | } |
2183 | 2184 | ||