]> git.itanic.dy.fi Git - linux-stable/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Dec 2019 21:34:04 +0000 (22:34 +0100)
commitdc2ccb9b36511d213ba15ad31d641fbb439a10e1
treeb40993e7f9db176571a2ad8b2fc41f75c10c328b
parente3625adbba38042a56957721488ac53bdbcdddff
i40e: Fix for ethtool -m issue on X722 NIC

[ Upstream commit 4c9da6f2b8a029052c75bd4a61ae229135831177 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/intel/i40e/i40e_common.c