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)
commit1a0a04c7a82c4c4667ab5a9660dc37f6d365d9d3
treeb3f9bf7d1635153b11b1b8261cde0c08c1c53c61
parent732720fafdb04ad8daec36ba7f09b44641ebc13f
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