From nobody Tue Aug 06 02:46: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 4WdHkv4Mxlz5STRd; Tue, 06 Aug 2024 02:46: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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WdHkv3sDsz4brV; Tue, 6 Aug 2024 02:46:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722912407; 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=kIHA1s3r7tYfABU09V7E0m9fZJAwJBZoXmYwpsrVH1Q=; b=GmZY+TvgCoOxnlYoRKn+bbMj5kX5frsAu0O+/QYPZhXNAeWvVTn46Lsf9PLY+7KWFrzaxf xTl5nJ9tMwx3AKYlDsVLt/M4cVvMwyZhIE+PvFb3bt4vEK05s942NGmOir98sw8h9/TsaN AWgHZs2sCnf7j6/VQBswAv1xvLCZYqJvTrqAPNd+RVlpJiDv/ZFM9wOc5o8HzE9Um9xtxD xdUjMz2pU+LTOZILgFhtBJOo1Z0CPqtYN+2IC4WM1pNzFqFKspRJ3Qccu+fJixdSX8xTZV ssRcy/r3NnR6OuhuCFx8XcBNpWa1+Gv4DVDPudCqHZ4krlE//EY7wXKAudNDlg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722912407; a=rsa-sha256; cv=none; b=CKhC3ZCPsNBxAJ1gfEIMMnPPbuv+zBUOflvBtHFAeN6Xp4yfD7xUMZV9iJR9gqAan8prLb z2rMaDDvge2ZX/qdLE1CRyD1Myuu/meyQAp0OhwVUV1A1rR74XotqwCxVCi0qxl9wB5+5/ ezfOZbjNe3f/lMz1TypFBYmpGmocj6M2VQXPJqytA0Z4bN1/QWA08tn9Rw8HKXBKfrS35K tGO7igitih/y9PWsl5Ln5xULpOHNCjBAtzyCuTkywqeCR1hHew4h/Ga3su2Ndh1+03FWAT DL8wWuW+2HBfRMv8T2zvAfZM14shCND/LUn+ICxdeTQj844fCZF9liMskSpCeg== 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=1722912407; 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=kIHA1s3r7tYfABU09V7E0m9fZJAwJBZoXmYwpsrVH1Q=; b=d/54j6ih1uk9S4kEXvbR7MFkGXVcgzaU8uWaH1u0kWPCAQBQszHafOney/hWHuTGLj3irv 1tsk8G9K25s8WyZAOzMuH8QdrIhUDzvcuvV21EFywQQnJuKbAWk6808ORZmgfeWFJHgxvF aXdWZ6qj6ZLjsHj0DqLnTCbIv6cktzJizfOCo0kRZRqZfJxBYKcc7OItWPFzY46QqvchTz xMf5X6pJFVMhXd4pSsMCBnzdRL0foSlMl8vqCm7Ulsza78aAKZ2n/qVdaUFM/TEh9b+1eu 0exyPoQQaI7GYV8ORGF46YSsx+HXioFPbwMHGjFr2NYGtIBmeAO/DsRqhzM45w== 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 4WdHkv3KfczpZf; Tue, 6 Aug 2024 02:46:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4762klwo066111; Tue, 6 Aug 2024 02:46:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4762kltZ066108; Tue, 6 Aug 2024 02:46:47 GMT (envelope-from git) Date: Tue, 6 Aug 2024 02:46:47 GMT Message-Id: <202408060246.4762kltZ066108@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: 5b1211bb358f - stable/14 - mlx5en: limit reporting eeprom read failure due to unplugged module to verboseboot 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: 5b1211bb358f649b36375361395359541b3ed5d7 Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=5b1211bb358f649b36375361395359541b3ed5d7 commit 5b1211bb358f649b36375361395359541b3ed5d7 Author: Konstantin Belousov AuthorDate: 2024-07-26 21:09:58 +0000 Commit: Konstantin Belousov CommitDate: 2024-08-06 02:46:26 +0000 mlx5en: limit reporting eeprom read failure due to unplugged module to verboseboot (cherry picked from commit 2204a4829083bf2a40304ea873d287a5498973d7) --- sys/dev/mlx5/mlx5_en/mlx5_en_main.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c index 97ec1b4420a8..55a4bc3cec79 100644 --- a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c +++ b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c @@ -3674,9 +3674,11 @@ 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); + if (bootverbose) + 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; }