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 15:44:52 -0500 |
commit | cd33ccf5fd87e94342b6cf8990e2e1570632c276 (patch) | |
tree | 844744bdc16d599a30ee41596ab8bf7fb45c500b /net | |
parent | 8f02d8da969a73133d82edaaa63f6286fba0195a (diff) |
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 'net')
0 files changed, 0 insertions, 0 deletions