diff options
author | Guangguan Wang <guangguan.wang@linux.alibaba.com> | 2023-11-22 14:52:57 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-11-24 13:13:14 +0100 |
commit | f8e80fc4acebab0447567e77d6abc30fb44250cc (patch) | |
tree | 49c332a3d7f99990d267060ad453609d7f5a8255 /net/smc/smc_clc.h | |
parent | octeontx2-pf: TC flower offload support for ICMP type and code (diff) | |
download | linux-f8e80fc4acebab0447567e77d6abc30fb44250cc.tar.xz linux-f8e80fc4acebab0447567e77d6abc30fb44250cc.zip |
net/smc: add sysctl for max links per lgr for SMC-R v2.1
Add a new sysctl: net.smc.smcr_max_links_per_lgr, which is
used to control the preferred max links per lgr for SMC-R
v2.1. The default value of this sysctl is 2, and the acceptable
value ranges from 1 to 2.
Signed-off-by: Guangguan Wang <guangguan.wang@linux.alibaba.com>
Reviewed-by: Dust Li <dust.li@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_clc.h')
-rw-r--r-- | net/smc/smc_clc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/smc/smc_clc.h b/net/smc/smc_clc.h index c5c8e7db775a..89b258cedffe 100644 --- a/net/smc/smc_clc.h +++ b/net/smc/smc_clc.h @@ -422,7 +422,8 @@ int smc_clc_send_confirm(struct smc_sock *smc, bool clnt_first_contact, u8 version, u8 *eid, struct smc_init_info *ini); int smc_clc_send_accept(struct smc_sock *smc, bool srv_first_contact, u8 version, u8 *negotiated_eid, struct smc_init_info *ini); -int smc_clc_srv_v2x_features_validate(struct smc_clc_msg_proposal *pclc, +int smc_clc_srv_v2x_features_validate(struct smc_sock *smc, + struct smc_clc_msg_proposal *pclc, struct smc_init_info *ini); int smc_clc_clnt_v2x_features_validate(struct smc_clc_first_contact_ext *fce, struct smc_init_info *ini); |