linux/net/smc
Karsten Graul 8574cf4055 net/smc: allocate index for a new link
Add smc_llc_alloc_alt_link() to find a free link index for a new link,
depending on the new link group type. And update constants for the
maximum number of links to 3 (2 symmetric and 1 dangling asymmetric link).
These maximum numbers are the same as used by other implementations of the
SMC-R protocol.

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-01 16:20:05 -07:00
..
af_smc.c net/smc: mutex to protect the lgr against parallel reconfigurations 2020-05-01 16:20:04 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
smc_cdc.c net/smc: convert static link ID to dynamic references 2020-04-29 12:26:32 -07:00
smc_cdc.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-02-15 12:38:38 -08: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: remove DELETE LINK processing from smc_core.c 2020-05-01 16:20:04 -07:00
smc_core.h net/smc: allocate index for a new link 2020-05-01 16:20:05 -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 net/smc: add SMC-D shutdown signal 2018-11-21 16:14:56 -08:00
smc_llc.c net/smc: allocate index for a new link 2020-05-01 16:20:05 -07:00
smc_llc.h net/smc: add smcr_port_err() and smcr_link_down() processing 2020-05-01 16:20:04 -07:00
smc_netns.h net/smc: add pnet table namespace support 2019-02-21 10:34:37 -08:00
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: add support for splice() 2018-05-04 11:45:06 -04:00
smc_tx.c net/smc: take link down instead of terminating the link group 2020-05-01 16:20:04 -07:00
smc_tx.h net/smc: eliminate cursor read and write calls 2018-07-23 10:57:14 -07:00
smc_wr.c net/smc: take link down instead of terminating the link group 2020-05-01 16:20:04 -07:00
smc_wr.h net/smc: no WR buffer wait for terminating link group 2019-11-15 12:28:28 -08:00
smc.h net/smc: convert static link ID to dynamic references 2020-04-29 12:26:32 -07:00