i40e: Fix for ethtool -m issue on X722 NIC
authorArkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Wed, 6 Nov 2019 14:24:04 +0000 (06:24 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 9 Nov 2019 00:10:51 +0000 (16:10 -0800)
commit4c9da6f2b8a029052c75bd4a61ae229135831177
tree8bc3bcab5f66525cada7b9aa7631b7fcd6425275
parent4eda4e0096842764d725bcfd77471a419832b074
i40e: Fix for ethtool -m issue on X722 NIC

This patch contains fix for a problem with command:
'ethtool -m <dev>'
which breaks functionality of:
'ethtool <dev>'
when called on X722 NIC

Disallowed update of link phy_types on X722 NIC
Currently correct value cannot be obtained from FW
Previously wrong value returned by FW was used and was
a root cause for incorrect output of 'ethtool <dev>' command

Signed-off-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@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