Re: [PATCH] can: ti_hecc: Fix napi poll return value for repoll

2017-11-27 Thread Marc Kleine-Budde
On 11/20/2017 02:45 PM, Oliver Stäbler wrote: > After commit d75b1ade567f ("net: less interrupt masking in NAPI") napi > repoll is done only when work_done == budget. > So we need to return budget if there are still packets to receive. > > Signed-off-by: Oliver Stäbler Applied to can. Tnx, Marc

[PATCH] can: ti_hecc: Fix napi poll return value for repoll

2017-11-20 Thread Oliver Stäbler
After commit d75b1ade567f ("net: less interrupt masking in NAPI") napi repoll is done only when work_done == budget. So we need to return budget if there are still packets to receive. Signed-off-by: Oliver Stäbler --- drivers/net/can/ti_hecc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git