From nobody Mon May 13 09:51:47 2024 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 4VdFBW5rH4z5KdK8; Mon, 13 May 2024 09:51: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VdFBW5KXwz4gc5; Mon, 13 May 2024 09:51:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715593907; 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=OMr2f8GgMP56izcSCsJAQSbkhGE1rap10COo4LsqN1g=; b=j5MqHfrDds5A2VcVLk8LBT7lR9hug6wLLLABlOKDXWfYI06dthKy0/BgNK5WIq627D/i1A KKj5QzS5HcHf0HX52zJK78y8J9x3CCmr7rcRTQNjKr0d+nlOOLsnEZpwKbIzuriqnb+8Q1 BEaIRF3pbRtPDzQDTgKpIsorqEWsjbpyDWDzFG+Zxgz3jrAikea6s/rWEKF0Abdiudnxvi WkoZRn0x0H0JjWiqMjOAx4BGbUUxtnf9RM1ilg7BYmXMhmy6efVgHeoKf1G1TaC4gPYpPP ge4Q7BXAxWRNFdv0XFxXzyGUJvoEvN7rdGKi+TwhikRaJiR311PS7EVMewgQkQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715593907; a=rsa-sha256; cv=none; b=MsL7jDLCmFaJitxhjIMio+m6ohLEuvOJLAvPZqIhEfjPKwhnYykhEWiNII7TrMHOGE+ylY qJO/KHpD85hzpIhf0H426Y5chGYw7orF5HWb5tgpdQfTt4OKTbCQEm4FSq/JmUr6Qv7Knk 5K+qr+3Sm8a4xBvV4kmcnTziptDP+vKx7nOnpvQ+mLu/m+DKZ/odFd5rCqtycM4yV+CX1q uKJQ7kWsjbcmQS3oID6ZmQl+2JAaEcvV8xgoP2hqBSEUaX9cDfrt4nI4E0163xvt3+tjbC fQZSX0VCidxw6bJX3jFeSHZlgsAzxGyGxbXgbgt+fhiwczHp6//ihh7nV7np8w== 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=1715593907; 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=OMr2f8GgMP56izcSCsJAQSbkhGE1rap10COo4LsqN1g=; b=nSzOXK0hFMIy3825Uz5Eoz8VLm1zlfcVwXsqMWgRfgO00uTzOKE5Ak+vBEqiApsHkNQB59 HOZdlouOgezjY12oW/HWA8naYjTPvHJCsuOIU5p9/Cinv8hCnl8gNsER4XhuAfu0mMmvM8 4c811ymxxu/Zi9K9iJEinTo9kjmNBvvovVRCOd1PUNBmRCwkOJ5bwbsspRwTD030/MvaeW 4GwtGQj5iI7qeAXzafeBo0fW2GdSRkzzn65OPxzxCSxaqssAhqXvLrVXTGp54mfEUr+uzA WacR3jsfHUzUxPYVnQjN5d4YZcE8oKPhMdEEaDXIS7M+/Jpmg7X1fNtdz2tDfg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VdFBW4tsFzjy7; Mon, 13 May 2024 09:51:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44D9plXf036814; Mon, 13 May 2024 09:51:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44D9plKq036811; Mon, 13 May 2024 09:51:47 GMT (envelope-from git) Date: Mon, 13 May 2024 09:51:47 GMT Message-Id: <202405130951.44D9plKq036811@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: ddabe1d3c515 - stable/14 - mlx5en: add diagnostic in one more case of failed eeprom read preparation 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: ddabe1d3c51556c84f830b0203204c55b495e57b Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=ddabe1d3c51556c84f830b0203204c55b495e57b commit ddabe1d3c51556c84f830b0203204c55b495e57b Author: Konstantin Belousov AuthorDate: 2024-05-05 07:09:07 +0000 Commit: Konstantin Belousov CommitDate: 2024-05-13 09:51:29 +0000 mlx5en: add diagnostic in one more case of failed eeprom read preparation (cherry picked from commit c097967b9af946cf46246cce5adde53f7e955ecc) --- sys/dev/mlx5/mlx5_en/mlx5_en_main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c index e1dbd02fcf3a..962705e6d258 100644 --- a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c +++ b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c @@ -3674,6 +3674,9 @@ out: /* Check if module is present before doing an access */ module_status = mlx5_query_module_status(priv->mdev, module_num); if (module_status != MLX5_MODULE_STATUS_PLUGGED_ENABLED) { + mlx5_en_err(ifp, + "Query module %d status: not plugged (%d), eeprom reading is not supported\n", + module_num, module_status); error = EINVAL; goto err_i2c; }