|
@@ -10630,6 +10630,7 @@ err_dma:
|
|
|
static void i40e_remove(struct pci_dev *pdev)
|
|
|
{
|
|
|
struct i40e_pf *pf = pci_get_drvdata(pdev);
|
|
|
+ struct i40e_hw *hw = &pf->hw;
|
|
|
i40e_status ret_code;
|
|
|
int i;
|
|
|
|
|
@@ -10637,6 +10638,10 @@ static void i40e_remove(struct pci_dev *pdev)
|
|
|
|
|
|
i40e_ptp_stop(pf);
|
|
|
|
|
|
+ /* Disable RSS in hw */
|
|
|
+ wr32(hw, I40E_PFQF_HENA(0), 0);
|
|
|
+ wr32(hw, I40E_PFQF_HENA(1), 0);
|
|
|
+
|
|
|
/* no more scheduling of any task */
|
|
|
set_bit(__I40E_DOWN, &pf->state);
|
|
|
del_timer_sync(&pf->service_timer);
|