Date: Mon, 13 May 2024 09:51:23 GMT From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 9877b9bea5b0 - stable/13 - mlx5en: add diagnostic in one more case of failed eeprom read preparation Message-ID: <202405130951.44D9pND3036622@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=9877b9bea5b0857bfdf0b7eeadbd53d227b651bf commit 9877b9bea5b0857bfdf0b7eeadbd53d227b651bf Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2024-05-05 07:09:07 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> 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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405130951.44D9pND3036622>