1. 19 8月, 2016 1 次提交
    • J
      i40e: don't allow reduction of channels below active FD rules · 59826d9b
      Jacob Keller 提交于
      If a driver is unable to maintain all current user supplied settings
      from ethtool (or other sources), it is not ok for a user request to
      succeed and silently trample over previous configuration.
      
      To that end, if you change the number of channels, it must not be
      allowed to reduce the number of channels (queues) below the current
      flow director filter rules targets. In this case, return -EINVAL when
      a request to reduce the number of channels would do so. In addition
      log a warning to the kernel buffer explaining why we failed, and report
      the rules which prevent us from lowering the number of channels.
      
      Change-ID: If41464d63d7aab11cedf09e4f3aa1a69e21ffd88
      Signed-off-by: NJacob Keller <jacob.e.keller@intel.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      59826d9b
  2. 22 7月, 2016 2 次提交
  3. 28 6月, 2016 2 次提交
  4. 14 5月, 2016 3 次提交
  5. 06 5月, 2016 3 次提交
  6. 26 4月, 2016 1 次提交
  7. 06 4月, 2016 1 次提交
  8. 05 4月, 2016 1 次提交
  9. 20 2月, 2016 3 次提交
  10. 19 2月, 2016 2 次提交
  11. 18 2月, 2016 5 次提交
  12. 17 2月, 2016 1 次提交
  13. 04 2月, 2016 4 次提交
  14. 03 12月, 2015 1 次提交
    • J
      i40e: use priv flags to control packet split · 827de392
      Jesse Brandeburg 提交于
      Ethtool priv flags implementation to enable or disable packet split, which
      is a hardware feature that inspects headers and will put headers in a
      separate DMA buffer from the payload data.  The driver was automatically
      choosing to enable packet split in some cases and this gives the user the
      ability to turn it off/on explicitly.
      
      to query state:
      ethtool --show-priv-flags ethx
      
      to enable:
      ethtool --set-priv-flags ethx packet-split on
      to disable:
      ethtool --set-priv-flags ethx packet-split off
      
      Why would anyone want this?
      	Because some environments benefit from header/data split in the receive
      	buffer, and the driver defaults to one or the other depending on
      	environment/kernel parameters.
      
      Why didn't you implement a generic ethtool control for this feature?
      	Because Intel hardware is the only hardware that supports header/data
      	split.
      
      Change-ID: I803121e1eecc9ccb2884031fd85dd1110b3af66d
      Signed-off-by: NJesse Brandeburg <jesse.brandeburg@intel.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      827de392
  15. 02 12月, 2015 1 次提交
  16. 26 11月, 2015 4 次提交
  17. 23 10月, 2015 1 次提交
  18. 20 10月, 2015 2 次提交
  19. 16 10月, 2015 2 次提交
    • C
      i40e: Recognize 1000Base_T_Optical phy type when link is up · 48becae6
      Catherine Sullivan 提交于
      1000Base_T_Optical got added to the function that figures out what
      is supported when link is down but not when link is up. Add it in there
      too so that we display the correct information.
      
      Change-ID: I85ebcdfa7c02d898c44c673b1500552a53c8042e
      Signed-off-by: NCatherine Sullivan <catherine.sullivan@intel.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      48becae6
    • J
      i40e/i40evf: moderate interrupts differently · ac26fc13
      Jesse Brandeburg 提交于
      The XL710 hardware has a different interrupt moderation design
      that can support a limit of total interrupts per second per
      vector, in addition to the "number of interrupts per second"
      controls already established in the driver.  This combination
      of hardware features allows us to set very low default latency
      settings but minimize the total CPU utilization by not
      making too many interrupts, should the user desire.
      
      The current driver implementation is still enabling the dynamic
      moderation in the driver, and only using the rx/tx-usecs
      limit in ethtool to limit the interrupt rate per second, by default.
      
      The new code implemented in this patch
      2) adds init/use of the new "Interrupt Limit" register
      3) adds ethtool knob to control/report the limits above
      
      Usage is ethtool -C ethx rx-usecs-high <value> Where <value> is number
      of microseconds to create a rate of 1/N interrupts per second,
      regardless of rx-usecs or tx-usecs values. Since there is a credit based
      scheme in the hardware, the rx-usecs and tx-usecs can be configured for
      very low latency for short bursts, but once the credit runs out the
      refill rate on the credits is limited by rx-usecs-high.
      
      Change-ID: I3a1075d3296123b0f4f50623c779b027af5b188d
      Signed-off-by: NJesse Brandeburg <jesse.brandeburg@intel.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      ac26fc13