]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
i40e: fix link reporting
authorAlan Brady <alan.brady@intel.com>
Wed, 11 Oct 2017 21:49:42 +0000 (14:49 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 13 Oct 2017 21:25:38 +0000 (14:25 -0700)
commit8fdb69dd383f1f937f7e2f1f24efe97c5268a84c
tree9838848c89d6ecaba5cc7e697607a2f7a6a3567f
parentb06da8f939ff8dcf28eb9b86aae933850658742e
i40e: fix link reporting

When querying the NVM for supported phy_types, on some firmware
versions, we were failing to actually fill out the phy_types which means
ethtool wouldn't report any link types.

Testing-hints:
Check 'ethtool <iface>' if you have the right (wrong?) firmware.
Without this patch, no link modes will be reported.

Signed-off-by: Alan Brady <alan.brady@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_common.c