1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Shared Memory Communications over RDMA (SMC-R) and RoCE 4 * 5 * smc_sysctl.c: sysctl interface to SMC subsystem. 6 * 7 * Copyright (c) 2022, Alibaba Inc. 8 * 9 * Author: Tony Lu <tonylu@linux.alibaba.com> 10 * 11 */ 12 13 #ifndef _SMC_SYSCTL_H 14 #define _SMC_SYSCTL_H 15 16 #ifdef CONFIG_SYSCTL 17 18 int smc_sysctl_init(void); 19 void smc_sysctl_exit(void); 20 21 #else 22 23 int smc_sysctl_init(void) 24 { 25 return 0; 26 } 27 28 void smc_sysctl_exit(void) { } 29 30 #endif /* CONFIG_SYSCTL */ 31 32 #endif /* _SMC_SYSCTL_H */ 33