]> git.baikalelectronics.ru Git - kernel.git/commit
i40evf: cancel workqueue sync for adminq when a VF is removed
authorLihong Yang <lihong.yang@intel.com>
Tue, 28 Aug 2018 17:16:08 +0000 (10:16 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 30 Aug 2018 20:53:04 +0000 (13:53 -0700)
commit819c37c4fa3a64249410d18d7283d0ac59fb9ba0
tree8f180fce33c7565d5f2a74c7c91e3dcaa5c93d5d
parentdfc120d3fe1a5b6a8ca43ac4d1e421240940f42c
i40evf: cancel workqueue sync for adminq when a VF is removed

If a VF is being removed, there is no need to continue with the
workqueue sync for the adminq task, thus cancel it. Without this call,
when VFs are created and removed right away, there might be a chance for
the driver to crash with events stuck in the adminq.

Signed-off-by: Lihong Yang <lihong.yang@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c