1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Shared Memory Communications over RDMA (SMC-R) and RoCE
5 * smc_sysctl.c: sysctl interface to SMC subsystem.
7 * Copyright (c) 2022, Alibaba Inc.
9 * Author: Tony Lu <tonylu@linux.alibaba.com>
18 int __net_init smc_sysctl_net_init(struct net *net);
19 void __net_exit smc_sysctl_net_exit(struct net *net);
23 static inline int smc_sysctl_net_init(struct net *net)
25 net->smc.sysctl_autocorking_size = SMC_AUTOCORKING_DEFAULT_SIZE;
29 static inline void smc_sysctl_net_exit(struct net *net) { }
31 #endif /* CONFIG_SYSCTL */
33 #endif /* _SMC_SYSCTL_H */