printf: Remove unused 'bprintf'
[drm/drm-misc.git] / include / net / netns / smc.h
blobfc752a50f91b45e9b38ab1a74273858a0af29410
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NETNS_SMC_H__
3 #define __NETNS_SMC_H__
4 #include <linux/mutex.h>
5 #include <linux/percpu.h>
7 struct smc_stats_rsn;
8 struct smc_stats;
9 struct netns_smc {
10 /* per cpu counters for SMC */
11 struct smc_stats __percpu *smc_stats;
12 /* protect fback_rsn */
13 struct mutex mutex_fback_rsn;
14 struct smc_stats_rsn *fback_rsn;
16 bool limit_smc_hs; /* constraint on handshake */
17 #ifdef CONFIG_SYSCTL
18 struct ctl_table_header *smc_hdr;
19 #endif
20 unsigned int sysctl_autocorking_size;
21 unsigned int sysctl_smcr_buf_type;
22 int sysctl_smcr_testlink_time;
23 int sysctl_wmem;
24 int sysctl_rmem;
25 int sysctl_max_links_per_lgr;
26 int sysctl_max_conns_per_lgr;
28 #endif