]> 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)
commitd1e1cb4e7188723e90de5983153a6b1c911639be
treebc4528e621b1652a131e4a9a7ce39f88ed3b7cae
parentd4683fb82009334358ef92b3312ef97a290e9147
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