i40e: Fix PHY type identifiers for 2.5G and 5G adapters
Subsystems (2)
PATCH 1/1 i40e: Fix PHY type identifiers for 2.5G and 5G adapters
Unlike other supported adapters, 2.5G and 5G use different PHY type identifiers for reading/writing PHY settings and for reading link status. Introduce separate PHY identifiers for these two operation types.
Fixes 2e45d3f4677a ("i40e: Add support for X710 B/P & SFP+ cards")
Signed-off-by Dawid Lukwinski <[email protected]>
Signed-off-by Mateusz Palczewski <[email protected]>
Reviewed-by Aleksandr Loktionov <[email protected]>
Reviewed-by Michal Maloszewski <[email protected]>
Reviewed-by Sylwester Dziedziuch <[email protected]>
--- drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h +2 -0
@@ -1568,6 +1568,8 @@ enum i40e_aq_phy_type {I40E_PHY_TYPE_25GBASE_ACC =0x24 ,I40E_PHY_TYPE_2_5GBASE_T =0x30 ,I40E_PHY_TYPE_5GBASE_T =0x31 , +I40E_PHY_TYPE_2_5GBASE_T_LINK_STATUS =0x30 , +I40E_PHY_TYPE_5GBASE_T_LINK_STATUS =0x31 ,I40E_PHY_TYPE_MAX ,I40E_PHY_TYPE_NOT_SUPPORTED_HIGH_TEMP =0xFD , I40E_PHY_TYPE_EMPTY = 0xFE,
Signature · 1 line
2.17.1