ixgbe: add support for QSFP phy types in ixgbe_get_settings()
Subsystems (2)
PATCH 1/1 ixgbe: add support for QSFP phy types in ixgbe_get_settings()
Add missing QSFP PHY types to allow for more accurate reporting of port settings.
Signed-off-by Emil Tantilov <[email protected]>
--- drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c +4 -0
@@ -225,6 +225,10 @@ static int ixgbe_get_settings(struct net_device *netdev,case ixgbe_phy_sfp_avago:case ixgbe_phy_sfp_intel:case ixgbe_phy_sfp_unknown: +case ixgbe_phy_qsfp_passive_unknown: +case ixgbe_phy_qsfp_active_unknown: +case ixgbe_phy_qsfp_intel: +case ixgbe_phy_qsfp_unknown:/* SFP+ devices, further checking needed */ switch (adapter->hw.phy.sfp_type) {case ixgbe_sfp_type_da_cu: