]> git.karo-electronics.de Git - linux-beck.git/commit
i40evf: Move some i40evf_reset_task code to separate function
authorJoe Perches <joe@perches.com>
Tue, 1 Nov 2016 22:35:14 +0000 (15:35 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 3 Dec 2016 07:08:48 +0000 (23:08 -0800)
commitdedecb6d429bd3311bb24ea1379b47c8471c88b9
treee2b990f7dc2ecaae1ae7f74b2c63d41cbbe101bd
parent2f7679ee2ec1bfc5042ff334bade395ef208d4fe
i40evf: Move some i40evf_reset_task code to separate function

The i40evf_reset_task function is a couple hundred lines and it has
a separable block that disables VF.  Move that block to a new
i40evf_disable_vf function to shorten i40evf_reset_task a bit.

Signed-off-by: Joe Perches <joe@perches.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c