]> git.karo-electronics.de Git - linux-beck.git/commit
i40e: suspend scheduling during driver unload
authorPandi Kumar Maharajan <pandi.maharajan@intel.com>
Thu, 18 Feb 2016 17:19:25 +0000 (09:19 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 19 Feb 2016 08:05:43 +0000 (00:05 -0800)
commita4618ec88de95a86f290d01c74c506552f1a5d95
tree9ef848f91d5f402afca2988fd02105366f36d559
parent272cdaf2472ab7713deebe060bb90319b0382a94
i40e: suspend scheduling during driver unload

We need to suspend scheduling or any pending service task during driver
unload process, so that new task will not be scheduled. This patch sets
the suspend flag bit during reload which avoids service task execution.

Change-ID: I017c57b5d6656564556e3c5387da671369a572ac
Signed-off-by: Pandi Kumar Maharajan <pandi.maharajan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c