]> 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)
commit46ef12c75c5a89c498ee9f0609905f39fe862af0
tree3ad14165dc6d3b905a38034949d4df1af89115d2
parentf10a216d31ccdd0caec04cddf499d8dfdfd5d4ab
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