From nobody Fri Aug 7 14:02:17 2026 X-Original-To: dev-commits-src-main@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 4hGm6y0QH5z6n833 for ; Fri, 07 Aug 2026 14:02:18 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hGm6x72kYz3NDk for ; Fri, 07 Aug 2026 14:02:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1786111338; 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=VAmQelqtlqOybkQgjo9TEkNEyF7EGt/0SKF0RHabH0k=; b=s8nsMdyOIokeemNl0/WNo76iEGHlDDyKzn0v8zwl1QSckHY9fvwux7OzDls+1v0+J0oE3q 5YKSQOyuJX7LuYFqvDPuYU+xWWNmDOqy3qIW1JvF4W1f0v2s5LQT9RiXvC+sdna0WQ5CYR e8dnhjAfJj3kZmBIPCaHwwJoODgzKjrcLYW2/KPcOQlKsWLawjIjc+5gQMC3BkjVYW/fq9 EWJAWIv1J/e92/lZa5C1L27iXynlBvvjh15YPv9CQkyWpGMHTUxad9fj1Mf3snRpNWlP4T pMMAl/Y1dR+u4AZWzy308ZpnCr8Dz8Wcs/3dl9XLPIZCJxgayDBlhBSzJub4MQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1786111338; a=rsa-sha256; cv=none; b=nXtniApcVYvnTD8X93u1u9GzGkEKVByp48IZ3acGv0kK5hCCMf/imfRLefazKCvDLfeXBa DRZy8nOHw7PhrDKgiFv3EnImaDoHHdbfNLgKslWrMHkVGKqDHbPe47gxb973GlNrXul5b4 GtANBKAnwKVaYfAw6W/cbcGJZOb2WdiCEALL10gXaPTnjUe8JmXQOAqzmMAPDqsn/8Y9MF 4xPkfwkgPHpyom100E8odic45NgYsuXL4UfHX2HBmF0JxLsf+TQ22dxtY2pbeMeblaD6Gy ZKxwf6SGEhgXNenFPrpN0xlHdTXwJchD22VzUibq5fLHkOwLKHt/pnkXDlikEQ== 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=1786111338; 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=VAmQelqtlqOybkQgjo9TEkNEyF7EGt/0SKF0RHabH0k=; b=rI5J2e4bLWrzVZtUPZKWa3n3G8yuII18JSNDx0rxSjny36jSzu2oJVVbEoNLLuE3R7GdM6 SS58up2olSAmacH2GMXg4bbq4nVXoSOIc6SPkqxslDqstVbteDt2qSVOJFU/q5pTud5ijd BDMeQfneaP9+1bS+IjpZsbJ39CHLkMGj1Mm+ZxrsjQ8JQuT4lVXtHGAJk7fMygVAxE+DI/ M765gP1q3auki3tipsEs/npo30IPAoUU4ooEFhEClml1Ikf/h6FM5413cY+EywZEDmKVFG Xjq6o9DjadNmjjnIIBjtfEFZcw5vxD6221hfK16NuPgJKimKLG8JsWLU94UZrw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hGm6x5zjHz18T0 for ; Fri, 07 Aug 2026 14:02:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 43380 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 07 Aug 2026 14:02:17 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kevin Bowling Subject: git: 545779a99290 - main - ixgbe: Re-enable the SFP laser during initialization List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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: 545779a99290b7b7d94dece6c096ce230be91ff9 Auto-Submitted: auto-generated Date: Fri, 07 Aug 2026 14:02:17 +0000 Message-Id: <6a75e569.43380.241c6341@gitrepo.freebsd.org> The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=545779a99290b7b7d94dece6c096ce230be91ff9 commit 545779a99290b7b7d94dece6c096ce230be91ff9 Author: Kevin Bowling AuthorDate: 2026-08-06 08:21:35 +0000 Commit: Kevin Bowling CommitDate: 2026-08-07 14:01:43 +0000 ixgbe: Re-enable the SFP laser during initialization ixgbe_if_stop() disables the transmit laser on every 82599 SFP fiber port, but the iflib initialization path did not re-enable it. Re-enable the laser before deferred SFP module setup so interface reinitialization cannot leave either single-speed or multispeed optics dark. The hardware wrapper is a no-op when laser control is unavailable. The placement follows Intel ix-3.4.39; this version deliberately applies to every SFP port affected by the stop path. MFC after: 1 week --- sys/dev/ixgbe/if_ix.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/ixgbe/if_ix.c b/sys/dev/ixgbe/if_ix.c index 519c82304f54..96188ca7ef7f 100644 --- a/sys/dev/ixgbe/if_ix.c +++ b/sys/dev/ixgbe/if_ix.c @@ -1836,6 +1836,8 @@ ixgbe_config_link(if_ctx_t ctx) sfp = ixgbe_is_sfp(hw); if (sfp) { + /* ixgbe_if_stop() disables it on every 82599 SFP port. */ + ixgbe_enable_tx_laser(hw); sc->task_requests |= IXGBE_REQUEST_TASK_MOD; iflib_admin_intr_deferred(ctx); } else {