Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2025 03:03:14 GMT
From:      Kevin Bowling <kbowling@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 24491b4acce5 - stable/14 - ixgbe: x550 support for 1000BASE-BX SFP modules
Message-ID:  <202502180303.51I33Ed8069603@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by kbowling:

URL: https://cgit.FreeBSD.org/src/commit/?id=24491b4acce5e244ff87fedbd873fc29558762b2

commit 24491b4acce5e244ff87fedbd873fc29558762b2
Author:     Kevin Bowling <kbowling@FreeBSD.org>
AuthorDate: 2025-02-10 04:02:17 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2025-02-18 03:02:49 +0000

    ixgbe: x550 support for 1000BASE-BX SFP modules
    
    Add support for 1Gbit BiDi modules to x550 derivatives
    
    (cherry picked from commit 183621655613bcc97e4ec7d22adbc829347ed426)
---
 sys/dev/ixgbe/ixgbe_x550.c | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/sys/dev/ixgbe/ixgbe_x550.c b/sys/dev/ixgbe/ixgbe_x550.c
index ba72b5d1366e..7f07190f832c 100644
--- a/sys/dev/ixgbe/ixgbe_x550.c
+++ b/sys/dev/ixgbe/ixgbe_x550.c
@@ -1496,6 +1496,8 @@ static s32 ixgbe_supported_sfp_modules_X550em(struct ixgbe_hw *hw, bool *linear)
 	case ixgbe_sfp_type_1g_sx_core1:
 	case ixgbe_sfp_type_1g_lx_core0:
 	case ixgbe_sfp_type_1g_lx_core1:
+	case ixgbe_sfp_type_1g_bx_core0:
+	case ixgbe_sfp_type_1g_bx_core1:
 		*linear = false;
 		break;
 	case ixgbe_sfp_type_unknown:
@@ -1829,9 +1831,11 @@ s32 ixgbe_get_link_capabilities_X550em(struct ixgbe_hw *hw,
 
 		/* Check if 1G SFP module. */
 		if (hw->phy.sfp_type == ixgbe_sfp_type_1g_sx_core0 ||
-		    hw->phy.sfp_type == ixgbe_sfp_type_1g_sx_core1
-		    || hw->phy.sfp_type == ixgbe_sfp_type_1g_lx_core0 ||
-		    hw->phy.sfp_type == ixgbe_sfp_type_1g_lx_core1) {
+		    hw->phy.sfp_type == ixgbe_sfp_type_1g_sx_core1 ||
+		    hw->phy.sfp_type == ixgbe_sfp_type_1g_lx_core0 ||
+		    hw->phy.sfp_type == ixgbe_sfp_type_1g_lx_core1 ||
+		    hw->phy.sfp_type == ixgbe_sfp_type_1g_bx_core0 ||
+		    hw->phy.sfp_type == ixgbe_sfp_type_1g_bx_core1) {
 			*speed = IXGBE_LINK_SPEED_1GB_FULL;
 			return IXGBE_SUCCESS;
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502180303.51I33Ed8069603>