mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-25 23:41:57 +00:00
ice: fix adminq calls during remove
The order of operations was incorrect in ice_remove(). The code would try to use adminq operations after the adminq was disabled. This caused all adminq calls to fail and possibly timeout waiting. Signed-off-by: Henry Tieman <henry.w.tieman@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
152b978a1f
commit
ae2bdbb45d
@ -2633,9 +2633,9 @@ static void ice_remove(struct pci_dev *pdev)
|
|||||||
continue;
|
continue;
|
||||||
ice_vsi_free_q_vectors(pf->vsi[i]);
|
ice_vsi_free_q_vectors(pf->vsi[i]);
|
||||||
}
|
}
|
||||||
ice_clear_interrupt_scheme(pf);
|
|
||||||
ice_deinit_pf(pf);
|
ice_deinit_pf(pf);
|
||||||
ice_deinit_hw(&pf->hw);
|
ice_deinit_hw(&pf->hw);
|
||||||
|
ice_clear_interrupt_scheme(pf);
|
||||||
pci_disable_pcie_error_reporting(pdev);
|
pci_disable_pcie_error_reporting(pdev);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user