projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7eaa2b2
)
mv643xx_eth: count handling a link event as one unit of napi work
author
Lennert Buytenhek
<buytenh@wantstofly.org>
Wed, 6 May 2009 03:01:10 +0000
(
03:01
+0000)
committer
David 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
patch
|
blob
|
history
diff --git
a/drivers/net/mv643xx_eth.c
b/drivers/net/mv643xx_eth.c
index 352c77227a6fe718575e1271edb79811f2c0ddaa..92a867cf8d5602a88592f77a6bd830a7970e6312 100644
(file)
--- 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;
}