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)
commit0a99be434d145079d0509473b19e840629d851c2
tree277872b43154cf52abb1f04311d7bbbdc62d9e57
parentb38eb47f48d0133298f3d12be3960be2632e8f70
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