1. 29 5月, 2009 1 次提交
  2. 27 5月, 2009 2 次提交
    • J
      igb: Record host memory receive overflow in net_stats · 3ea73afa
      Jesper Dangaard Brouer 提交于
      Based on previous patch from Jesper Dangaard Brouer.
      
      The RNBC (Receive No Buffers Count) register for the 82576, indicate
      that frames were received when there were no available buffers in host
      memory to store those frames (receive descriptor head and tail
      pointers were equal).  The packet is still received by the NIC if
      there is space in the FIFO on the NIC.
      
      As the RNBC value is not a packet drop, the driver stores this value
      in net_stats.rx_fifo_errors to indicate that there were no system
      buffers available for the incoming packet.  Actual dropped packets
      are counted in the MPC value.
      
      Saving the stats in dev->net_stats makes it visible via
      /proc/net/dev as "fifo", and thus viewable to ifconfig
      as "overruns" and 'netstat -i' as "RX-OVR".
      
      The Receive No Buffers Count (RNBC) can already be queried by
      ethtool -S as "rx_no_buffer_count".
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      CC: Jesper Dangaard Brouer <hawk@comx.dk>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3ea73afa
    • J
      igb: Implement reading of reg RQDPC (Receive Queue Drop Packet Count) · 8c0ab70a
      Jesper Dangaard Brouer 提交于
      Based on the previous patches from Jesper Dangaard Brouer <hawk@comx.dk>
      
      Implement reading the per queue drop stats register
      RQDPC (Receive Queue Drop Packet Count).  It counts the number of
      packets dropped by a queue due to lack of descriptors available.
      
      Notice RQDPC (Receive Queue Drop Packet Count) stats only gets
      incremented, if the DROP_EN bit it set (in the SRRCTL register
      for that queue).  If DROP_EN bit is NOT set, then the some what
      equivalent count is stored in RNBC (not per queue basis).
      
      The RQDPC register is only 12 bit, thus the precision might
      suffer due to overrun in-netween the watchdog polling interval.
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      CC: Jesper Dangaard Brouer <hawk@comx.dk>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8c0ab70a
  3. 22 5月, 2009 1 次提交
  4. 08 5月, 2009 1 次提交
  5. 07 5月, 2009 2 次提交
  6. 28 4月, 2009 3 次提交
  7. 27 4月, 2009 1 次提交
  8. 22 4月, 2009 1 次提交
  9. 20 4月, 2009 1 次提交
  10. 11 4月, 2009 1 次提交
  11. 09 4月, 2009 1 次提交
  12. 07 4月, 2009 2 次提交
  13. 02 4月, 2009 3 次提交
  14. 22 3月, 2009 5 次提交
  15. 15 3月, 2009 9 次提交
  16. 03 3月, 2009 1 次提交
  17. 20 2月, 2009 5 次提交