Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 987e1d56 authored by Emil Tantilov's avatar Emil Tantilov Committed by Jeff Kirsher
Browse files

ixgbe: include QSFP PHY types in ixgbe_is_sfp()



This patch makes sure that QSFP+ modules use the SFP+ code path for
setting up link.

Signed-off-by: default avatarEmil Tantilov <emil.s.tantilov@intel.com>
Tested-by: default avatarPhil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 61aaf9e8
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -4175,6 +4175,10 @@ static inline bool ixgbe_is_sfp(struct ixgbe_hw *hw)
	case ixgbe_phy_sfp_passive_unknown:
	case ixgbe_phy_sfp_passive_unknown:
	case ixgbe_phy_sfp_active_unknown:
	case ixgbe_phy_sfp_active_unknown:
	case ixgbe_phy_sfp_ftl_active:
	case ixgbe_phy_sfp_ftl_active:
	case ixgbe_phy_qsfp_passive_unknown:
	case ixgbe_phy_qsfp_active_unknown:
	case ixgbe_phy_qsfp_intel:
	case ixgbe_phy_qsfp_unknown:
		return true;
		return true;
	case ixgbe_phy_nl:
	case ixgbe_phy_nl:
		if (hw->mac.type == ixgbe_mac_82598EB)
		if (hw->mac.type == ixgbe_mac_82598EB)