From nobody Tue Feb 18 03:03:14 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 4YxkqQ355mz5ns4b; Tue, 18 Feb 2025 03:03:14 +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 4YxkqQ2S5Yz3GTm; Tue, 18 Feb 2025 03:03:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739847794; 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=yAcFZtEzCA2QLlkp7op11vXDpROPj303ojrntlds66s=; b=rFZkYurpFBVUsUrDIy7oSStJr8SxW6Hq3zHBkSd8ZmzNiF5AowOjsKMEgoJ8ez59wFRjlA Q++1apbnS9jhnD78pS1pudb3sOPKignoIg7VtJj0sTvyI6dzLhQy5RYkehfXFDeCT+lG7Q WlrN2EFBxZbD7t2cDM58Zy0kq1JGWHZg4kvK5oSrRGfI0HzEse0e9bkv+boyJlNySPxVMu VHzMFyjDAtQE4Ymo8YCX7wDoRu3VsJFH34kodajX/ntfayk0ous69BB8UwAhI4LHmflOsf fJegTSiTFs0QLaAus1+KlHJRtQps4z+xYxJIZi50qkJPRZX1HFXUOOoLKV2+bw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739847794; a=rsa-sha256; cv=none; b=bOArK0NHpBid7fR6xXRCIHZQfv85Z1Iwl6m5DUppiq4t+lFJeoRNoBqX9dvEyZ8QfEgMx3 0GWxJzQBry076BmWupAvHs/EBM7Mop0gN+DHQMfwH/Hls5iBoKlawKxrX5psLIOEk4ZaF0 V9LpByalUKwKKjEDZT74oFYd6n2oYN8GtOmVD4qVEgHb24+hpjP3E2JmyvQfGufeco868d SsZOq/6VMUvm7lFYvbWFr7BQ4IzjofudJZnYF+Z3OKbqjnJCfr8qZDXJ3NWKnIME51UqCq 2qwPrlJbjBRlJ4CDUphiCiDYGTznF4+NsYJouMs9GgPgLlo8LPNoilWG44rang== 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=1739847794; 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=yAcFZtEzCA2QLlkp7op11vXDpROPj303ojrntlds66s=; b=yxGNs7u9XrGf9YbVxVp0dIUcbhqJjlQXpDGqIM0zy2XbgsObCgerdJz630XxTfqJwEaADY bmtvPadj6sZAQBPeiNP9FshX7+EoWsdk3M1Oa41EEICNQGW+HX37McJJfAcTVb8fIyMs33 iAgGyqDMLPRCdQlt4FYP5pKxmVtc4pQ1DYsVstUe5mhfL4IVoUyIQ0RjpXlkuKjMmD/qJG mIh8rA8Opx+27yWO9zTEeEw09AbzS27to2VlcIAWVJk0S707qZWaAqaL7RLaSROWImKhBe kkmfJsE+CtwmEGihogJBzWPfDHqgPqV8y5/DpkxoVhNLO5dO7DrmYb8221CTEA== 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 4YxkqQ1tmzz11L9; Tue, 18 Feb 2025 03:03:14 +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 51I33E8o069606; Tue, 18 Feb 2025 03:03:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 51I33Ed8069603; Tue, 18 Feb 2025 03:03:14 GMT (envelope-from git) Date: Tue, 18 Feb 2025 03:03:14 GMT Message-Id: <202502180303.51I33Ed8069603@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: 24491b4acce5 - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: 24491b4acce5e244ff87fedbd873fc29558762b2 Auto-Submitted: auto-generated The branch stable/14 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=24491b4acce5e244ff87fedbd873fc29558762b2 commit 24491b4acce5e244ff87fedbd873fc29558762b2 Author: Kevin Bowling AuthorDate: 2025-02-10 04:02:17 +0000 Commit: Kevin Bowling 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; }