summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2016-08-29 10:16:37 -0700
committerDavid S. Miller <davem@davemloft.net>2016-09-01 14:09:51 -0700
commitf4b63ea08fd9e8f9fbf9e45b5921114a0514ef76 (patch)
tree2ff16d82ec008ef7e712b39f58af29205031faf6 /drivers
parentf5bb341e1d1af7722a73fa8c96ca8c9a91f85e5b (diff)
downloadlinux-f4b63ea08fd9e8f9fbf9e45b5921114a0514ef76.tar.bz2
sky2: use napi_complete_done
Update the sky2 driver to pass number of packets done to NAPI. The driver was never updated when napi_complete_done was added. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/marvell/sky2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/sky2.c b/drivers/net/ethernet/marvell/sky2.c
index 467138b423d3..f05ea56dcff2 100644
--- a/drivers/net/ethernet/marvell/sky2.c
+++ b/drivers/net/ethernet/marvell/sky2.c
@@ -3070,7 +3070,7 @@ static int sky2_poll(struct napi_struct *napi, int work_limit)
goto done;
}
- napi_complete(napi);
+ napi_complete_done(napi, work_done);
sky2_read32(hw, B0_Y2_SP_LISR);
done: