]> www.infradead.org Git - users/jedix/linux-maple.git/commit
IB/cache: Add log messages for IB device state changes
authorMaher Sanalla <msanalla@nvidia.com>
Mon, 3 Feb 2025 12:48:04 +0000 (14:48 +0200)
committerLeon Romanovsky <leon@kernel.org>
Thu, 6 Feb 2025 08:40:50 +0000 (03:40 -0500)
commit5459f6523c1f1a053cdc6411a810061ee717219c
tree68ba266221eae39b9af642ccb55318f1c52c3d08
parent656dff55da19eb889f2b1df5a5f2aa1d28f024fd
IB/cache: Add log messages for IB device state changes

Enhance visibility into IB device state transitions by adding log messages
to the kernel log (dmesg). Whenever an IB device changes state, a relevant
print will be printed, such as:

"mlx5_core 0000:08:00.0 mlx5_0: Port: 1 Link DOWN"
"mlx5_core 0000:08:00.0 rdmap8s0f0: Port: 2 Link ACTIVE"

Signed-off-by: Maher Sanalla <msanalla@nvidia.com>
Link: https://patch.msgid.link/2d26ccbd669bad99089fa2aebb5cba4014fc4999.1738586601.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/core/cache.c
include/rdma/ib_verbs.h