1. 29 10月, 2010 1 次提交
  2. 21 10月, 2010 1 次提交
  3. 23 9月, 2010 1 次提交
  4. 03 9月, 2010 1 次提交
  5. 26 8月, 2010 1 次提交
  6. 09 8月, 2010 1 次提交
    • J
      e100/e1000*/igb*/ixgb*: Add missing read memory barrier · 2d0bb1c1
      Jeff Kirsher 提交于
      Based on patches from Sonny Rao and Milton Miller...
      
      Combined the patches to fix up clean_tx_irq and clean_rx_irq.
      
      The PowerPC architecture does not require loads to independent bytes
      to be ordered without adding an explicit barrier.
      
      In ixgbe_clean_rx_irq we load the status bit then load the packet data.
      With packet split disabled if these loads go out of order we get a
      stale packet, but we will notice the bad sequence numbers and drop it.
      
      The problem occurs with packet split enabled where the TCP/IP header
      and data are in different descriptors. If the reads go out of order
      we may have data that doesn't match the TCP/IP header. Since we use
      hardware checksumming this bad data is never verified and it makes it
      all the way to the application.
      
      This bug was found during stress testing and adding this barrier has
      been shown to fix it.  The bug can manifest as a data integrity issue
      (bad payload data) or as a BUG in skb_pull().
      
      This was a nasty bug to hunt down, if people agree with the fix I think
      it's a candidate for stable.
      
      Previously Submitted to e1000-devel only for ixgbe
      
      http://marc.info/?l=e1000-devel&m=126593062701537&w=3
      
      We've now seen this problem hit with other device drivers (e1000e mostly)
      So I'm resubmitting with fixes for other Intel Device Drivers with
      similar issues.
      
      CC: Milton Miller <miltonm@bga.com>
      CC: Anton Blanchard <anton@samba.org>
      CC: Sonny Rao <sonnyrao@us.ibm.com>
      CC: stable <stable@kernel.org>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2d0bb1c1
  7. 14 5月, 2010 1 次提交
  8. 28 4月, 2010 2 次提交
  9. 04 4月, 2010 1 次提交
    • J
      net: convert multicast list to list_head · 22bedad3
      Jiri Pirko 提交于
      Converts the list and the core manipulating with it to be the same as uc_list.
      
      +uses two functions for adding/removing mc address (normal and "global"
       variant) instead of a function parameter.
      +removes dev_mcast.c completely.
      +exposes netdev_hw_addr_list_* macros along with __hw_addr_* functions for
       manipulation with lists on a sandbox (used in bonding and 80211 drivers)
      Signed-off-by: NJiri Pirko <jpirko@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      22bedad3
  10. 23 2月, 2010 1 次提交
  11. 17 2月, 2010 1 次提交
  12. 13 2月, 2010 1 次提交
  13. 21 1月, 2010 1 次提交
  14. 08 1月, 2010 1 次提交
  15. 03 12月, 2009 1 次提交
  16. 19 11月, 2009 1 次提交
  17. 14 10月, 2009 1 次提交
  18. 08 10月, 2009 1 次提交
  19. 01 9月, 2009 1 次提交
  20. 02 8月, 2009 1 次提交
  21. 06 7月, 2009 1 次提交
  22. 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
  23. 29 5月, 2009 1 次提交
  24. 08 5月, 2009 1 次提交
  25. 22 4月, 2009 1 次提交
  26. 20 4月, 2009 1 次提交
  27. 07 4月, 2009 2 次提交
  28. 20 3月, 2009 1 次提交
  29. 22 1月, 2009 1 次提交
  30. 27 12月, 2008 1 次提交
  31. 23 12月, 2008 1 次提交
  32. 27 11月, 2008 1 次提交
  33. 21 11月, 2008 1 次提交
  34. 20 11月, 2008 1 次提交
  35. 04 11月, 2008 1 次提交
  36. 31 10月, 2008 1 次提交
  37. 09 10月, 2008 1 次提交
  38. 17 7月, 2008 1 次提交