From nobody Mon May 06 03:15:59 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 4VXml364Hrz5J19X; Mon, 06 May 2024 03:15:59 +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 4VXml35TWsz4MvP; Mon, 6 May 2024 03:15:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714965359; 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=IKXvezQFzcSViTP46FmjjKOdUDQb92v57JCO2h5e2SA=; b=ixHJdFFvj3rduUwMolyXKiYrV5BQnKOpAZeIdiVObbiX3PUayoP+snvczc1CbwOcY3YgT2 30IdSt1d1ICEm+SpkrTXJLvP3jqKMwNXPSP3WUmjRnIXqhSd/mmOrVQW5dKikeiZK6wXTI mYlVLzaA2/65EOkidEMdjNPJXH3LqWfaM3IIqpEgHm6EqwlprrTPVAJ7vCkoyswT+atfV+ cHwC9iuw/5MhnVUT8i3IxikcFTxgU3ovDUG7U4xFuFyIUyCBi+otukjuCtQooRDRYdZYvE Fo6bwpMwCMo5BjrfdoHBEJ+PIRtPCYdYeCeh0N12uJ3rWRSbEKjeCWe6RmdAcg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714965359; a=rsa-sha256; cv=none; b=gRBN4K9fF4NRqeXmu1SV5fG3mQoCPmOKA0ltt/R79FJkdi3S3+g+w7v9Jw13KT7Bdj7R/e zOxdPr/L/UIH1TwKAZoJ3By4nFUhRGfH6obZjuC+yS0QdteD3AZYqh+/bj/NAkf8OUxhjf +GmYes6mAJt39viV8utnsbwCrgc/EW+s0TqNjnROM7aZ0DQnZlHjPQanj4Eh+KwKOtBFXv kkPevDCALcbzUVtIMyNxsidpnjE5TWfN/gy4TNTn69iplrS13rBtdflp3paUhovX5bDIsS U45lTJri+txis0ynNN3Hx6+m3f4h3UULerKb8e9dqLKRMdyZ+3ebHcTXySF2gw== 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=1714965359; 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=IKXvezQFzcSViTP46FmjjKOdUDQb92v57JCO2h5e2SA=; b=SDERbd/NvE9kaikb3GbnngrPXLXwtlUQy1VEewEq7OZ/sYGEkt4gdTE8mbKCtKwYzjJ+jJ H44RhUwm3O1CVS+msGW+6kMJ6s9FvfHpvnLYQX+IVv5NEYNq9KIjwdXzcL1kOZ03yQCLOj K2H61ao1N3JXnml0j6dsICtc5VQjhL3sal6P4JyY/EbLxbPYFnEDndnbIFfED0+E5j0X2z fnY9CS/6qs3ALNtTF3F47mWjYVyZkYYp4A/ofdAYWOOSCnVIr+IFvPtJOmI/+jKUS99ZIP QHNz28IqcnZsORkykg0hjb8igH5ZpBAwB3YJYKJ+rjCTSsZ3LUqmmAiyXsHM5A== 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 4VXml34znmzgkB; Mon, 6 May 2024 03:15:59 +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 4463FxM6098474; Mon, 6 May 2024 03:15:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4463FxP6098471; Mon, 6 May 2024 03:15:59 GMT (envelope-from git) Date: Mon, 6 May 2024 03:15:59 GMT Message-Id: <202405060315.4463FxP6098471@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: c097967b9af9 - main - 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/main X-Git-Reftype: branch X-Git-Commit: c097967b9af946cf46246cce5adde53f7e955ecc Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=c097967b9af946cf46246cce5adde53f7e955ecc commit c097967b9af946cf46246cce5adde53f7e955ecc Author: Konstantin Belousov AuthorDate: 2024-05-05 07:09:07 +0000 Commit: Konstantin Belousov CommitDate: 2024-05-06 03:15:35 +0000 mlx5en: add diagnostic in one more case of failed eeprom read preparation Sponsored by: Nvidia Networking MFC after: 1 week --- 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; }