1. 11 2月, 2010 1 次提交
  2. 04 2月, 2010 1 次提交
  3. 14 1月, 2010 1 次提交
  4. 11 1月, 2010 1 次提交
  5. 09 12月, 2009 1 次提交
    • E
      ixgbe: Fix TX stats accounting · 60d51134
      Eric Dumazet 提交于
      Here is an updated version, because ixgbe_get_ethtool_stats()
      needs to call dev_get_stats() or "ethtool -S" wont give
      correct tx_bytes/tx_packets values.
      
      Several cpus can update netdev->stats.tx_bytes & netdev->stats.tx_packets
      in parallel. In this case, TX stats are under estimated and false sharing
      takes place.
      
      After a pktgen session sending exactly 200000000 packets :
      # ifconfig fiber0 | grep TX
                TX packets:198501982 errors:0 dropped:0 overruns:0 carrier:0
      
      Multi queue devices should instead use txq->tx_bytes & txq->tx_packets
      in their xmit() method (appropriate txq lock already held by caller, no
      cache line miss), or use appropriate locking.
      
      After patch, same pktgen session gives :
      
      # ifconfig fiber0 | grep TX
                TX packets:200000000 errors:0 dropped:0 overruns:0 carrier:0
      Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      60d51134
  6. 04 12月, 2009 1 次提交
  7. 29 11月, 2009 2 次提交
  8. 24 11月, 2009 1 次提交
  9. 19 11月, 2009 1 次提交
  10. 27 10月, 2009 1 次提交
  11. 14 10月, 2009 1 次提交
  12. 08 10月, 2009 1 次提交
  13. 01 10月, 2009 1 次提交
  14. 22 9月, 2009 1 次提交
  15. 02 9月, 2009 1 次提交
  16. 27 8月, 2009 1 次提交
  17. 14 8月, 2009 1 次提交
  18. 31 7月, 2009 2 次提交
  19. 18 7月, 2009 1 次提交
  20. 04 7月, 2009 1 次提交
  21. 01 7月, 2009 1 次提交
  22. 07 6月, 2009 6 次提交
  23. 18 5月, 2009 3 次提交
  24. 07 5月, 2009 1 次提交
  25. 28 4月, 2009 2 次提交
  26. 11 4月, 2009 1 次提交
  27. 02 4月, 2009 3 次提交
  28. 20 3月, 2009 1 次提交