From nobody Sat Aug 8 00:44:06 2026 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 4hH2MW0dKdz6mZ2p for ; Sat, 08 Aug 2026 00:44:07 +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 4hH2MV5X69z3wgV for ; Sat, 08 Aug 2026 00:44:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1786149846; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Vqke2XDr4oRqBIIxEhEXJStWhon5F4dPc3UnONr/ykY=; b=CkjbyW8D0XrorynJB3610g/ZACd7ahes4COMWtPl+/te26BY/J6aV4uamZcwTVV4tNQSsI Ze09x2X4DX1AmgDBAXIQw5CYAYecTEn97GdppwiV5swniO3lVMTYKMQfLpJLH743DpEEhJ rAFIYvD7hMcUcs3cOxaoaS3S8jF5jGK4jRAdN5lAs2U4bqD/FajgJ2mPUVkJPdkyGJq8rk 0Oo7GaDd80aLcQXWt1Zt3eLf8J8YJd0ZRpzR76DHqltZViLUzAENTm0KrlrW+eSarZHU2v TpK9UJIxhS1RlGocXERkaMDe0cH4DQq3KQVQUSb/vd90aZUQnbP6utVpXZLllw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1786149846; a=rsa-sha256; cv=none; b=qOEvAQRL/r81qNruQJpzIYBSSnteBkw4ClxrCdNrDIqC/yN6leUfFfizGwK7hFs9+OYCQc xd16ap08VNE1+Ti2PjaF9ITLpIkLWRSO3sAr3USkxjPHSqI4b6n5RMxbmP7GIExRVhpTyr cgxgp1mpEY3r2pQQFtq0+JCPy6rYMdplw0NznUrN7lwhq1VNrzbe1XHE8n5GzA6nopGuNn 2RfDinbS7D66rgXWGych2GzhswY/GIJ229EZx4/mCGpBmDi9zlZ1wWpQM7aEuBDXuloKfm R7h4N6//zRiUSoVUtNqJL9d8jrSrEm9ZfOYZ0PpE2t4QmOjxbvUmvebJYzX7Jg== 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=1786149846; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Vqke2XDr4oRqBIIxEhEXJStWhon5F4dPc3UnONr/ykY=; b=Yypz5AY3Ce5gDsLZx96HFKXmfiq9GQDzwFPSMlt5raIO5SDJMwKDZwT0OYSGURX+gMDTyf crpNHlmWcy16Y4/l/mUskoo8y31xnwfSlKNzcm6CCflYkFFMVSRlZaRc69MSWaXSU46zj+ ZNUVw/VDO63JW+naTBvd91hnbiJL2R4DBKRZ17AiWq3rKhPWf3nSnO/ETA2biocJWmYITC 1R2NRKdZ4W61MJuhMBwSQFdyLVPh0ALcHkNYw7yN9GcQPsBo6FpCB1kmH5J6hCkCjfa83L etjMokddHq32q+qUarRfm1sns8FRU0v4MnZGSCuO5OISuUXVLrELiO/neauXfA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hH2MV4Smkz19x for ; Sat, 08 Aug 2026 00:44:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 40a81 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 08 Aug 2026 00:44:06 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Barbara Skobiej From: Kevin Bowling Subject: git: fce4d00876e8 - stable/14 - ixgbe: check EEPROM read in 82599 D3 path 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 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/stable/14 X-Git-Reftype: branch X-Git-Commit: fce4d00876e805ef7063141b22ce08b2e97bd42b Auto-Submitted: auto-generated Date: Sat, 08 Aug 2026 00:44:06 +0000 Message-Id: <6a767bd6.40a81.27fa6750@gitrepo.freebsd.org> The branch stable/14 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=fce4d00876e805ef7063141b22ce08b2e97bd42b commit fce4d00876e805ef7063141b22ce08b2e97bd42b Author: Barbara Skobiej AuthorDate: 2026-07-28 11:08:12 +0000 Commit: Kevin Bowling CommitDate: 2026-08-08 00:41:34 +0000 ixgbe: check EEPROM read in 82599 D3 path DPDK commit message net/ixgbe/base: fix unchecked return value Check the return value from ixgbe_read_eeprom() before using the control word to configure link disable during D3. Fixes: b7ad3713b958 ("ixgbe/base: allow to disable link on D3") Cc: stable@dpdk.org Signed-off-by: Barbara Skobiej Signed-off-by: Anatoly Burakov Acked-by: Bruce Richardson Obtained from: DPDK (eb3684b191) (cherry picked from commit a8598143803d8db60568844cae86b0f330e49a1e) --- sys/dev/ixgbe/ixgbe_82599.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sys/dev/ixgbe/ixgbe_82599.c b/sys/dev/ixgbe/ixgbe_82599.c index 50902c6c356d..d23c84743b33 100644 --- a/sys/dev/ixgbe/ixgbe_82599.c +++ b/sys/dev/ixgbe/ixgbe_82599.c @@ -609,13 +609,15 @@ out: **/ void ixgbe_stop_mac_link_on_d3_82599(struct ixgbe_hw *hw) { - u32 autoc2_reg; u16 ee_ctrl_2 = 0; + u32 autoc2_reg; + s32 status; DEBUGFUNC("ixgbe_stop_mac_link_on_d3_82599"); - ixgbe_read_eeprom(hw, IXGBE_EEPROM_CTRL_2, &ee_ctrl_2); + status = ixgbe_read_eeprom(hw, IXGBE_EEPROM_CTRL_2, &ee_ctrl_2); - if (!ixgbe_mng_present(hw) && !hw->wol_enabled && + if (status == IXGBE_SUCCESS && + !ixgbe_mng_present(hw) && !hw->wol_enabled && ee_ctrl_2 & IXGBE_EEPROM_CCD_BIT) { autoc2_reg = IXGBE_READ_REG(hw, IXGBE_AUTOC2); autoc2_reg |= IXGBE_AUTOC2_LINK_DISABLE_ON_D3_MASK;