1. 15 1月, 2014 1 次提交
  2. 18 12月, 2013 1 次提交
  3. 08 11月, 2013 1 次提交
  4. 01 11月, 2013 1 次提交
  5. 29 10月, 2013 1 次提交
    • J
      ixgbe: fix qv_lock_napi call in ixgbe_napi_disable_all · 27d9ce4f
      Jacob Keller 提交于
      ixgbe_napi_disable_all calls napi_disable on each queue, however the busy
      polling code introduced a local_bh_disable()d context around the napi_disable.
      The original author did not realize that napi_disable might sleep, which would
      cause a sleep while atomic BUG. In addition, on a single processor system, the
      ixgbe_qv_lock_napi loop shouldn't have to mdelay. This patch adds an
      ixgbe_qv_disable along with a new IXGBE_QV_STATE_DISABLED bit, which it uses to
      indicate to the poll and napi routines that the q_vector has been disabled. Now
      the ixgbe_napi_disable_all function will wait until all pending work has been
      finished and prevent any future work from being started.
      Signed-off-by: NJacob Keller <jacob.e.keller@intel.com>
      Cc: Eliezer Tamir <eliezer.tamir@linux.intel.com>
      Cc: Alexander Duyck <alexander.duyck@intel.com>
      Cc: Hyong-Youb Kim <hykim@myri.com>
      Cc: Amir Vadai <amirv@mellanox.com>
      Cc: Dmitry Kravkov <dmitry@broadcom.com>
      Tested-by: NPhil Schmitt <phillip.j.schmitt@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      27d9ce4f
  6. 02 10月, 2013 1 次提交
  7. 25 9月, 2013 1 次提交
    • J
      intel: Remove extern from function prototypes · 5ccc921a
      Joe Perches 提交于
      There are a mix of function prototypes with and without extern
      in the kernel sources.  Standardize on not using extern for
      function prototypes.
      
      Function prototypes don't need to be written with extern.
      extern is assumed by the compiler.  Its use is as unnecessary as
      using auto to declare automatic/local variables in a block.
      Signed-off-by: NJoe Perches <joe@perches.com>
      5ccc921a
  8. 02 8月, 2013 1 次提交
  9. 31 7月, 2013 2 次提交
  10. 11 7月, 2013 1 次提交
  11. 11 6月, 2013 2 次提交
  12. 19 4月, 2013 1 次提交
  13. 16 2月, 2013 5 次提交
  14. 05 2月, 2013 2 次提交
  15. 24 1月, 2013 4 次提交
  16. 19 1月, 2013 1 次提交
    • A
      ixgbe: Update ixgbe Tx flags to improve code efficiency · 472148c3
      Alexander Duyck 提交于
      This change is meant to improve the efficiency of the Tx flags in ixgbe by
      aligning them with the values that will later be written into either the
      cmd_type or olinfo.  By doing this we are able to reduce most of these
      functions to either just a simple shift followed by an or in the case of
      cmd_type, or an and followed by an or in the case of olinfo.
      
      To do this I also needed to change the logic and/or drop some flags.  I
      dropped the IXGBE_TX_FLAGS_FSO and it was replaced by IXGBE_TX_FLAGS_TSO since
      the only place it was ever checked was in conjunction with IXGBE_TX_FLAGS_TSO.
      I replaced IXGBE_TX_FLAGS_TXSW with IXGBE_TX_FLAGS_CC, this way we have a
      clear point for what the flag is meant to do.  Finally the
      IXGBE_TX_FLAGS_NO_IFCS was dropped since were are already carrying the data
      for that flag in the skb.  Instead we can just check the bitflag in the skb.
      
      In order to avoid type conversion errors I also adjusted the locations
      where we were switching between CPU and little endian.
      Signed-off-by: NAlexander Duyck <alexander.h.duyck@intel.com>
      Tested-by: NPhil Schmitt <phillip.j.schmitt@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      472148c3
  17. 28 11月, 2012 1 次提交
  18. 01 11月, 2012 1 次提交
  19. 30 10月, 2012 1 次提交
  20. 23 10月, 2012 2 次提交
  21. 19 10月, 2012 1 次提交
  22. 09 10月, 2012 1 次提交
  23. 16 9月, 2012 1 次提交
  24. 17 8月, 2012 2 次提交
  25. 22 7月, 2012 2 次提交
  26. 20 7月, 2012 2 次提交