]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: check for healthy link group resp. connections
authorUrsula Braun <ubraun@linux.vnet.ibm.com>
Thu, 25 Jan 2018 10:15:36 +0000 (11:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jan 2018 21:10:42 +0000 (16:10 -0500)
commitb24faae1157432a1bc499684e8332a7e07c5f0d2
treeb3f9bf7d1635153b11b1b8261cde0c08c1c53c61
parent7e2275d7842a1a1a9425278edf5a65aac0925039
net/smc: check for healthy link group resp. connections

If a problem for at least one connection of a link group is detected,
the whole link group and all its connections are terminated.
This patch adds a check for healthy link group when trying to reserve
a work request, and checks for healthy connections before starting
a tx worker.

Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_cdc.c
net/smc/smc_diag.c
net/smc/smc_tx.c
net/smc/smc_wr.c