]> www.infradead.org Git - users/jedix/linux-maple.git/commit
IB/hfi1: Remove state transition log message and opa_lstate_name()
authorMaher Sanalla <msanalla@nvidia.com>
Mon, 3 Feb 2025 12:48:06 +0000 (14:48 +0200)
committerLeon Romanovsky <leon@kernel.org>
Thu, 6 Feb 2025 08:41:01 +0000 (03:41 -0500)
commitd9d9434a3fee5c2b05ef661d57e3e31e6990ed7b
treef12d475d879969bbf3ba5799580408f61a489a39
parent1fd119c6db838dbed7084ce48f76ad12f5441d59
IB/hfi1: Remove state transition log message and opa_lstate_name()

Remove the state transition log message from the hfi1 driver, as
the IB core now logs the same information when handling a cache
update event.

While at it, replace the hfi1-specific opa_lstate_name() function with
the ib_verbs equivalent function, ib_port_state_to_str(), for converting
IB port state to a string.

Signed-off-by: Maher Sanalla <msanalla@nvidia.com>
Link: https://patch.msgid.link/64e48bef00630e33f4b8c830cb7d9a69aedc34dc.1738586601.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/hfi1/chip.c
drivers/infiniband/hw/hfi1/chip.h
drivers/infiniband/hw/hfi1/driver.c
drivers/infiniband/hw/hfi1/mad.c