]> www.infradead.org Git - users/jedix/linux-maple.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)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Fri, 28 Aug 2015 15:11:48 +0000 (08:11 -0700)
commit07a81989f409cd27826d45cd23d028b06b2ba6f3
tree06aa3420c44c3c442f3cc425c8f49506fcc15f6b
parent8d14b010e1b47ebe5b680c85513cb2be93341192
i40e: Disable offline diagnostics if VFs are enabled

Orabug: 21570582

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>
(cherry picked from commit e17bc411aea8fbebc51857037f104ab09f765120)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c