]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit33f2fada174a98484f4c475edd3e2d5caff14043
tree8bc3bcab5f66525cada7b9aa7631b7fcd6425275
parent00cae159106f6276269acb3d5eb5dce3d92909a1
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