i40e: Move code to enable/disable Loopback to the main file
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Fri, 27 Feb 2015 09:15:25 +0000 (09:15 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 7 Mar 2015 12:59:44 +0000 (04:59 -0800)
commit386a0afa709931e0037bb2e812df62230e8af370
tree80cfa5e19a3fccf667ceaf86b33dcd1925c201b0
parent1e200e4a5744b727f64880855689bdb1b2502d43
i40e: Move code to enable/disable Loopback to the main file

Since changes made to enable or disable loopback for all VSIs, not only SR-IOV
or PCIOV, then it became necessary to move the associated functions to main
file - so that other non-SRIOV supported driver can take advantage of the
changes.

Change-ID: I59a49fd23a6136acda5e16f8d1e5ac7fd9c5fc05
Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.h