1. 09 10月, 2015 3 次提交
  2. 08 10月, 2015 3 次提交
  3. 30 9月, 2015 2 次提交
  4. 18 9月, 2015 1 次提交
  5. 27 8月, 2015 2 次提交
  6. 06 8月, 2015 2 次提交
  7. 23 7月, 2015 3 次提交
  8. 15 7月, 2015 4 次提交
  9. 26 6月, 2015 2 次提交
  10. 15 4月, 2015 2 次提交
  11. 03 4月, 2015 2 次提交
  12. 27 3月, 2015 2 次提交
  13. 10 3月, 2015 1 次提交
  14. 09 3月, 2015 3 次提交
  15. 07 3月, 2015 1 次提交
  16. 06 3月, 2015 1 次提交
  17. 03 3月, 2015 1 次提交
  18. 25 2月, 2015 2 次提交
  19. 24 2月, 2015 3 次提交
    • M
      i40evf: don't wait forever · 54e16f64
      Mitch Williams 提交于
      Under rare circumstances, after a reset, set_rx_mode might get called
      while the watchdog is running, which will cause a deadlock on the
      critical section lock. To correct this, add a counter and give up trying
      to get the lock after fifty tries. Log a message if this happens but
      don't take any other action. Because this happens after a reset, all of
      the Rx filters are still in place and the device won't lose
      connectivity.
      
      We can also get stuck during shutdown, if the PF has stopped communicating
      with us, or if a reset is occurring. If we can't get the lock after a reasonable
      amount of time, just error out. Something else bad is happening anyway, so
      adding this filter is the least of our concern right now.
      
      Change-ID: I159731e2a82a06b389ee31b34ce336548e05baa0
      Signed-off-by: NMitch Williams <mitch.a.williams@intel.com>
      Tested-by: NJim Young <james.m.young@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      54e16f64
    • M
      i40evf: refactor reset · ac833bbf
      Mitch Williams 提交于
      A recent change to the shutdown flow messed up the reset flow. Since
      i40evf_down now holds the critical section lock, we cannot call it from
      the reset handler, which also holds the lock. To do so causes a deadlock
      accompanied by wailing and gnashing of teeth. This is easily triggered
      by running an ethtool self-test on the PF device.
      
      Instead, we move the relevant portions of i40evf_down into the reset
      handler and bend them to our will. Additionally, we can optimize the
      reinit path by not deleting the MAC and VLAN filters and then adding
      them back again. Instead, we just set the 'add' flag and let the
      watchdog resynchronize the filter list with the PF driver. We also
      reword a few messages to make them more consistent with the rest of the
      driver.
      
      Change-ID: I03dd92ae736f7719fca3564b12a2cf9b98c6cb18
      Signed-off-by: NMitch Williams <mitch.a.williams@intel.com>
      Tested-by: NJim Young <james.m.young@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      ac833bbf
    • M
      i40evf: disable NAPI polling sooner · 748c434b
      Mitch Williams 提交于
      When closing the interface, disable NAPI polling before any other
      activities. This fixes an occasional panic during close caused by the
      driver trying to delete and clean rings at the same time.
      
      Change-ID: Ib4d427b13d310258ea85b248d535da70ecf0c1e9
      Signed-off-by: NMitch Williams <mitch.a.williams@intel.com>
      Tested-by: NJim Young <james.m.young@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      748c434b