1. 28 3月, 2012 2 次提交
  2. 20 3月, 2012 2 次提交
    • J
      ixgbe: fix namespace issues when FCoE/DCB is not enabled · 8af3c33f
      Jeff Kirsher 提交于
      Resolve namespace issues when FCoE or DCB is not enabled.
      The issue is with certain configurations we end up with namespace
      problems. A simple example:
      
      ixgbe_main.c
       - defines func A()
       - uses func A()
      
      ixgbe_fcoe.c
       - uses func A()
      
      ixgbe.h
       - has prototype for func A()
      
      For default (FCoE included) all is good.  But when it isn't the namespace
      checker complains about how func A() could be static.
      
      To resolve this, created a ixgbe_lib file to contain functions used
      by DCB/FCoE and their helper functions so that they are always in
      namespace whether or not DCB/FCoE is enabled.
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Tested-by: NPhil Schmitt <phillip.j.schmitt@intel.com>
      8af3c33f
    • A
      ixgbe: Correct flag values set by ixgbe_fix_features · 567d2de2
      Alexander Duyck 提交于
      This patch replaces the variable name data with the variable name features
      for ixgbe_fix_features and ixgbe_set_features.  This helps to make some
      issues more obvious such as the fact that we were disabling Rx VLAN tag
      stripping when we should have been forcing it to be enabled when DCB is
      enabled.
      
      In addition there was deprecated code present that was disabling the LRO
      flag if we had the itr value set too low.  I have updated this logic so
      that we will now allow the LRO flag to be set, but will not enable RSC
      until the rx-usecs value is high enough to allow enough time for Rx packet
      coalescing.
      Signed-off-by: NAlexander Duyck <alexander.h.duyck@intel.com>
      Tested-by: NStephen Ko <stephen.s.ko@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      567d2de2
  3. 19 3月, 2012 7 次提交
  4. 17 3月, 2012 10 次提交
  5. 14 3月, 2012 5 次提交
  6. 13 3月, 2012 8 次提交
  7. 01 3月, 2012 2 次提交
  8. 11 2月, 2012 4 次提交