summaryrefslogtreecommitdiff
path: root/drivers/scsi/ps3rom.c
diff options
context:
space:
mode:
authorSoren Brinkmann <soren.brinkmann@xilinx.com>2014-05-05 02:43:02 +0400
committerDavid S. Miller <davem@davemloft.net>2014-05-06 01:11:18 +0400
commitc8ea5a22bd3b27d68ec2f95483ce8bfe7f114933 (patch)
tree28ab536723891f977119ac51d2b1dbc00416a2ae /drivers/scsi/ps3rom.c
parent504ad98df3a6b027ce997ca8f620e949cafb151f (diff)
downloadlinux-c8ea5a22bd3b27d68ec2f95483ce8bfe7f114933.tar.xz
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 'drivers/scsi/ps3rom.c')
0 files changed, 0 insertions, 0 deletions