From nobody Fri Jul 31 12:00:46 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 4hBPmG5RPcz6mdS2 for ; Fri, 31 Jul 2026 12:01:02 +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 4hBPmG1VbYz3H2N for ; Fri, 31 Jul 2026 12:01:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785499262; 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=tRrqy6Xg0XW5Eny/pOQxxegXRB6K/+Ghx6YQxhDltPZLylTslkm7sUWf3JfVVFnPrNQniS BGzZHm37Se4HJJ04RUXJu0XPz8VYIJz+Nqi0V2QlWkB8k3eFR8Xlfigm4LXXFun8tvWgBj phXMkb6MUWlWkKVvgJ1bMA4C6MI64ENm+ogcf9x3kK2uredx2WppuEjcjb0wCcTKp/0+GK M2JUB/5xvM5i35229vzm9Gku/CxPwDH3FKCfJyIK4NrHOYAdKlMlH6OnJOS0L2H52967Bw wd+Gff/s/x5Q0EQK39v4zch99A+sl36Nw11ZDPOfCEp1iSNaFh2stdVcsDNIEw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1785499262; a=rsa-sha256; cv=none; b=JdY4kLdv7Jb4BH7sLkEaOTYveprB1fBMzf7c4PVPXbQ7AP29W4Z4Ee07fbZoAlSEdX8lsV obvx50dWQRiuOynqYxjfEFlWKfZHgc8g9YjA6nLrBWc9bIyt/oZjPMgxQx8Gm3xtLy1hFJ srdxjFZlhqmvz6ULxQf6Jm0MHlDQ5qznAPxeIZYtgdBzUAMFo3rkb0mNQBlKRamgrdDt7f NshrsHFy1lAHU5+LoVoUX+hjQW17ViuF4UFd/JfO4f64xpZe9Vc6dDRLPPM0w9QtujKeaI i2ylnfFQebVdMSLELqphDKDgSaIK4IoKCYT9sKHQ5khdCf97RDRQC2QIHhUIxA== 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=1785499262; 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=GkycjxMIBe7RbOCgbLrICU9za0YWIYnGj1o6yKpT9uSO0wwPrMLs9u6Kc9qmzh0P5viHDr OsKULChwpZFIS9lj93tFFnv7bxq9eICvdqvwT/Ya9NgpBnAyxMG0iR044ETk61l8s9LSmy kzBtkRhYcDfvAxS0695szBAsCfdQHyGLl+J1zhEpltgtU7ohoaC69kMsdqVDE6Tphc3hHN USt8pD0pQckEu1H05emWPNkMSnOAnErovgYTydN6mxWdFieach7qh7IAC6VFf9ggvF9Rfk zOWOe2Z+JxuQ2OfSA73qKfV0A5UUkxkjV/SWTNVjOJAMae3VMU1rdHePNSzzTQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hBPmG0RRBzy6T for ; Fri, 31 Jul 2026 12:01:02 +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 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/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;