alistair23-linux/net/smc
Karsten Graul c6f02ebeea net/smc: switch connections to alternate link
Add smc_switch_conns() to switch all connections from a link that is
going down. Find an other link to switch the connections to, and
switch each connection to the new link. smc_switch_cursor() updates the
cursors of a connection to the state of the last successfully sent CDC
message. When there is no link to switch to, terminate the link group.
Call smc_switch_conns() when a link is going down.
And with the possibility that links of connections can switch adapt CDC
and TX functions to detect and handle link switches.

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>
2020-05-04 10:54:39 -07:00
..
af_smc.c net/smc: first part of add link processing as SMC server 2020-05-03 16:06:40 -07:00
Kconfig
Makefile
smc.h net/smc: save state of last sent CDC message 2020-05-04 10:54:39 -07:00
smc_cdc.c net/smc: switch connections to alternate link 2020-05-04 10:54:39 -07:00
smc_cdc.h net/smc: switch connections to alternate link 2020-05-04 10:54:39 -07:00
smc_clc.c net/smc: convert static link ID to dynamic references 2020-04-29 12:26:32 -07:00
smc_clc.h net/smc: adapt SMC client code to use the LLC flow 2020-04-30 12:44:33 -07:00
smc_close.c net/smc: remove unused constant 2019-11-16 12:26:49 -08:00
smc_close.h net/smc: remove close abort worker 2019-10-22 11:23:44 -07:00
smc_core.c net/smc: switch connections to alternate link 2020-05-04 10:54:39 -07:00
smc_core.h net/smc: switch connections to alternate link 2020-05-04 10:54:39 -07:00
smc_diag.c net/smc: fix leak of kernel memory to user space 2020-02-11 17:04:42 -08:00
smc_ib.c net/smc: add smcr_port_err() and smcr_link_down() processing 2020-05-01 16:20:04 -07:00
smc_ib.h net/smc: convert static link ID to dynamic references 2020-04-29 12:26:32 -07:00
smc_ism.c net/smc: rework pnet table to support SMC-R failover 2020-04-29 12:26:32 -07:00
smc_ism.h
smc_llc.c net/smc: switch connections to alternate link 2020-05-04 10:54:39 -07:00
smc_llc.h net/smc: enqueue local LLC messages 2020-05-03 16:08:07 -07:00
smc_netns.h
smc_pnet.c net/smc: introduce smc_pnet_find_alt_roce() 2020-05-01 16:20:05 -07:00
smc_pnet.h net/smc: introduce smc_pnet_find_alt_roce() 2020-05-01 16:20:05 -07:00
smc_rx.c net/smc: cancel send and receive for terminated socket 2019-10-22 11:23:43 -07:00
smc_rx.h
smc_tx.c net/smc: switch connections to alternate link 2020-05-04 10:54:39 -07:00
smc_tx.h
smc_wr.c net/smc: delete an asymmetric link as SMC server 2020-05-03 16:07:09 -07:00
smc_wr.h net/smc: delete an asymmetric link as SMC server 2020-05-03 16:07:09 -07:00