From nobody Mon May 13 09:51:23 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 4VdFB36q5Mz5KdV4; Mon, 13 May 2024 09:51:23 +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 4VdFB36MvNz4gBJ; Mon, 13 May 2024 09:51:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715593883; 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=2Ilo4ELZYwIIKNbU3YcObwBl0hh5rtu/zuuY4qBkmZ8=; b=eKaAR7xnNNmZ9FG3KtaTIED8F2lATmPApsamO7cEVbwGHGiYnsPp6CfAHDmlVq2vT4uvpS q9HBoEJGP/rWRNH3GGKONMjxKPpUhxPVWWhB+DJzcvqPyGk+WF4hfYUsJTGieOajlbfIPf 8uhMcnliNl2jV/J+1G0K/AVZfrMhql6qjF8Av6KHXKNshHL1HO/kQyOCRSfFw3pfu4oAtZ nWfRxA/VFL4BdieYRiV9gvCx9NnyAxss3JQaLzDMdfXu5Q2nvR62n4kBYFh9FbSSDUSGiP xnmSOC6HCUJ/itkdA9wEJGO9dmxVYWt9uWZ1r0HS4PZxL07ubQlW28yfBhng1g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715593883; a=rsa-sha256; cv=none; b=GosUA41VJxKsflyva2jfJDUpleenvs/5K3iUie3c+pisrcUrtyT+GXXixkvVhWMcYn9/Pc jVWwoYg8RVZDvdVrcj2nHnuqekzUna3hy7PpFPApDKnj/hmUjq1ZzHuzLJo8tNhHLmc7R7 i7B0Dkyt4OCFaXk+sBL9waE+0WMOVR5hoEGtNXRJvju7xcsokMwU/bCn8CKYL4GRH1u0xC OmoUMNCWKg+Ib42Gc5LhINdwhTcxEfWwupYc4V4wLaBoQzdb59IBpePWbJNYsj+B5yBAqw U3UWXQpR6vfx08vxthUlWmitXxhE6wIAgmlRbue5CgHrVZYsn1CyIuepLdEMxw== 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=1715593883; 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=2Ilo4ELZYwIIKNbU3YcObwBl0hh5rtu/zuuY4qBkmZ8=; b=hQr80hpuK6rRgBPkTYS+sn5jaHjaznSNMDScQUupSjeyivGVeuqkNxVvVAOvMc8vonHlK9 fuDWaNw2QgpxUhcsqeHbjb9KZicmmiH6gSIs03fsYA30skYNk4T2dOST8E7QFzaSNIIMPZ PBZBiYMYb3pxjQb1piew07Tjen/dVZ41NSYwCa48na6vqeKdwA0K885PXQcvMScBAFKSxk go8B9Wq7caIQXFO3ZnamLNGPXR6C2hF/OD39mM+ItlZIxak4qRLsXIXowZqQBjMOL0BRKS +uFpF8ydTDCLi3Xs0wqflQu35x9I/7mwGxMbadEgKa2m4ZLyNdn6qhbXJRRXSg== 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 4VdFB35ztjzjp7; Mon, 13 May 2024 09:51:23 +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 44D9pNUP036624; Mon, 13 May 2024 09:51:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44D9pND3036622; Mon, 13 May 2024 09:51:23 GMT (envelope-from git) Date: Mon, 13 May 2024 09:51:23 GMT Message-Id: <202405130951.44D9pND3036622@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: 9877b9bea5b0 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 9877b9bea5b0857bfdf0b7eeadbd53d227b651bf Auto-Submitted: auto-generated The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=9877b9bea5b0857bfdf0b7eeadbd53d227b651bf commit 9877b9bea5b0857bfdf0b7eeadbd53d227b651bf Author: Konstantin Belousov AuthorDate: 2024-05-05 07:09:07 +0000 Commit: Konstantin Belousov CommitDate: 2024-05-12 01:18:13 +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 75786d313fc9..fb1c8ede424f 100644 --- a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c +++ b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c @@ -3642,6 +3642,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; }