Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2025 03:38:15 GMT
From:      Kevin Bowling <kbowling@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 183621655613 - main - ixgbe: x550 support for 1000BASE-BX SFP modules
Message-ID:  <202502110338.51B3cFYJ057309@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/src/commit/?id=183621655613bcc97e4ec7d22adbc829347ed426

commit 183621655613bcc97e4ec7d22adbc829347ed426
Author:     Kevin Bowling <kbowling@FreeBSD.org>
AuthorDate: 2025-02-10 04:02:17 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2025-02-11 00:44:28 +0000

    ixgbe: x550 support for 1000BASE-BX SFP modules
    
    Add support for 1Gbit BiDi modules to x550 derivatives
    
    MFC after:      1 week
---
 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?202502110338.51B3cFYJ057309>