From nobody Fri Jul 31 12:00:46 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 4hBPlz04Xpz6mdPW for ; Fri, 31 Jul 2026 12:00:47 +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 4hBPly5tHSz3GqV for ; Fri, 31 Jul 2026 12:00:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785499246; 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=9dcKW63HsAwU/Is7wc95lh8a6SstSXaXBhnWrShfDVU=; b=WxGBXUS3PlvyVuUOPX+WXeiLHiVmBPuYnvcowhItmyYFX9qak2SOIz4uUXINj8b6j8adQd lVbYRKt5qZ7x3ZzYHNs/RS+nX9pEHEgkk8+R24j1fkFh9YEEQep6kJB0DjiAcu5i3DgpS7 SW+5wtu4Oq16F7+AmzAT/mLI+TdepIBCy1L6/uJ/YMBbKD/gXQZmEHE98N2y0UxzYlGTZU dUQTN/CRuy+pboLh0WKyVoi0c1/1HDMHbwE5MZ41kJRXZ6OJmpPSJSqGwWGxsJDVl81hXN I2aPBWLdqiLobwo0Tw5CSHNm03CaOc+4FLzk0m8UNS5ZgJxh5BePi8wVzJziOQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1785499246; a=rsa-sha256; cv=none; b=bftUpOGHhE6TrbSKL/k6NhNym58F27XdTz2jHhJjDiLUrchLR4VNiwvU52+IdGLj5bwY1N Ax9s6JR/xjhg/1LUdeVeKGLu0qjJVKPNff+LCj145oxp8fjrxaq9v3FSCCPTWlKc3XVHCt rCJNifY4UXUcXszeh2GsDPY24r1QII98WH/LIY1hJ/6a+8wODMb/fWdAFrnfowehh6/sEk xVsKz677PpbzAPGeExLx0pZelMeXR3+6eAVzQm6BusH24XEeBWkAlfAyqrdN5USkHWs9ix m3Y2QH8U1uRt05pOuz1vM5QjiB8JP8BPT3E+niVC9AZ8Gphr0RlxACbsk1qkTw== 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=1785499246; 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=9dcKW63HsAwU/Is7wc95lh8a6SstSXaXBhnWrShfDVU=; b=UYp0EV23JZQKxtwWBG0wmwf6fPnbiHIuhtV9r4IqSk4i6u2FNS3oqmKVM4/qgMDkDcXWbC Z6dl6IMkvFHL3QaHf+Jw4QvG3DDZOsVaZrrUuGqYoazU0LXNytgczex5sWPRPdb/zg+lAC ADTcJy5wrFiPM+HJa5g2S53su22sG+QjVHTukK5UaeXsxvoPwBabHxMHwDWjCbDSRU+cS/ nPP/TM4E/s7koocYie8WZXnuWT150tSG+FE3jjMGk3v1vCtSC3yrgcPC7/6WZ/3F4yguyS ijTbX3DuBymjpE9SRRfd9EmnTmbtb7fKqDZ3oyL4WhCAyaBgtv06w3FiarRi/w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hBPly4nqRzy9T for ; Fri, 31 Jul 2026 12:00:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 417f3 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 31 Jul 2026 12:00:46 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kevin Bowling Subject: git: 9cf1aa6e68e4 - main - ixgbe: dispatch PBA string reads through EEPROM ops 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: 9cf1aa6e68e4b9dd4a77c67b7b902b9221198e7a Auto-Submitted: auto-generated Date: Fri, 31 Jul 2026 12:00:46 +0000 Message-Id: <6a6c8e6e.417f3.61ea48b0@gitrepo.freebsd.org> The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=9cf1aa6e68e4b9dd4a77c67b7b902b9221198e7a commit 9cf1aa6e68e4b9dd4a77c67b7b902b9221198e7a Author: Kevin Bowling AuthorDate: 2026-07-28 11:25:48 +0000 Commit: Kevin Bowling CommitDate: 2026-07-31 11:58:53 +0000 ixgbe: dispatch PBA string reads through EEPROM ops E610 installs a device-specific PBA string reader, but the public API always calls the generic implementation. Dispatch through the EEPROM operation table so device overrides are honored. Initialize the generic operation for devices that use the ordinary EEPROM representation. Obtained from: Intel ix 3.4.39 MFC after: 1 week --- sys/dev/ixgbe/ixgbe_api.c | 4 +++- sys/dev/ixgbe/ixgbe_common.c | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/dev/ixgbe/ixgbe_api.c b/sys/dev/ixgbe/ixgbe_api.c index 3794bb2676f6..a244269be50a 100644 --- a/sys/dev/ixgbe/ixgbe_api.c +++ b/sys/dev/ixgbe/ixgbe_api.c @@ -495,7 +495,9 @@ s32 ixgbe_stop_adapter(struct ixgbe_hw *hw) **/ s32 ixgbe_read_pba_string(struct ixgbe_hw *hw, u8 *pba_num, u32 pba_num_size) { - return ixgbe_read_pba_string_generic(hw, pba_num, pba_num_size); + return ixgbe_call_func(hw, hw->eeprom.ops.read_pba_string, + (hw, pba_num, pba_num_size), + IXGBE_NOT_IMPLEMENTED); } /** diff --git a/sys/dev/ixgbe/ixgbe_common.c b/sys/dev/ixgbe/ixgbe_common.c index a3659cce50c4..5965e1146175 100644 --- a/sys/dev/ixgbe/ixgbe_common.c +++ b/sys/dev/ixgbe/ixgbe_common.c @@ -91,6 +91,7 @@ s32 ixgbe_init_ops_generic(struct ixgbe_hw *hw) ixgbe_validate_eeprom_checksum_generic; eeprom->ops.update_checksum = ixgbe_update_eeprom_checksum_generic; eeprom->ops.calc_checksum = ixgbe_calc_eeprom_checksum_generic; + eeprom->ops.read_pba_string = ixgbe_read_pba_string_generic; /* MAC */ mac->ops.init_hw = ixgbe_init_hw_generic;