]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ice: Fix issue with VF reset and multiple VFs support on PFs
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Fri, 8 Feb 2019 20:50:49 +0000 (12:50 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 May 2019 13:43:51 +0000 (06:43 -0700)
commit0f0b754d6220cae80c223b79f026ae22cb9354b2
tree52e3117c5b7a53e7969a41abd6650d57ad04dae9
parent37e27e4fd8f493981977776a9bc4052ce4322b1b
ice: Fix issue with VF reset and multiple VFs support on PFs

[ Upstream commit 42b2cc83afb4d1afcf7794148dd4e8e45ba32943 ]

This patch fixes issues with VF queues being disabled, and VF netdev
network carrier being lost after reset. Basically, we need to check if VF
is enabled, and queue configured in reset_all_vfs flow, and disable/enable
those queues appropriately whenever the function is called after
Global/CORER/PFR reset/rebuild/replay.

Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c