]> 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)
commit552f432351a3e1ee000bcda13a408b2cd96ad8d9
treeb3f9bf7d1635153b11b1b8261cde0c08c1c53c61
parent82f1dab7b7ef734d3ec1e296b0403ecf46f4301b
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