1. 04 2月, 2016 2 次提交
    • M
      i40evf: allow channel bonding of VFs · 209dc4da
      Mitch Williams 提交于
      In some modes, bonding would not enslave VF interfaces. This is due to
      bonding calling change_mtu and the immediately calling open. Because of
      the asynchronous nature of the admin queue mechanism, the VF returns
      -EBUSY to the open call, because it knows the previous operation hasn't
      finished yet. This causes bonding to fail with a less-than-useful error
      message.
      
      To fix this, remove the check for pending operations at the beginning of
      open. But this introduces a new bug where the driver will panic on a
      quick close/open cycle. To fix that, we add a new driver state,
      __I40EVF_DOWN_PENDING, that the driver enters when down is called. The
      driver finally transitions to a fully DOWN state when it receives
      confirmation from the PF driver that all the queues are disabled. This
      allows open to complete even if there is a pending mtu change, and
      bonding is finally happy.
      
      Change-ID: I06f4c7e435d5bacbfceaa7c3f209e0ff04be21cc
      Signed-off-by: NMitch Williams <mitch.a.williams@intel.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      209dc4da
    • A
      i40e/i40evf: Fix RSS rx-flow-hash configuration through ethtool · 6e35c04c
      Anjali Singhai Jain 提交于
      This patch fixes the Hash PCTYPE enable for X722 since it supports
      a broader selection of PCTYPES for TCP and UDP.
      
      This patch also fixes a bug in XL710, X710, X722 support for RSS,
      as of now we cannot reduce the (4)tuple for RSS for TCP/IPv4/IPV6 or
      UDP/IPv4/IPv6 packets since this requires a product feature change
      that comes in a later release.
      
      A VF should never be allowed to change the tuples for RSS for any
      PCTYPE since that's a global setting for the device in case of i40e
      devices.
      
      Change-ID: I0ee7203c9b24813260f58f3220798bc9d9ac4a12
      Signed-off-by: NAnjali Singhai Jain <anjali.singhai@intel.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      6e35c04c
  2. 08 1月, 2016 2 次提交
  3. 16 12月, 2015 1 次提交
  4. 13 12月, 2015 5 次提交
  5. 08 12月, 2015 1 次提交
  6. 04 12月, 2015 1 次提交
  7. 03 12月, 2015 10 次提交
  8. 02 12月, 2015 10 次提交
  9. 26 11月, 2015 5 次提交
  10. 24 11月, 2015 1 次提交
  11. 19 11月, 2015 1 次提交
  12. 23 10月, 2015 1 次提交