From: Lennert Buytenhek Date: Wed, 6 May 2009 03:01:10 +0000 (+0000) Subject: mv643xx_eth: count handling a link event as one unit of napi work X-Git-Tag: firefly_0821_release~13604^2~549 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=26ef1f17d4741756763d1a399968ce17f236e2fb;p=firefly-linux-kernel-4.4.55.git mv643xx_eth: count handling a link event as one unit of napi work Signed-off-by: Lennert Buytenhek Signed-off-by: David S. Miller --- 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; }