1. 11 8月, 2011 1 次提交
    • J
      enic: Move the Cisco driver · a6a5580c
      Jeff Kirsher 提交于
      Move the Cisco driver into drivers/net/ethernet/cisco/ and make the
      necessary Kconfig and Makefile changes.
      
      CC: Christian Benvenuti <benve@cisco.com>
      CC: Vasanthy Kolluri <vkolluri@cisco.com>
      CC: Roopa Prabhu <roprabhu@cisco.com>
      CC: David Wang <dwang2@cisco.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      a6a5580c
  2. 22 7月, 2011 1 次提交
  3. 01 7月, 2011 1 次提交
  4. 10 6月, 2011 3 次提交
  5. 09 6月, 2011 1 次提交
  6. 07 6月, 2011 2 次提交
  7. 06 6月, 2011 1 次提交
  8. 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
  9. 30 4月, 2011 1 次提交
    • D
      ethtool: cosmetic: Use ethtool ethtool_cmd_speed API · 70739497
      David Decotigny 提交于
      This updates the network drivers so that they don't access the
      ethtool_cmd::speed field directly, but use ethtool_cmd_speed()
      instead.
      
      For most of the drivers, these changes are purely cosmetic and don't
      fix any problem, such as for those 1GbE/10GbE drivers that indirectly
      call their own ethtool get_settings()/mii_ethtool_gset(). The changes
      are meant to enforce code consistency and provide robustness with
      future larger throughputs, at the expense of a few CPU cycles for each
      ethtool operation.
      
      All drivers compiled with make allyesconfig ion x86_64 have been
      updated.
      
      Tested: make allyesconfig on x86_64 + e1000e/bnx2x work
      Signed-off-by: NDavid Decotigny <decot@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      70739497
  10. 08 4月, 2011 1 次提交
  11. 31 3月, 2011 1 次提交
    • R
      enic: Add support for PORT_REQUEST_PREASSOCIATE_RR · b3abfbd2
      Roopa Prabhu 提交于
      Current enic code only supports ASSOCIATE and DISASSOCIATE port profile
      operations. This patch adds enic support for port profile
      PORT_REQUEST_PREASSOCIATE_RR operation. The VIC adapter (8021qbh) is capable
      of handling port profile requests done in two steps namely PREASSOCIATE_RR
      and ASSOCIATE today. The motivation to support PREASSOCIATE_RR comes mainly
      from its use as an optimization during VM migration ie, to do resource
      reservation on destination host before resources on source host are released.
      
      PREASSOCIATE_RR is a VDP operation and according to the latest at IEEE,
      8021qbh will also need to support VDP commands.
      
      In addition to handling the new PORT_REQUEST_PREASSOCIATE_RR operation
      this patch also does the below:
      - Introduces handlers for PORT_REQUEST operations
      - Moves most of the port profile handling code to new files enic_pp.[ch]
      - Uses new fw devcmds for port profile operations
      Signed-off-by: NRoopa Prabhu <roprabhu@cisco.com>
      Signed-off-by: NDavid Wang <dwang2@cisco.com>
      Signed-off-by: NChristian Benvenuti <benve@cisco.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b3abfbd2
  12. 01 3月, 2011 1 次提交
  13. 18 2月, 2011 3 次提交
  14. 08 2月, 2011 4 次提交
  15. 21 1月, 2011 1 次提交
  16. 17 12月, 2010 1 次提交
  17. 12 12月, 2010 1 次提交
    • T
      drivers/net: don't use flush_scheduled_work() · 23f333a2
      Tejun Heo 提交于
      flush_scheduled_work() is on its way out.  This patch contains simple
      conversions to replace flush_scheduled_work() usage with direct
      cancels and flushes.
      
      Directly cancel the used works on driver detach and flush them in
      other cases.
      
      The conversions are mostly straight forward and the only dangers are,
      
      * Forgetting to cancel/flush one or more used works.
      
      * Cancelling when a work should be flushed (ie. the work must be
        executed once scheduled whether the driver is detaching or not).
      
      I've gone over the changes multiple times but it would be much
      appreciated if you can review with the above points in mind.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jay Cliburn <jcliburn@gmail.com>
      Cc: Michael Chan <mchan@broadcom.com>
      Cc: Divy Le Ray <divy@chelsio.com>
      Cc: e1000-devel@lists.sourceforge.net
      Cc: Vasanthy Kolluri <vkolluri@cisco.com>
      Cc: Samuel Ortiz <samuel@sortiz.org>
      Cc: Lennert Buytenhek <buytenh@wantstofly.org>
      Cc: Andrew Gallatin <gallatin@myri.com>
      Cc: Francois Romieu <romieu@fr.zoreil.com>
      Cc: Ramkrishna Vepa <ramkrishna.vepa@exar.com>
      Cc: Matt Carlson <mcarlson@broadcom.com>
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      Cc: Shreyas Bhatewara <sbhatewara@vmware.com>
      Cc: netdev@vger.kernel.org
      23f333a2
  18. 11 12月, 2010 5 次提交
  19. 16 11月, 2010 1 次提交
  20. 21 10月, 2010 5 次提交
  21. 01 10月, 2010 1 次提交
  22. 17 8月, 2010 2 次提交