i40e: Fix parameters in aq_get_phy_register()
authorGrzegorz Siwik <grzegorz.siwik@intel.com>
Wed, 24 Mar 2021 08:58:27 +0000 (09:58 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 8 Apr 2021 17:21:37 +0000 (10:21 -0700)
commitb2d0efc4be7ed320e33eaa9b6dd6f3f6011ffb8e
treed1e920b0e111019c705eb79ae9e19d6ecc69a99a
parent8a12f8836145ffe37e9c8733dce18c22fb668b66
i40e: Fix parameters in aq_get_phy_register()

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: 0514db37dd78 ("i40e: Extend PHY access with page change flag")
Signed-off-by: Grzegorz Siwik <grzegorz.siwik@intel.com>
Tested-by: Dave Switzer <david.switzer@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c