Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs: proc.rst: add softnet_stat to /proc/net table

/proc/net/softnet_stat exists for a long time, but proc.rst miss it.
Softnet_stat shows some statistics of struct softnet_data of online
CPUs. Struct softnet_data manages incoming and output packets
on per-CPU queues. Note that fastroute and cpu_collision in
softnet_stat are obsolete and their value is always 0.

Signed-off-by: Yang Yang <yang.yang29@zte.com.cn>
Reviewed-by: xu xin <xu.xin16@zte.com.cn>
Reviewed-by: Zhang Yunkai <zhang.yunkai@zte.com.cn>
Link: https://lore.kernel.org/r/202212091421536982085@zte.com.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Yang Yang and committed by
Jonathan Corbet
8b0a211d 078bdea8

+1
+1
Documentation/filesystems/proc.rst
··· 1284 1284 rt_cache Routing cache 1285 1285 snmp SNMP data 1286 1286 sockstat Socket statistics 1287 + softnet_stat Per-CPU incoming packets queues statistics of online CPUs 1287 1288 tcp TCP sockets 1288 1289 udp UDP sockets 1289 1290 unix UNIX domain sockets