diff options
| author | Dust Li <[email protected]> | 2022-03-01 17:43:56 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-03-01 14:25:12 +0000 |
| commit | 462791bbfa350189e309a5a94541f6b63cd874e8 (patch) | |
| tree | d5d643f55e3fe0cd89fa107a215137a9f4d648b8 /include | |
| 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/[email protected]
Co-developed-by: Tony Lu <[email protected]>
Signed-off-by: Tony Lu <[email protected]>
Signed-off-by: Dust Li <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include')
| -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 |