[PATCH rdma-next 0/3] Print link status when it is changed

From: Leon Romanovsky
Date: Sun Jan 19 2025 - 07:57:16 EST


In similar to netdev and hfi1 behaviour, add general implementation to
IB/core to print IB port state changes.

"mlx5_core 0000:08:00.0 mlx5_0: Port DOWN"
"mlx5_core 0000:08:00.0 rocep8s0f0: Port ACTIVE"

Thanks

Maher Sanalla (3):
IB/cache: Add log messages for IB device state changes
RDMA/core: Use ib_port_state_to_str() for IB state sysfs
IB/hfi1: Remove state transition log message and opa_lstate_name()

drivers/infiniband/core/cache.c | 5 +++++
drivers/infiniband/core/sysfs.c | 14 +-------------
drivers/infiniband/hw/hfi1/chip.c | 18 ------------------
drivers/infiniband/hw/hfi1/chip.h | 1 -
drivers/infiniband/hw/hfi1/driver.c | 2 +-
drivers/infiniband/hw/hfi1/mad.c | 4 ++--
include/rdma/ib_verbs.h | 17 +++++++++++++++++
7 files changed, 26 insertions(+), 35 deletions(-)

--
2.47.1