From nobody Tue Feb 18 03:27:41 2025 X-Original-To: dev-commits-src-branches@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 4YxlMf1Tq0z5ntvW; Tue, 18 Feb 2025 03:27:42 +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 4YxlMf0Vyvz3Hvx; Tue, 18 Feb 2025 03:27:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739849262; 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=QaO+dpOiegLb/vxXbeJhJePnIf+ok4KzTPi0LpLCxZM=; b=gsHg/r/bhpMF/Q/dcDOG7WyhmTegdfPIBm3uCv5b9nPWxDVEd93agWtDXdFV5MKM9nzcQ9 ZZtylyu4EaxakDPpYhJq/k9AS1cebt//GnHJJhD5S6kXv1Tv0n6wg/+HqBn8gR3G2gC+XT xWTzPwghL8Re9xqpNCtsOuvQp5Vm2CCn2LL23EgUzxu/2CUGkLEQdTgPFbkX9IitxNLcnc 1+KYJySsZX7laNz6n5ayrpl/QosDuZ19rvTAu8/vsxPjUy0e03UAhjwL3KzsFYZdhG6K0u rkJHvl6Fp5J0TFEOHOpLvf+G/341JJaQFl+jkb5TlaOE+3s0IqbtX2Bv6CnI3w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739849262; a=rsa-sha256; cv=none; b=J6OqZYwGn9Pl6MouiiVJyY/D/T9UopN8RH3UbiU9cuPeTvZQY84MYaYSVFejeQ31mqjRES GDmcGfBHZhQNWg7E+aJtydXblfU+M3fEIsKBLBF/JaGYXoElGnuzibAv7OjNu99PO9km2h j2uWNgDefYhUireowY10kenQTGo4+nnzgN8SQ4VZdCB80AszEJnTfP0FpPnuijHyVS0Lh1 WbruUr7mB6tPihgLScqA3nS+0MQFRfQZ0JomyeKdNPL/ijHgW7mzxRpzvndtzvndpj33qj bMiCKluHdtHTtek/oJ5sJ5hdrawci1HPpT1swj4G6kR1GRG81cstyd6qpD2kYg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739849262; 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=QaO+dpOiegLb/vxXbeJhJePnIf+ok4KzTPi0LpLCxZM=; b=SN7oYayQqCNVd+mNbmyRgAA/9h8bOxxavegu8dlaallQTWCOi/E7veqKyQXVt/1yumtEHR zzVG7TcVdwHqFBKhbmY2IK9QqE3Z4UXbzqOkYUnfxH4+R/R+jL7Qq7tUStxc9AiT49sxg6 cdX38Iv9xRrST7M05Cdz7UDrmQ/ybahDNqJeQDlKDMHcNbnrpQmBTrMdBYqXyBHsLBhahB phlXNCszWnbj9iXKKJ8LdZrHbb2PDq5rnmOxhbzU9ePnMwrwOYORCxWeemCMFGWkLzXf7T pjhpjjfgQu72V1Ro/imbLoL+6YnUT59tP+nT3zrul/hrem91f1Qljys6mdw6hw== 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 4YxlMf03Msz12MR; Tue, 18 Feb 2025 03:27:42 +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 51I3RfY9008619; Tue, 18 Feb 2025 03:27:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 51I3RfPt008616; Tue, 18 Feb 2025 03:27:41 GMT (envelope-from git) Date: Tue, 18 Feb 2025 03:27:41 GMT Message-Id: <202502180327.51I3RfPt008616@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kevin Bowling Subject: git: d22c7294544e - stable/13 - ixgbe: x550 support for 1000BASE-BX SFP modules List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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/stable/13 X-Git-Reftype: branch X-Git-Commit: d22c7294544e8b672c959b7374ee5c0e863af7f4 Auto-Submitted: auto-generated The branch stable/13 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=d22c7294544e8b672c959b7374ee5c0e863af7f4 commit d22c7294544e8b672c959b7374ee5c0e863af7f4 Author: Kevin Bowling AuthorDate: 2025-02-10 04:02:17 +0000 Commit: Kevin Bowling CommitDate: 2025-02-18 03:27:25 +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 2c9ead8fd247..7274a5ccf2ab 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; }