Skip to content

Print link status when it is changed

Leon Romanovsky linux-rdma lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3IB/cache: Add log messages for IB device state changesdrivers/infiniband/core/cache.c include/rdma/ib_verbs.h+22 -00 replies
2/3RDMA/core: Use ib_port_state_to_str() for IB state sysfsdrivers/infiniband/core/sysfs.c+1 -130 replies
3/3IB/hfi1: Remove state transition log message and opa_lstate_name()drivers/infiniband/hw/hfi1/chip.c drivers/infiniband/hw/hfi1/chip.h drivers/infiniband/hw/hfi1/driver.c +1 more+3 -220 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.47.1