]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Disable offline diagnostics if VFs are enabled
authorGreg Rose <gregory.v.rose@intel.com>
Fri, 17 Apr 2015 00:05:59 +0000 (20:05 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 28 May 2015 10:36:10 +0000 (03:36 -0700)
commitf6d7cf4d42bd45e41f38fca7e6b7779d8eccf62a
treebc4528e621b1652a131e4a9a7ce39f88ed3b7cae
parent306ec78e111e38bb860fc0ced87648ecc6a1ac82
i40e: Disable offline diagnostics if VFs are enabled

Require the user to disable virtual functions before running the device
offline diagnostics.  The offline diagnostics are intended to ensure
basic operation of the device - it is beyond the scope of the diagnostic
test to handle the additional complexity of bringing all the virtual
functions offline and then back online for each test run.

Change-ID: Ic0b854851a09fc85df0c9e82c220e45885457c30
Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c