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)
commit06914ac20abba21bb810fd96eb85388a402add9b
tree3ad14165dc6d3b905a38034949d4df1af89115d2
parent473ca574884bdb674cf5bb2c5d27c21017f6b55f
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