docs: proc.rst: add softnet_stat to /proc/net
Subsystems (3)
PATCH v2 1/1 docs: proc.rst: add softnet_stat to /proc/net
From: Yang Yang <[email protected]>
/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. Notice that fastroute and cpu_collision in softnet_stat are obsoleted, their value is always 0.
---
Changes since v1: - refine patch subject
--- Documentation/filesystems/proc.rst | 1 + 1 file changed, 1 insertion(+)
Documentation/filesystems/proc.rst +1 -0
@@ -1284,6 +1284,7 @@ support this. Table 1-9 lists the files and their meaning. rt_cache Routing cache snmp SNMP data sockstat Socket statistics + softnet_stat Per-CPU incoming packets queues statistics of online CPUs tcp TCP sockets udp UDP sockets unix UNIX domain sockets
Signature · 1 line
2.15.2
Quoted 3 lines · On 12/7/22 18:23, [email protected] wrote:
From: Yang Yang <[email protected]>
/proc/net/softnet_statexists for a long time, butproc.rstmiss it.
"..., however it isn't described in /proc/net table of proc.rst documentation."
Quoted 1 line
Softnet_statshows some statistics of structsoftnet_dataof online
"softnet_stat" (programming language keywords and variable/const name should always using proper capitalization, i.e. lowercase)
Quoted 4 lines
CPUs. Struct
softnet_datamanages incoming and output packets on per-CPU queues. Notice that fastroute andcpu_collisioninsoftnet_statare obsoleted, their value is always 0.
"Note that ... are obsolete and ..."
For patch subject: "... /proc/net table".
Thanks.
Signature · 1 line
An old man doll... just what I always wanted! - Clara