Nicolas Schichan cd33ccf5fd 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>
2015-03-04 15:44:52 -05:00
..
2015-02-05 16:03:28 -08:00
2014-06-25 16:27:27 -07:00
2014-06-25 16:27:27 -07:00
2014-06-25 16:27:27 -07:00
2014-06-25 16:27:27 -07:00
2014-06-25 16:27:27 -07:00