From: Nicolas Schichan Date: Tue, 3 Mar 2015 11:45:12 +0000 (+0100) Subject: bcm63xx_enet: fix poll callback. X-Git-Tag: omap-for-v4.1/wl12xx-dt~34^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd33ccf5fd87e94342b6cf8990e2e1570632c276;p=pandora-kernel.git bcm63xx_enet: fix poll callback. 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 Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed