linux-stable/drivers/net/ethernet/renesas
Ben Hutchings bd8889163a sh_eth: Detach net device when stopping queue to resize DMA rings
We must only ever stop TX queues when they are full or the net device
is not 'ready' so far as the net core, and specifically the watchdog,
is concerned.  Otherwise, the watchdog may fire *immediately* if no
packets have been added to the queue in the last 5 seconds.

What's more, sh_eth_tx_timeout() will likely crash if called while
we're resizing the TX ring.

I could easily trigger this by running the loop:

   while ethtool -G eth0 rx 128 && ethtool -G eth0 rx 64; do echo -n .; done

Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-01-26 16:13:15 -08:00
..
Kconfig net: sh_eth: fix driver dependencies 2014-09-02 13:23:25 -07:00
Makefile
sh_eth.c sh_eth: Detach net device when stopping queue to resize DMA rings 2015-01-26 16:13:15 -08:00
sh_eth.h sh_eth: Fix access to TRSCER register 2015-01-08 20:06:54 -08:00