From nobody Sat Aug 8 00:38:30 2026 X-Original-To: dev-commits-src-all@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 4hH2F25Rdlz6mYRY for ; Sat, 08 Aug 2026 00:38:30 +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 4hH2F235mgz3mWg for ; Sat, 08 Aug 2026 00:38:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1786149510; 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=HpghmXOPfS57rb2YZVO0yB+p407QL36QW6N88ahZ2ew=; b=kr3t2A25t3K4sdzuaO5hHip9MkK4DrFL+Mi5SskKGW52VHm8+ehUwqPGBGUptsVVmXzB6t 2hCEyacieehP5zAFDMB6yQjC2M1H2oO9bS328hiY9rMJXi/296R6QAbxw2UwBW96s8af97 d2DA/8/O2gWedx5RS/BWO67nCoPy2f0MOR6QxS/qg0wfEtVcEt48Oa1U08PO2NefKBII5q dhdYiaW5Y+mf6EvGwTtlpB00EHKZJiFH5I93WqWSkuScMvuRcegmwGn1jGTMVoU7NLWY4G 3Sp1MfcE387iMKcoJJRs4PJsP4G4l+Rut7yEG6b2DgTerVW0UkO972fjRk0v7w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1786149510; a=rsa-sha256; cv=none; b=BiyxR1giq4sxOlAIegog953y93H/fctV68DET9QdsgZbcqgvAwwUB3FRSogf2zNuolPRjW nKC4fy1eZ0AKemmsaIFEx5J1C8iO0eNG6QapOas6Vp5AsQxQQj1HdyTj24ZBCAjrhl986B MznxChE+s9EDTShtmg0nRJsZuw36rW/gTZmWN9K++gAQqUncJNrwKFXy7oOnrEWxR2J4Bf XXk598o5GCG55VVi55zL4+EWXdoDtoCk0vTm333xHAxdyTs/iU3vluDZSdt7sPuzBFWMac t+8utvxtxykt3aMD9DBxOyT4QFlrxqvF4BquLaaxvoTOUwBlhUECC7p/y51JXg== 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=1786149510; 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=HpghmXOPfS57rb2YZVO0yB+p407QL36QW6N88ahZ2ew=; b=tvZvbrxqx+rShTZRSaTiVf14hfSmX3Vek5dBY1WzkH4ieESls5Pj9cTpcvYlFrFXh1oUM3 iX2koCBvN1E7SmWDfLCSDmZEQjxwg4p8OMB6HWqs9pkd49UglRhg5/2LaxrX1fgP0gS/ND qeZDPC0oz7UReqz91tS8qUpwG9o923e4VCgROiKw8XeM6DHyo0MnSOAfk9XPNJNUpT4kC0 HfLNZFHbRug6DhrU5KmmaKzbkx6jugeHGb4B64mOMQOLwVwjdG7dTbQ4dz+5r44MT6jEmQ ZfEOHsUCQc1ZiPrwwD/gGOyffnf+lNWXmxouy5qhq/oUVhwk+FqcTM58kLCdgA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hH2F21CFjz4x for ; Sat, 08 Aug 2026 00:38:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3fa8a by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 08 Aug 2026 00:38:30 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kevin Bowling Subject: git: a00379eb1872 - stable/15 - ixgbe: dispatch PBA string reads through EEPROM ops List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/15 X-Git-Reftype: branch X-Git-Commit: a00379eb18720b2922f6e003a4bcd915cde47e00 Auto-Submitted: auto-generated Date: Sat, 08 Aug 2026 00:38:30 +0000 Message-Id: <6a767a86.3fa8a.51e2ccfb@gitrepo.freebsd.org> The branch stable/15 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=a00379eb18720b2922f6e003a4bcd915cde47e00 commit a00379eb18720b2922f6e003a4bcd915cde47e00 Author: Kevin Bowling AuthorDate: 2026-07-28 11:25:48 +0000 Commit: Kevin Bowling CommitDate: 2026-08-08 00:37:12 +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 (cherry picked from commit 9cf1aa6e68e4b9dd4a77c67b7b902b9221198e7a) --- 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 20c5a13835e0..c4e78a048b49 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;