]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Always notify FW of VF reset
authorMitch Williams <mitch.a.williams@intel.com>
Thu, 8 Aug 2019 14:39:26 +0000 (07:39 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 4 Sep 2019 00:04:14 +0000 (17:04 -0700)
commit1fa09e340beb9b1903dc2357922c5bb2289f9bb6
tree3ad14165dc6d3b905a38034949d4df1af89115d2
parentb620c01eec026cd8d39d0a180e3593ae5196c17a
ice: Always notify FW of VF reset

The call to ice_dis_vsi_txq() acts as the notification to the firmware
that the VF is being reset. Because of this, we need to make this call
every time we reset, regardless of whatever else we do to stop the Tx
queues.

Without this change, VF resets would fail to complete on interfaces that
were up and running.

Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c