diff options
author | Soren Brinkmann <soren.brinkmann@xilinx.com> | 2014-05-04 15:43:02 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-05 17:11:18 -0400 |
commit | c8ea5a22bd3b27d68ec2f95483ce8bfe7f114933 (patch) | |
tree | 28ab536723891f977119ac51d2b1dbc00416a2ae /MAINTAINERS | |
parent | 504ad98df3a6b027ce997ca8f620e949cafb151f (diff) | |
download | op-kernel-dev-c8ea5a22bd3b27d68ec2f95483ce8bfe7f114933.zip op-kernel-dev-c8ea5a22bd3b27d68ec2f95483ce8bfe7f114933.tar.gz |
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>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions