]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Advertise supported link modes if none requested
authorTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 16 Apr 2019 17:24:30 +0000 (10:24 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 23 May 2019 17:51:53 +0000 (10:51 -0700)
commit6fe6a23edd6786b3793c2db90adb6f3c2515941c
tree45c6b17f6be936e3849b48e86c8ce5d89b4f911f
parented0cf846d79f1d7b9b0eaa5aca7fda89f6b9e814
ice: Advertise supported link modes if none requested

User requested link modes affect what is returned as an advertised
link mode.  If no modes have been requested, we are not advertising
any link modes.  Advertise what we are capable of supporting if no
link modes have been requested.

Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@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