]> asedeno.scripts.mit.edu Git - linux.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)
commit9ccb062c144019a1c629c04b306280c251e1112b
tree45c6b17f6be936e3849b48e86c8ce5d89b4f911f
parente223eaec67e2e4b9092df3ee5344f46db6b3eded
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