OpenCloudOS-Kernel/drivers/net/ethernet/cadence
Soren Brinkmann c8ea5a22bd net: macb: Fix race between HW and driver
Under "heavy" RX load, the driver cannot handle the descriptors fast
enough. In detail, when a descriptor is consumed, its used flag is
cleared and once the RX budget is consumed all descriptors with a
cleared used flag are prepared to receive more data. Under load though,
the HW may constantly receive more data and use those descriptors with a
cleared used flag before they are actually prepared for next usage.

The head and tail pointers into the RX-ring should always be valid and
we can omit clearing and checking of the used flag.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-05-05 17:11:18 -04:00
..
Kconfig net: cadence: Fix architecture dependencies 2014-04-24 13:23:37 -04:00
Makefile net/at91_ether: select MACB in Kconfig 2012-10-23 02:40:09 -04:00
at91_ether.c net/at91_ether: avoid NULL pointer dereference 2014-04-07 15:10:17 -04:00
macb.c net: macb: Fix race between HW and driver 2014-05-05 17:11:18 -04:00
macb.h net: macb: Adjust tx_clk when link speed changes 2013-12-10 22:56:23 -05:00