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>
This commit is contained in:

committed by
David S. Miller

parent
87f88cda21
commit
b1570a87f5
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user