From nobody Tue Feb 11 03:38:15 2025 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YsRx369chz5nKLw; Tue, 11 Feb 2025 03:38:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YsRx357Ksz43Dx; Tue, 11 Feb 2025 03:38:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739245095; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PIxJcR9Xd5MlaPIrwQlbI6RMvy2yIDFCRbtAc709oMw=; b=kVBXus/BwF4Ze/cSrFhufalQOnn+6Fa5RgVpS4P710ygQHlZpDEc9dZCDPsbKZvoKlaoMj lOPm8lEzWBoH0PwWfWaRJw++zpZXgHtKKl5LtcvoGag1FtROlY50lrChdzfOgwgDgYYVNg N7bxHeSO9utuw81wdcBdSJXTL9/wNOL3TsPe26Y+wLSEyRgXXReislaiYMn/nCHPcTsX4Q rsuyWG2HgSglCDjb9anVXcrW4DeNFLPb/okaNQorSXDuTg7uCkhYeAb5E+NPLFY1I+V5ZY hh947tkYNTfMLfQRQo0SYd6qOOofOBbAArFG5rA16DpwhG+XkjH4i3R2dDzFfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739245095; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PIxJcR9Xd5MlaPIrwQlbI6RMvy2yIDFCRbtAc709oMw=; b=eRqH2kXBbuuefu3h2hBFqXH/czTwujrJhCCn0k9DQLd0j9O1PauxE87oliuAVL7hDTPasf fR6c4DC3rSDAkAVYx2Sq9F3ZKUsMxiF+ZeWUMUFxda5AFTVFynr/xXAX4g1DTTt1+l4YSd Rf2GqZaS87mho/hJqcteM5RAuRdWWgLZtw0LOp9SaYmOxtnABRLAWwiWCi2XF7JWJar5QK fZKZhiI9KcU+5y/fyzOmvdGNWCTMWa3GX8ShR8jqNZijhjSXQHbwOEIdE6JApBGO9pfXW3 RKwEZLw9P8Mv7NQIjEUzQ0UwEq9iYC9E2U3S84GEuNkPr8xgxSJQTDypLGEYLA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739245095; a=rsa-sha256; cv=none; b=L5ohWU0qSHVenJYjiYN2pHOocnqdDZHTFObp7ZCZFh/3NP0wMRJcR/hUIUQ3xOOZwh7jdJ 3CQm/jwAm6IbnyWaVBxpHwTHZY4oJjpHgekFCEFmtMQqZFbLUSYoU2wkOtN6cYB68QHfyp hethSvGu35Ty2n7Dv59is28Q98rMm/6svtGPedsHveoqq442N3fYXobOMwEtkdqqkmsfdK FRu4sCPjMAw1TO0iw3nJuIL4A7ecJQaX+/US7dJkABcXWJSs3Bt/Vp3ktejshpawl8HhMR d/6p0AqDJwcPe8INr0tK7vCJpc6hQFub1rhhyh01AcS2PI85nrbc++Mc0nzJDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YsRx34gtTzw7J; Tue, 11 Feb 2025 03:38:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 51B3cF0B057312; Tue, 11 Feb 2025 03:38:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 51B3cFYJ057309; Tue, 11 Feb 2025 03:38:15 GMT (envelope-from git) Date: Tue, 11 Feb 2025 03:38:15 GMT Message-Id: <202502110338.51B3cFYJ057309@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kevin Bowling Subject: git: 183621655613 - main - ixgbe: x550 support for 1000BASE-BX SFP modules List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kbowling X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 183621655613bcc97e4ec7d22adbc829347ed426 Auto-Submitted: auto-generated The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=183621655613bcc97e4ec7d22adbc829347ed426 commit 183621655613bcc97e4ec7d22adbc829347ed426 Author: Kevin Bowling AuthorDate: 2025-02-10 04:02:17 +0000 Commit: Kevin Bowling 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; }