bgmac: fix requests for extra polling calls from NAPI
authorRafał Miłecki <zajec5@gmail.com>
Thu, 23 Apr 2015 18:56:29 +0000 (20:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Apr 2015 15:31:27 +0000 (11:31 -0400)
commite580267df97eda407c525dbaee5430e0d51a0edb
tree0a1bd76568c688f033c6984f06fff738d799176b
parent845704a535e9b3c76448f52af1b70e4422ea03fd
bgmac: fix requests for extra polling calls from NAPI

After d75b1ade567f ("net: less interrupt masking in NAPI") polling
function has to return whole budget when it wants NAPI to call it again.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Fixes: eb64e2923a886 ("bgmac: leave interrupts disabled as long as there is work to do")
Acked-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.c