From: Felix Fietkau Date: Sun, 14 Jun 2015 17:43:59 +0000 (+0000) Subject: ar71xx: return limit as number of processed frames when re-scheduling NAPI poll X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a1b8ee0307e43e96b172d2a1dc651949dc56565d;p=openwrt%2Fstaging%2Fsvanheule.git ar71xx: return limit as number of processed frames when re-scheduling NAPI poll Signed-off-by: Felix Fietkau SVN-Revision: 45971 --- diff --git a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c index 5ef324e853..dc77699845 100644 --- a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c +++ b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c @@ -1082,7 +1082,7 @@ static int ag71xx_poll(struct napi_struct *napi, int limit) more: DBG("%s: stay in polling mode, rx=%d, tx=%d, limit=%d\n", dev->name, rx_done, tx_done, limit); - return rx_done; + return limit; oom: if (netif_msg_rx_err(ag))