ipvs: add ip_vs_status info
authorJulian Anastasov <ja@ssi.bg>
Sat, 4 Apr 2026 15:34:38 +0000 (18:34 +0300)
committerFlorian Westphal <fw@strlen.de>
Fri, 10 Apr 2026 10:16:25 +0000 (12:16 +0200)
commit9a9ccef907a7a8722ed27013c925baf68b7c0506
treeef3d798cc09c17b5f2ffa389859963bbf96b8863
parent22e620fe8455870ee1aa26aca6f2b5277a57431f
ipvs: add ip_vs_status info

Add /proc/net/ip_vs_status to show current state of IPVS.

The motivation for this new /proc interface is to provide the output
for the users to help them decide when to tune the load factor for
hash tables, which is possible with the new sysctl knobs coming in
followup patch.

The output also includes information for the kthreads used for stats.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Florian Westphal <fw@strlen.de>
net/netfilter/ipvs/ip_vs_ctl.c