ixgbe: add support for reporting 5G link speed
authorPaul Greenwalt <paul.greenwalt@intel.com>
Thu, 11 Jan 2018 14:10:51 +0000 (09:10 -0500)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 26 Jan 2018 18:25:28 +0000 (10:25 -0800)
Since 5G link speed is supported by some devices, add reporting of 5G link
speed.

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

index bbb622f15a772796810cc7e545666384b30160eb..643c7288ea0fab7aa195da30b2696bb4af1dd3df 100644 (file)
@@ -7259,6 +7259,9 @@ static void ixgbe_watchdog_link_is_up(struct ixgbe_adapter *adapter)
        case IXGBE_LINK_SPEED_10GB_FULL:
                speed_str = "10 Gbps";
                break;
+       case IXGBE_LINK_SPEED_5GB_FULL:
+               speed_str = "5 Gbps";
+               break;
        case IXGBE_LINK_SPEED_2_5GB_FULL:
                speed_str = "2.5 Gbps";
                break;