linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH rdma-next 0/3] Print link status when it is changed
@ 2025-01-19 12:56 Leon Romanovsky
  2025-01-19 12:57 ` [PATCH rdma-next 1/3] IB/cache: Add log messages for IB device state changes Leon Romanovsky
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Leon Romanovsky @ 2025-01-19 12:56 UTC (permalink / raw)
  To: Jason Gunthorpe
  Cc: Dennis Dalessandro, linux-kernel, linux-rdma, Maher Sanalla

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-01-19 12:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-19 12:56 [PATCH rdma-next 0/3] Print link status when it is changed Leon Romanovsky
2025-01-19 12:57 ` [PATCH rdma-next 1/3] IB/cache: Add log messages for IB device state changes Leon Romanovsky
2025-01-19 12:57 ` [PATCH rdma-next 2/3] RDMA/core: Use ib_port_state_to_str() for IB state sysfs Leon Romanovsky
2025-01-19 12:57 ` [PATCH rdma-next 3/3] IB/hfi1: Remove state transition log message and opa_lstate_name() Leon Romanovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).