1. 28 10月, 2011 1 次提交
  2. 25 10月, 2011 4 次提交
  3. 19 10月, 2011 1 次提交
  4. 14 10月, 2011 1 次提交
  5. 04 10月, 2011 1 次提交
  6. 28 9月, 2011 1 次提交
  7. 31 8月, 2011 1 次提交
  8. 29 8月, 2011 1 次提交
  9. 25 8月, 2011 3 次提交
  10. 19 8月, 2011 1 次提交
  11. 12 8月, 2011 1 次提交
  12. 11 8月, 2011 1 次提交
  13. 03 8月, 2011 6 次提交
  14. 01 8月, 2011 2 次提交
    • S
      be2net: use stats-sync to read/write 64-bit stats · ab1594e9
      Sathya Perla 提交于
      64-bit stats in be2net are written/read as follows using the stats-sync
      interface for safe access in 32-bit archs:
      
      64-bit 		sync			writer			reader
      stats
      ------------------------------------------------------------------------------
      tx_stats	tx_stats->sync		be_xmit			be_get_stats64,
      								ethtool
      tx-compl	tx_stats->sync_compl	tx-compl-processing	ethtool
      rx-stats	rx_stats->sync		rx-compl-processing	be_get_stats64,
      								ethtool,
      								eqd-update
      
      This patch is based on Stephen Hemminger's earlier patch on the same issue...
      Signed-off-by: NSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ab1594e9
    • S
      be2net: cleanup and refactor stats code · ac124ff9
      Sathya Perla 提交于
      In preparation for 64-bit stats interface, the following cleanups help
      streamline the code:
      1) made some more rx/tx stats stored by driver 64 bit
      2) made some HW stas (err/drop counters) stored in be_drv_stats 32 bit to
         keep the code simple as BE provides 32-bit counters only.
      3) removed duplication of netdev stats in ethtool
      4) removed some un-necessary stats and fixed some names
      Signed-off-by: NSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ac124ff9
  15. 22 7月, 2011 1 次提交
  16. 13 7月, 2011 2 次提交
  17. 09 7月, 2011 1 次提交
  18. 01 7月, 2011 2 次提交
  19. 27 6月, 2011 3 次提交
  20. 17 6月, 2011 1 次提交
  21. 12 6月, 2011 1 次提交
  22. 07 6月, 2011 1 次提交
  23. 01 6月, 2011 1 次提交
  24. 23 5月, 2011 2 次提交
    • P
      Add appropriate <linux/prefetch.h> include for prefetch users · 70c71606
      Paul Gortmaker 提交于
      After discovering that wide use of prefetch on modern CPUs
      could be a net loss instead of a win, net drivers which were
      relying on the implicit inclusion of prefetch.h via the list
      headers showed up in the resulting cleanup fallout.  Give
      them an explicit include via the following $0.02 script.
      
       =========================================
       #!/bin/bash
       MANUAL=""
       for i in `git grep -l 'prefetch(.*)' .` ; do
       	grep -q '<linux/prefetch.h>' $i
       	if [ $? = 0 ] ; then
       		continue
       	fi
      
       	(	echo '?^#include <linux/?a'
       		echo '#include <linux/prefetch.h>'
       		echo .
       		echo w
       		echo q
       	) | ed -s $i > /dev/null 2>&1
       	if [ $? != 0 ]; then
       		echo $i needs manual fixup
       		MANUAL="$i $MANUAL"
       	fi
       done
       echo ------------------- 8\<----------------------
       echo vi $MANUAL
       =========================================
      Signed-off-by: NPaul <paul.gortmaker@windriver.com>
      [ Fixed up some incorrect #include placements, and added some
        non-network drivers and the fib_trie.c case    - Linus ]
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      70c71606
    • P
      drivers/net: add prefetch header for prefetch users · c0cba59e
      Paul Gortmaker 提交于
      After discovering that wide use of prefetch on modern CPUs
      could be a net loss instead of a win, net drivers which were
      relying on the implicit inclusion of prefetch.h via the list
      headers showed up in the resulting cleanup fallout.  Give
      them an explicit include via the following $0.02 script.
      
       =========================================
       #!/bin/bash
       MANUAL=""
       for i in `git grep -l 'prefetch(.*)' .` ; do
       	grep -q '<linux/prefetch.h>' $i
       	if [ $? = 0 ] ; then
       		continue
       	fi
      
       	(	echo '?^#include <linux/?a'
       		echo '#include <linux/prefetch.h>'
       		echo .
       		echo w
       		echo q
       	) | ed -s $i > /dev/null 2>&1
       	if [ $? != 0 ]; then
       		echo $i needs manual fixup
       		MANUAL="$i $MANUAL"
       	fi
       done
       echo ------------------- 8\<----------------------
       echo vi $MANUAL
       =========================================
      Signed-off-by: NPaul <paul.gortmaker@windriver.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c0cba59e