Lines Matching full:smc
3 * Shared Memory Communications over RDMA (SMC-R) and RoCE
5 * smc_sysctl.c: sysctl interface to SMC subsystem.
17 #include "smc.h"
32 .data = &init_net.smc.sysctl_autocorking_size,
39 .data = &init_net.smc.sysctl_smcr_buf_type,
48 .data = &init_net.smc.sysctl_smcr_testlink_time,
55 .data = &init_net.smc.sysctl_wmem,
64 .data = &init_net.smc.sysctl_rmem,
90 net->smc.smc_hdr = register_net_sysctl_sz(net, "net/smc", table, in smc_sysctl_net_init()
92 if (!net->smc.smc_hdr) in smc_sysctl_net_init()
95 net->smc.sysctl_autocorking_size = SMC_AUTOCORKING_DEFAULT_SIZE; in smc_sysctl_net_init()
96 net->smc.sysctl_smcr_buf_type = SMCR_PHYS_CONT_BUFS; in smc_sysctl_net_init()
97 net->smc.sysctl_smcr_testlink_time = SMC_LLC_TESTLINK_DEFAULT_TIME; in smc_sysctl_net_init()
98 WRITE_ONCE(net->smc.sysctl_wmem, net_smc_wmem_init); in smc_sysctl_net_init()
99 WRITE_ONCE(net->smc.sysctl_rmem, net_smc_rmem_init); in smc_sysctl_net_init()
114 table = net->smc.smc_hdr->ctl_table_arg; in smc_sysctl_net_exit()
115 unregister_net_sysctl_table(net->smc.smc_hdr); in smc_sysctl_net_exit()