diff options
author | Karsten Graul <kgraul@linux.ibm.com> | 2020-05-01 12:48:12 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-02 01:20:05 +0200 |
commit | 8574cf4055ab44724ee9a4c30921d3ed853d787c (patch) | |
tree | 4b01341b843dbde750926e0987d70e87af1f2046 /net/ipv4/tcp_minisocks.c | |
parent | net/smc: introduce smc_pnet_find_alt_roce() (diff) | |
download | linux-8574cf4055ab44724ee9a4c30921d3ed853d787c.tar.xz linux-8574cf4055ab44724ee9a4c30921d3ed853d787c.zip |
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>
Diffstat (limited to 'net/ipv4/tcp_minisocks.c')
0 files changed, 0 insertions, 0 deletions