]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ice: handle the VF VSI rebuild failure
authorHaiyue Wang <haiyue.wang@intel.com>
Fri, 26 Feb 2021 21:19:31 +0000 (13:19 -0800)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Thu, 15 Jul 2021 17:23:19 +0000 (19:23 +0200)
commite959f3b47ccfa11309287d1a8e64468bd2d9785b
tree58937d6719ea1c43c290eac3027a717df4476bc5
parent142066de315b0179f6e388a64a9ff6ae9676596f
ice: handle the VF VSI rebuild failure

BugLink: https://bugs.launchpad.net/bugs/1933691
[ Upstream commit c7ee6ce1cf60b7fcdbdd2354d377d00bae3fa2d2 ]

VSI rebuild can be failed for LAN queue config, then the VF's VSI will
be NULL, the VF reset should be stopped with the VF entering into the
disable state.

Fixes: 12bb018c538c ("ice: Refactor VF reset")
Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c