lkml.org 
[lkml]   [2015]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] bcm63xx_enet: fix poll callback.
From
From: Nicolas Schichan <nschichan@freebox.fr>
Date: Tue, 3 Mar 2015 12:45:12 +0100

> In case there was some tx buffer reclaimed and not enough rx packets
> to consume the whole budget, napi_complete would not be called and
> interrupts would be kept disabled, effectively resulting in the
> network core never to call the poll callback again and no rx/tx
> interrupts to be fired either.
>
> Fix that by only accounting the rx work done in the poll callback.
>
> Signed-off-by: Nicolas Schichan <nschichan@freebox.fr>

Applied.


\
 
 \ /
  Last update: 2015-03-04 22:01    [W:0.203 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site