1. 14 3月, 2011 11 次提交
  2. 13 3月, 2011 27 次提交
  3. 12 3月, 2011 2 次提交
    • J
      ixgbe: DCB, PFC not cleared until reset occurs · 1f4a0244
      John Fastabend 提交于
      The PFC configuration is not cleared until the device is reset. This
      has not been a problem because setting DCB attributes forced a
      hardware reset. Now that we no longer require this reset to occur
      PFC remains configured even after being disabled until the
      device is reset.
      
      This removes a goto in the PFC hardware set routines for 82598 and
      82599 devices that was short circuiting the clear.
      Signed-off-by: NJohn Fastabend <john.r.fastabend@intel.com>
      Tested-by: NRoss Brattain <ross.b.brattain@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      1f4a0244
    • L
      ixgbe: add support for VF Transmit rate limit using iproute2 · ff4ab206
      Lior Levy 提交于
      Implemented ixgbe_ndo_set_vf_bw function which is being used by iproute2
      tool. In addition, updated ixgbe_ndo_get_vf_config function to show the
      actual rate limit to the user.
      
      The rate limitation can be configured only when the link is up and the
      link speed is 10Gb.
      The rate limit value can be 0 or ranged between 11 and actual link
      speed measured in Mbps. A value of '0' disables the rate limit for
      this specific VF.
      
      iproute2 usage will be 'ip link set ethX vf Y rate Z'.
      After the command is made, the rate will be changed instantly.
      To view the current rate limit, use 'ip link show ethX'.
      
      The rates will be zeroed only upon driver reload or a link speed change.
      
      This feature is being supported by 82599 and X540 devices.
      Signed-off-by: NLior Levy <lior.levy@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      ff4ab206