]> 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)
commitc402449403bed827c36d0060d6a3fe88470edc09
tree45c6b17f6be936e3849b48e86c8ce5d89b4f911f
parent07b7a07c34f9f4c30ccf753581bf8884ad17fd38
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