1. 27 8月, 2009 1 次提交
  2. 27 7月, 2009 6 次提交
  3. 14 7月, 2009 1 次提交
  4. 01 7月, 2009 2 次提交
  5. 08 6月, 2009 1 次提交
    • E
      net: skb_shared_info optimization · 042a53a9
      Eric Dumazet 提交于
      skb_dma_unmap() is quite expensive for small packets,
      because we use two different cache lines from skb_shared_info.
      
      One to access nr_frags, one to access dma_maps[0]
      
      Instead of dma_maps being an array of MAX_SKB_FRAGS + 1 elements,
      let dma_head alone in a new dma_head field, close to nr_frags,
      to reduce cache lines misses.
      
      Tested on my dev machine (bnx2 & tg3 adapters), nice speedup !
      Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      042a53a9
  6. 29 5月, 2009 1 次提交
  7. 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
  8. 22 5月, 2009 1 次提交
  9. 08 5月, 2009 1 次提交
  10. 07 5月, 2009 2 次提交
  11. 28 4月, 2009 3 次提交
  12. 27 4月, 2009 1 次提交
  13. 22 4月, 2009 1 次提交
  14. 20 4月, 2009 1 次提交
  15. 11 4月, 2009 1 次提交
  16. 09 4月, 2009 1 次提交
  17. 07 4月, 2009 2 次提交
  18. 02 4月, 2009 3 次提交
  19. 22 3月, 2009 5 次提交
  20. 15 3月, 2009 4 次提交