i40e: stop flow director on shutdown
In some cases, the hardware would continue to try to access the FDIR ring after entering D3Hot state, which would cause either PCIe errors or NMIs, depending upon system configuration. Explicitly stop FDIR in our shutdown routine to eliminate this possibility. Change-ID: I1bd9fc7fd8f151fe24cad132ac9adddab923e3af Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Tested-by: Jim Young <james.m.young@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
		
					parent
					
						
							
								e147758d9a
							
						
					
				
			
			
				commit
				
					
						33c62b34e5
					
				
			
		
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -9558,6 +9558,7 @@ static void i40e_remove(struct pci_dev *pdev)
 | 
			
		|||
	set_bit(__I40E_DOWN, &pf->state);
 | 
			
		||||
	del_timer_sync(&pf->service_timer);
 | 
			
		||||
	cancel_work_sync(&pf->service_task);
 | 
			
		||||
	i40e_fdir_teardown(pf);
 | 
			
		||||
 | 
			
		||||
	if (pf->flags & I40E_FLAG_SRIOV_ENABLED) {
 | 
			
		||||
		i40e_free_vfs(pf);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue