1. 15 5月, 2014 1 次提交
  2. 14 5月, 2014 8 次提交
  3. 13 5月, 2014 7 次提交
  4. 10 5月, 2014 17 次提交
  5. 09 5月, 2014 2 次提交
  6. 08 5月, 2014 4 次提交
  7. 06 5月, 2014 1 次提交
    • S
      net: macb: Fix race between HW and driver · c8ea5a22
      Soren Brinkmann 提交于
      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: NSoren Brinkmann <soren.brinkmann@xilinx.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c8ea5a22