diff options
author | Karsten Graul <kgraul@linux.ibm.com> | 2021-10-16 12:37:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-16 16:58:13 +0300 |
commit | b4ba4652b3f8b7c9bbb5786f8acf4724bdab2196 (patch) | |
tree | 9ec7c43e1e0eda4790a57563bf8b8f1af4bc7180 /net/smc/af_smc.c | |
parent | 8799e310fb3f15759824a78b6b93d7e6d5def067 (diff) | |
download | linux-b4ba4652b3f8b7c9bbb5786f8acf4724bdab2196.tar.xz |
net/smc: extend LLC layer for SMC-Rv2
Add support for large v2 LLC control messages in smc_llc.c.
The new large work request buffer allows to combine control
messages into one packet that had to be spread over several
packets before.
Add handling of the new v2 LLC messages.
Signed-off-by: Karsten Graul <kgraul@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.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/smc/af_smc.c b/net/smc/af_smc.c index ce5feb68382f..5e50e007a7da 100644 --- a/net/smc/af_smc.c +++ b/net/smc/af_smc.c @@ -786,9 +786,9 @@ static int smc_connect_clc(struct smc_sock *smc, SMC_CLC_ACCEPT, CLC_WAIT_TIME); } -static void smc_fill_gid_list(struct smc_link_group *lgr, - struct smc_gidlist *gidlist, - struct smc_ib_device *known_dev, u8 *known_gid) +void smc_fill_gid_list(struct smc_link_group *lgr, + struct smc_gidlist *gidlist, + struct smc_ib_device *known_dev, u8 *known_gid) { struct smc_init_info *alt_ini = NULL; @@ -1435,7 +1435,7 @@ static int smcr_serv_conf_first_link(struct smc_sock *smc) smcr_lgr_set_type(link->lgr, SMC_LGR_SINGLE); /* initial contact - try to establish second link */ - smc_llc_srv_add_link(link); + smc_llc_srv_add_link(link, NULL); return 0; } |