Skip to contentSkip to conversation

ixgbe: add support for QSFP phy types in ixgbe_get_settings()

PATCH New Emil Tantilov 1 participant 1 message Nov 9, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c |    4 ++++
 1 file changed, 4 insertions(+)
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c +4 -0
index 1ed4c9a..e10d197 100644
@@ -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: