]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: log important pnetid and state change events
authorKarsten Graul <kgraul@linux.ibm.com>
Tue, 5 May 2020 13:01:20 +0000 (15:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 May 2020 19:56:52 +0000 (12:56 -0700)
commit56f6318dbd3aa1499f611db40801dc69ab8ad496
tree277872b43154cf52abb1f04311d7bbbdc62d9e57
parent5ac16a2041aed4fb4b2777438948028e9eb43d86
net/smc: log important pnetid and state change events

Print to system log when SMC links are available or go down, link group
state changes or pnetids are applied to and removed from devices.
The log entries are triggered by either user configuration actions or
adapter activation/deactivation events and are not expected to happen
often. The entries help SMC users to keep track of the SMC link group
status and to detect when actions are needed (like to add replacements
for failed adapters).

Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Reviewed-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/af_smc.c
net/smc/smc_core.c
net/smc/smc_core.h
net/smc/smc_ib.c
net/smc/smc_ism.c
net/smc/smc_llc.c
net/smc/smc_llc.h
net/smc/smc_pnet.c