The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH rdma-next v1 0/3] Print link status when it is changed
@ 2025-02-03 12:48 Leon Romanovsky
  2025-02-06  8:41 ` Leon Romanovsky
  0 siblings, 1 reply; 2+ messages in thread
From: Leon Romanovsky @ 2025-02-03 12:48 UTC (permalink / raw)
  To: Jason Gunthorpe
  Cc: Dennis Dalessandro, linux-kernel, linux-rdma, Maher Sanalla

Changelog:
v1:
 * Changed print to include port number
 * Don't print anything on change state from NOP
v0: https://lore.kernel.org/all/cover.1737290406.git.leon@kernel.org
-----------------------------------------------------------------------

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

"mlx5_core 0000:08:00.0 mlx5_0: Port: 1 Link DOWN"
"mlx5_core 0000:08:00.0 rdmap8s0f0: Port: 2 Link 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     |  6 ++++++
 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, 27 insertions(+), 35 deletions(-)

-- 
2.48.1


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

* Re: [PATCH rdma-next v1 0/3] Print link status when it is changed
  2025-02-03 12:48 [PATCH rdma-next v1 0/3] Print link status when it is changed Leon Romanovsky
@ 2025-02-06  8:41 ` Leon Romanovsky
  0 siblings, 0 replies; 2+ messages in thread
From: Leon Romanovsky @ 2025-02-06  8:41 UTC (permalink / raw)
  To: Jason Gunthorpe, Leon Romanovsky
  Cc: Dennis Dalessandro, linux-kernel, linux-rdma, Maher Sanalla


On Mon, 03 Feb 2025 14:48:03 +0200, Leon Romanovsky wrote:
> Changelog:
> v1:
>  * Changed print to include port number
>  * Don't print anything on change state from NOP
> v0: https://lore.kernel.org/all/cover.1737290406.git.leon@kernel.org
> -----------------------------------------------------------------------
> 
> [...]

Applied, thanks!

[1/3] IB/cache: Add log messages for IB device state changes
      https://git.kernel.org/rdma/rdma/c/5459f6523c1f1a
[2/3] RDMA/core: Use ib_port_state_to_str() for IB state sysfs
      https://git.kernel.org/rdma/rdma/c/1fd119c6db838d
[3/3] IB/hfi1: Remove state transition log message and opa_lstate_name()
      https://git.kernel.org/rdma/rdma/c/d9d9434a3fee5c

Best regards,
-- 
Leon Romanovsky <leon@kernel.org>


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

end of thread, other threads:[~2025-02-06  8:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-03 12:48 [PATCH rdma-next v1 0/3] Print link status when it is changed Leon Romanovsky
2025-02-06  8:41 ` Leon Romanovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox