]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Display Link detected via Ethtool in safe mode
authorBrett Creeley <brett.creeley@intel.com>
Thu, 27 Feb 2020 18:14:56 +0000 (10:14 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 10 Mar 2020 20:10:15 +0000 (13:10 -0700)
commitd5133ccd221cfbaf1e3109b6394826ed5f12d8ab
treedf7ed32af38e3ec1d937973f4d693284ce7d2634
parentc26b140678af132b22775a5e96eea9595006a79e
ice: Display Link detected via Ethtool in safe mode

Currently the "Link detected" field is not shown when the device goes
into safe mode. This is because the safe mode Ethtool ops does not set the
get_link function. Fix this by setting the safe mode Ethtool op get_link
function.

Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_ethtool.c