1. 04 2月, 2016 2 次提交
    • M
      i40evf: null out ring pointers on free · 10311540
      Mitch Williams 提交于
      Since we check these ring pointers to make sure we don't double-allocate
      or double-free the rings, we had better null them out after we free
      them. In very rare cases this can cause a panic if the driver is removed
      during reset recovery.
      
      Change-ID: Ib06eb4910a3058275c8f7ec5ef7f45baa4674f96
      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>
      10311540
    • 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
  2. 16 12月, 2015 1 次提交
  3. 13 12月, 2015 3 次提交
  4. 08 12月, 2015 1 次提交
  5. 04 12月, 2015 1 次提交
  6. 03 12月, 2015 5 次提交
  7. 02 12月, 2015 8 次提交
  8. 24 11月, 2015 1 次提交
  9. 23 10月, 2015 4 次提交
  10. 20 10月, 2015 4 次提交
  11. 16 10月, 2015 4 次提交
  12. 15 10月, 2015 4 次提交
  13. 14 10月, 2015 2 次提交