ixgbe: advertise highest capable link speed
authorPaul Greenwalt <paul.greenwalt@intel.com>
Tue, 24 Oct 2017 15:00:40 +0000 (11:00 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 9 Jan 2018 16:30:42 +0000 (08:30 -0800)
commit3ead7c2e86c9f5551a937bcd68d6c8f0072bb0b6
treecf2d598793fec789f8dd5805695813437de3014e
parent09099ddf6070fa267f8cf5c3340b08924e4a77eb
ixgbe: advertise highest capable link speed

On module insert advertise highest capable link speed. If module is
capable of 10G, then advertise 10G, else advertise modules capable
link speeds.

Signed-off-by: Paul Greenwalt <paul.greenwalt@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c