ar71xx: return limit as number of processed frames when re-scheduling NAPI poll

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45971
master
Felix Fietkau 10 years ago
parent 4a9d726200
commit a1b8ee0307
  1. 2
      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))

Loading…
Cancel
Save