i40e: Fix ethtool offline test
authorGreg Rose <gregory.v.rose@intel.com>
Thu, 26 Feb 2015 16:14:35 +0000 (16:14 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 5 Mar 2015 13:43:52 +0000 (05:43 -0800)
commit5b86c5cf7536e383b301bf3322087b4bd4f6547b
tree8e05059fd736a1a0e8c3aee173b2dff158cb69de
parent088c4ee370ecc5c7ce2681e75b78429825c860bf
i40e: Fix ethtool offline test

If the system administrator is requesting an offline diagnostic test using
'ethtool -t' then we should, you know, actually take the device offline
before doing the testing.

Change-ID: I6afa1cbfcc821c9ab6e6f47ed4d8dc2d8dd20e82
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