linux/drivers/net/ethernet/cadence
Nicolas Ferre e86cd53afc net/macb: better manage tx errors
Handle all TX errors, not only underruns. TX error management is
deferred to a dedicated workqueue.
Reinitialize the TX ring after treating all remaining frames, and
restart the controller when everything has been cleaned up properly.
Napi is not stopped during this task as the driver only handles
napi for RX for now.
With this sequence, we do not need a special check during the xmit
method as the packets will be caught by TX disable during workqueue
execution.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Tested-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-11-01 11:45:58 -04:00
..
at91_ether.c net/macb: clean up ring buffer logic 2012-11-01 11:45:58 -04:00
Kconfig net/cadence: depend on HAS_IOMEM 2012-10-31 14:00:15 -04:00
macb.c net/macb: better manage tx errors 2012-11-01 11:45:58 -04:00
macb.h net/macb: better manage tx errors 2012-11-01 11:45:58 -04:00
Makefile net/at91_ether: select MACB in Kconfig 2012-10-23 02:40:09 -04:00