1. 18 7月, 2012 1 次提交
  2. 17 7月, 2012 8 次提交
  3. 11 7月, 2012 1 次提交
  4. 03 5月, 2012 2 次提交
  5. 28 3月, 2012 1 次提交
  6. 25 2月, 2012 1 次提交
  7. 13 2月, 2012 1 次提交
    • D
      rename dev_hw_addr_random and remove redundant second · 1a0d6ae5
      Danny Kukawka 提交于
      Renamed dev_hw_addr_random to eth_hw_addr_random() to reflect that
      this function only assign a random ethernet address (MAC). Removed
      the second parameter (u8 *hwaddr), it's redundant since the also
      given net_device already contains net_device->dev_addr.
      Set it directly.
      
      Adapt igbvf and ixgbevf to the changed function.
      
      Small fix for ixgbevf_probe(): if ixgbevf_sw_init() fails
      (which means the device got no dev_addr) handle the error and
      jump to err_sw_init as already done by igbvf in similar case.
      Signed-off-by: NDanny Kukawka <danny.kukawka@bisect.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1a0d6ae5
  8. 03 2月, 2012 2 次提交
  9. 01 2月, 2012 1 次提交
  10. 20 1月, 2012 2 次提交
  11. 09 12月, 2011 1 次提交
  12. 23 11月, 2011 1 次提交
    • E
      net: remove netdev_alloc_page and use __GFP_COLD · 1f2149c1
      Eric Dumazet 提交于
      Given we dont use anymore the struct net_device *dev argument, and this
      interface brings litle benefit, remove netdev_{alloc|free}_page(), to
      debloat include/linux/skbuff.h a bit.
      
      (Some drivers used a mix of these interfaces and alloc_pages())
      
      When allocating a page given to device for DMA transfer (device to
      memory), it makes sense to use a cold one (__GFP_COLD)
      Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
      CC: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
      CC: Dimitris Michailidis <dm@chelsio.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1f2149c1
  13. 17 11月, 2011 1 次提交
  14. 16 11月, 2011 1 次提交
  15. 03 11月, 2011 1 次提交
  16. 19 10月, 2011 1 次提交
  17. 29 9月, 2011 1 次提交
  18. 31 8月, 2011 1 次提交
  19. 27 8月, 2011 3 次提交
  20. 18 8月, 2011 2 次提交
  21. 11 8月, 2011 1 次提交
  22. 22 7月, 2011 1 次提交
  23. 21 6月, 2011 2 次提交
  24. 10 6月, 2011 1 次提交
  25. 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