diff options
author | Dust Li <dust.li@linux.alibaba.com> | 2022-03-01 17:43:56 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-03-01 14:25:12 +0000 |
commit | 462791bbfa350189e309a5a94541f6b63cd874e8 (patch) | |
tree | d5d643f55e3fe0cd89fa107a215137a9f4d648b8 /include/net/netns/smc.h | |
parent | 1e385c08249e4822e0f425efde1896d3933d1471 (diff) |
net/smc: add sysctl interface for SMC
This patch add sysctl interface to support container environment
for SMC as we talk in the mail list.
Link: https://lore.kernel.org/netdev/20220224020253.GF5443@linux.alibaba.com
Co-developed-by: Tony Lu <tonylu@linux.alibaba.com>
Signed-off-by: Tony Lu <tonylu@linux.alibaba.com>
Signed-off-by: Dust Li <dust.li@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns/smc.h')
-rw-r--r-- | include/net/netns/smc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/netns/smc.h b/include/net/netns/smc.h index 47b166684fd8..1682eae50579 100644 --- a/include/net/netns/smc.h +++ b/include/net/netns/smc.h @@ -14,5 +14,8 @@ struct netns_smc { struct smc_stats_rsn *fback_rsn; bool limit_smc_hs; /* constraint on handshake */ +#ifdef CONFIG_SYSCTL + struct ctl_table_header *smc_hdr; +#endif }; #endif |