diff options
author | Nicolas Schichan <nschichan@freebox.fr> | 2015-03-03 11:45:12 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-04 20:44:52 (GMT) |
commit | cd33ccf5fd87e94342b6cf8990e2e1570632c276 (patch) | |
tree | 844744bdc16d599a30ee41596ab8bf7fb45c500b /Documentation | |
parent | 8f02d8da969a73133d82edaaa63f6286fba0195a (diff) | |
download | linux-cd33ccf5fd87e94342b6cf8990e2e1570632c276.tar.xz |
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 'Documentation')
0 files changed, 0 insertions, 0 deletions