diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2009-05-06 07:01:10 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-07 02:33:38 +0400 |
commit | 26ef1f17d4741756763d1a399968ce17f236e2fb (patch) | |
tree | 930088ff83247b001c8d4bfaaee5faa68c3345ae /drivers/net/mv643xx_eth.c | |
parent | 7eaa2b20ca0a471e1c73f72d8c6a0eac2c7838a7 (diff) | |
download | linux-26ef1f17d4741756763d1a399968ce17f236e2fb.tar.xz |
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.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) if (mp->work_link) { mp->work_link = 0; handle_link_event(mp); + work_done++; continue; } |