Re: [PATCH] bcm63xx_enet: fix poll callback.

From: David Miller
Date: Wed Mar 04 2015 - 15:45:28 EST


From: Nicolas Schichan <nschichan@xxxxxxxxxx>
Date: Tue, 3 Mar 2015 12:45:12 +0100

> 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@xxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/