linux/net/smc
D. Wythe f8406a2fd2 net/smc: add sysctl for smc_limit_hs
In commit 48b6190a00 ("net/smc: Limit SMC visits when handshake workqueue congested"),
we introduce a mechanism to put constraint on SMC connections visit
according to the pressure of SMC handshake process.

At that time, we believed that controlling the feature through netlink
was sufficient. However, most people have realized now that netlink is
not convenient in container scenarios, and sysctl is a more suitable
approach.

In addition, since commit 462791bbfa ("net/smc: add sysctl interface for SMC")
had introcuded smc_sysctl_net_init(), it is reasonable for us to
initialize limit_smc_hs in it instead of initializing it in
smc_pnet_net_int().

Signed-off-by: D. Wythe <alibuda@linux.alibaba.com>
Reviewed-by: Wen Gu <guwen@linux.alibaba.com>
Reviewed-by: Jan Karcher <jaka@linux.ibm.com>
Link: https://patch.msgid.link/1725590135-5631-1-git-send-email-alibuda@linux.alibaba.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2024-09-10 12:11:04 +02:00
..
af_smc.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-08-01 10:45:23 -07:00
Kconfig
Makefile net/smc: Introduce IPPROTO_SMC 2024-06-17 13:14:09 +01:00
smc_cdc.c
smc_cdc.h
smc_clc.c
smc_clc.h net/smc: Use static_assert() to check struct sizes 2024-08-12 18:41:42 -07:00
smc_close.c
smc_close.h
smc_core.c net/smc: introduce statistics for ringbufs usage of net namespace 2024-08-20 11:38:23 +02:00
smc_core.h net/smc: introduce statistics for allocated ringbufs of link group 2024-08-20 11:38:23 +02:00
smc_diag.c
smc_ib.c
smc_ib.h
smc_inet.c net/smc: prevent NULL pointer dereference in txopt_get 2024-08-30 13:26:12 +01:00
smc_inet.h net/smc: Introduce IPPROTO_SMC 2024-06-17 13:14:09 +01:00
smc_ism.c
smc_ism.h
smc_llc.c
smc_llc.h
smc_loopback.c
smc_loopback.h net/smc: remove unreferenced header in smc_loopback.h file 2024-07-31 11:48:58 +01:00
smc_netlink.c
smc_netlink.h
smc_netns.h
smc_pnet.c net/smc: add sysctl for smc_limit_hs 2024-09-10 12:11:04 +02:00
smc_pnet.h
smc_rx.c
smc_rx.h
smc_stats.c net/smc: introduce statistics for ringbufs usage of net namespace 2024-08-20 11:38:23 +02:00
smc_stats.h net/smc: introduce statistics for ringbufs usage of net namespace 2024-08-20 11:38:23 +02:00
smc_sysctl.c net/smc: add sysctl for smc_limit_hs 2024-09-10 12:11:04 +02:00
smc_sysctl.h
smc_tracepoint.c
smc_tracepoint.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
smc_tx.c
smc_tx.h
smc_wr.c
smc_wr.h
smc.h net/smc: prevent NULL pointer dereference in txopt_get 2024-08-30 13:26:12 +01:00