The branch stable/14 has been updated by kbowling:

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

commit 24491b4acce5e244ff87fedbd873fc29558762b2
Author:     Kevin Bowling <kbowl...@freebsd.org>
AuthorDate: 2025-02-10 04:02:17 +0000
Commit:     Kevin Bowling <kbowl...@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;
                }

Reply via email to