[Intel-wired-lan] [PATCH net-next] i40evf: Move some i40evf_reset_task code to separate function

Bowers, AndrewX andrewx.bowers at intel.com
Thu Nov 3 15:53:29 UTC 2016


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Joe Perches
> Sent: Tuesday, November 01, 2016 3:35 PM
> To: Kirsher, Jeffrey T <jeffrey.t.kirsher at intel.com>
> Cc: netdev at vger.kernel.org; intel-wired-lan at lists.osuosl.org; linux-
> kernel at vger.kernel.org
> Subject: [Intel-wired-lan] [PATCH net-next] 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 at perches.com>
> ---
>  drivers/net/ethernet/intel/i40evf/i40evf_main.c | 86 +++++++++++++-------
> -----
>  1 file changed, 44 insertions(+), 42 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list