diff options
author | Nicolas Schichan <nschichan@freebox.fr> | 2015-03-03 12:45:12 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-04 21:44:52 +0100 |
commit | cd33ccf5fd87e94342b6cf8990e2e1570632c276 (patch) | |
tree | 844744bdc16d599a30ee41596ab8bf7fb45c500b /drivers/gpio | |
parent | stmmac: check IRQ availability early on probe (diff) | |
download | linux-cd33ccf5fd87e94342b6cf8990e2e1570632c276.tar.xz linux-cd33ccf5fd87e94342b6cf8990e2e1570632c276.zip |
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 <nschichan@freebox.fr>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions