Message ID | 202212071923184146141@zte.com.cn (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [linux-next,v2] docs: proc.rst: add softnet_stat to /proc/net | expand |
On 12/7/22 18:23, yang.yang29@zte.com.cn wrote: > From: Yang Yang <yang.yang29@zte.com.cn> > > /proc/net/softnet_stat exists for a long time, but proc.rst miss it. "..., however it isn't described in /proc/net table of proc.rst documentation." > Softnet_stat shows some statistics of struct softnet_data of online "softnet_stat" (programming language keywords and variable/const name should always using proper capitalization, i.e. lowercase) > 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. > "Note that ... are obsolete and ..." For patch subject: "... /proc/net table". Thanks.
diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst index e224b6d5b642..9d5fd9424e8b 100644 --- a/Documentation/filesystems/proc.rst +++ b/Documentation/filesystems/proc.rst @@ -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