Commit 7b10da1c authored by Grzegorz Siwik's avatar Grzegorz Siwik Committed by Zheng Zengkai
Browse files

i40e: Fix parameters in aq_get_phy_register()



stable inclusion
from stable-5.10.30
commit e53ff6e59144993af7db78642e30a7d801543ea6
bugzilla: 51791

--------------------------------

[ Upstream commit b2d0efc4 ]

Change parameters order in aq_get_phy_register() due to wrong
statistics in PHY reported by ethtool. Previously all PHY statistics were
exactly the same for all interfaces
Now statistics are reported correctly - different for different interfaces

Fixes: 0514db37 ("i40e: Extend PHY access with page change flag")
Signed-off-by: default avatarGrzegorz Siwik <grzegorz.siwik@intel.com>
Tested-by: default avatarDave Switzer <david.switzer@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatar  Weilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 2d28e69a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment