diff options
author | Karsten Graul <kgraul@linux.ibm.com> | 2020-05-03 14:38:40 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-03 16:05:15 -0700 |
commit | 336ba09f2ef71b82f07c1200be0ddf4eb923d69f (patch) | |
tree | ecf6ba43cddc0809c6d3652c30ba466dc016baf2 /net/smc/af_smc.c | |
parent | d1a22509547b424866863e191ef9b2ac0762ad17 (diff) | |
download | linux-336ba09f2ef71b82f07c1200be0ddf4eb923d69f.tar.gz linux-336ba09f2ef71b82f07c1200be0ddf4eb923d69f.tar.bz2 linux-336ba09f2ef71b82f07c1200be0ddf4eb923d69f.zip |
net/smc: first part of add link processing as SMC client
First set of functions to process an ADD_LINK LLC request as an SMC
client. Find an alternate IB device, determine the new link group type
and get the index for the new link. Then ready the link, map the buffers
and send an ADD_LINK LLC response. If any error occurs, send a reject
LLC message and terminate the processing.
Add smc_llc_alloc_alt_link() to find a free link index for a new link,
depending on the new link group type.
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/smc/af_smc.c')
0 files changed, 0 insertions, 0 deletions