]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i40e: split some code in i40e_reset_vf into helpers
authorJacob Keller <jacob.e.keller@intel.com>
Thu, 13 Apr 2017 08:45:51 +0000 (04:45 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 20 Apr 2017 00:42:21 +0000 (17:42 -0700)
commit9dc2e417383815bc6b8239ae2714d145c167b5c8
treea51f088cbbfa76dc0333d32592d5b50ba55e6b82
parent1de81c2d07abeed32e9cbe54bf19a79c6fc8e3ff
i40e: split some code in i40e_reset_vf into helpers

A future patch is going to want to re-use some of the code in
i40e_reset_vf, so lets break up the beginning and ending parts into
their own helper functions. The first function will be used to
initialize the reset on a VF, while the second function will be used to
finalize the reset and restore functionality.

Change-ID: I48df808b8bf09de3c2ed8c521f57b3f0ab9e5907
Signed-off-by: Jacob Keller <jacob.e.keller@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_virtchnl_pf.c