summaryrefslogtreecommitdiffstats
path: root/net/smc/af_smc.c
diff options
context:
space:
mode:
authorKarsten Graul <kgraul@linux.ibm.com>2020-05-03 14:38:42 +0200
committerDavid S. Miller <davem@davemloft.net>2020-05-03 16:06:25 -0700
commitb1570a87f57e94e9f74b8942840f9bd16bd1aba5 (patch)
tree4277406c673613a7fefa27fc3ff839587c867188 /net/smc/af_smc.c
parent87f88cda2128a72d79d4cc700729488af1081a06 (diff)
downloadlinux-b1570a87f57e94e9f74b8942840f9bd16bd1aba5.tar.gz
linux-b1570a87f57e94e9f74b8942840f9bd16bd1aba5.tar.bz2
linux-b1570a87f57e94e9f74b8942840f9bd16bd1aba5.zip
net/smc: final part of add link processing as SMC client
This patch finalizes the ADD_LINK processing of new links. Receive the CONFIRM_LINK request from peer, complete the link initialization, register all used buffers with the IB device and finally send the CONFIRM_LINK response, which completes the ADD_LINK processing. And activate smc_llc_cli_add_link() in af_smc.c. 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')
-rw-r--r--net/smc/af_smc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/smc/af_smc.c b/net/smc/af_smc.c
index 6663a63be9e4..1afb6e4275f2 100644
--- a/net/smc/af_smc.c
+++ b/net/smc/af_smc.c
@@ -427,7 +427,7 @@ static int smcr_clnt_conf_first_link(struct smc_sock *smc)
return rc;
}
smc_llc_flow_qentry_clr(&link->lgr->llc_flow_lcl);
- /* tbd: call smc_llc_cli_add_link(link, qentry); */
+ smc_llc_cli_add_link(link, qentry);
return 0;
}