Group :: System/Kernel and hardware
RPM: kernel-modules-ixgbe-std-def
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: allow-all-sfp.patch
Download
Download
From 32a14b99dfd07a6244abf1de59a30c7156d00044 Mon Sep 17 00:00:00 2001
From: Alexei Takaseev <taf@altlinux.org>
Date: Fri, 11 Sep 2020 15:10:08 +0800
Subject: Enable for all SFP+ modules
diff --git a/src/ixgbe_phy.c b/src/ixgbe_phy.c
index dd445da..0b98ad8 100644
--- a/src/ixgbe_phy.c
+++ b/src/ixgbe_phy.c
@@ -1491,6 +1491,7 @@ s32 ixgbe_identify_sfp_module_generic(struct ixgbe_hw *hw)
}
ixgbe_get_device_caps(hw, &enforce_sfp);
+ enforce_sfp |= IXGBE_DEVICE_CAPS_ALLOW_ANY_SFP;
if (!(enforce_sfp & IXGBE_DEVICE_CAPS_ALLOW_ANY_SFP) &&
!(hw->phy.sfp_type == ixgbe_sfp_type_1g_cu_core0 ||
hw->phy.sfp_type == ixgbe_sfp_type_1g_cu_core1 ||
@@ -1750,6 +1751,7 @@ s32 ixgbe_identify_qsfp_module_generic(struct ixgbe_hw *hw)
hw->phy.type = ixgbe_phy_qsfp_unknown;
ixgbe_get_device_caps(hw, &enforce_sfp);
+ enforce_sfp |= IXGBE_DEVICE_CAPS_ALLOW_ANY_SFP;
if (!(enforce_sfp & IXGBE_DEVICE_CAPS_ALLOW_ANY_SFP)) {
/* Make sure we're a supported PHY type */
if (hw->phy.type == ixgbe_phy_qsfp_intel) {