git: 6739fd94aaf1 - stable/14 - ixgbe: Add support for 1Gbit Active DAC links

From: Kevin Bowling <kbowling_at_FreeBSD.org>
Date: Sat, 23 Nov 2024 06:19:54 UTC
The branch stable/14 has been updated by kbowling:

URL: https://cgit.FreeBSD.org/src/commit/?id=6739fd94aaf19640b0efaecc3ed7a3989601ba77

commit 6739fd94aaf19640b0efaecc3ed7a3989601ba77
Author:     Kevin Bowling <kbowling@FreeBSD.org>
AuthorDate: 2024-11-20 00:24:55 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2024-11-23 06:19:44 +0000

    ixgbe: Add support for 1Gbit Active DAC links
    
    1Gbit also emperically works on Active DACs.
    
    Sponsored by:   BBOX.io
    
    (cherry picked from commit e38f9257c3fac5cb5a62f62c424a976446ae1220)
---
 sys/dev/ixgbe/ixgbe_phy.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys/dev/ixgbe/ixgbe_phy.c b/sys/dev/ixgbe/ixgbe_phy.c
index 218a9dac3b78..ea815c6c88e5 100644
--- a/sys/dev/ixgbe/ixgbe_phy.c
+++ b/sys/dev/ixgbe/ixgbe_phy.c
@@ -1437,7 +1437,8 @@ s32 ixgbe_identify_sfp_module_generic(struct ixgbe_hw *hw)
 		   (comp_codes_10g & IXGBE_SFF_10GBASESR_CAPABLE)) ||
 		   ((comp_codes_1g & IXGBE_SFF_1GBASELX_CAPABLE) &&
 		   (comp_codes_10g & IXGBE_SFF_10GBASELR_CAPABLE)) ||
-		   (cable_tech & IXGBE_SFF_DA_PASSIVE_CABLE))
+		   (cable_tech & IXGBE_SFF_DA_PASSIVE_CABLE) ||
+		   (cable_tech & IXGBE_SFF_DA_ACTIVE_CABLE))
 			hw->phy.multispeed_fiber = true;
 
 		/* Determine PHY vendor */