* [PATCH linux-next v2] docs: proc.rst: add softnet_stat to /proc/net
@ 2022-12-07 11:23 yang.yang29
2022-12-09 3:40 ` Bagas Sanjaya
0 siblings, 1 reply; 2+ messages in thread
From: yang.yang29 @ 2022-12-07 11:23 UTC (permalink / raw)
To: corbet, kuba, bagasdotme
Cc: davem, hannes, linux-kernel, linux-fsdevel, linux-doc
From: Yang Yang <yang.yang29@zte.com.cn>
/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.
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>
---
Changes since v1: - refine patch subject
---
Documentation/filesystems/proc.rst | 1 +
1 file changed, 1 insertion(+)
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
--
2.15.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH linux-next v2] docs: proc.rst: add softnet_stat to /proc/net
2022-12-07 11:23 [PATCH linux-next v2] docs: proc.rst: add softnet_stat to /proc/net yang.yang29
@ 2022-12-09 3:40 ` Bagas Sanjaya
0 siblings, 0 replies; 2+ messages in thread
From: Bagas Sanjaya @ 2022-12-09 3:40 UTC (permalink / raw)
To: yang.yang29, corbet, kuba
Cc: davem, hannes, linux-kernel, linux-fsdevel, linux-doc
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.
--
An old man doll... just what I always wanted! - Clara
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-09 3:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-07 11:23 [PATCH linux-next v2] docs: proc.rst: add softnet_stat to /proc/net yang.yang29
2022-12-09 3:40 ` Bagas Sanjaya
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®