Skip to contentSkip to conversation

docs: proc.rst: add softnet_stat

PATCH Superseded [email protected] 2 participants 3 messages Dec 7, 2022

Subsystems (3)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: proc.rst: add softnet_stat

From: Yang Yang <[email protected]>

Softnet_stat shows 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.

---
 Documentation/filesystems/proc.rst | 1 +
 1 file changed, 1 insertion(+)
Documentation/filesystems/proc.rst +1 -0
index e224b6d5b642..9d5fd9424e8b 100644
@@ -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
#1 lore raw

Documentation/filesystems/proc.rst support this. Table 1-9 lists the files and their meaning. · line 1290

Quoted 12 lines · On 12/7/22 13:23, [email protected] wrote:
Documentation/filesystems/proc.rst +1 -0
index e224b6d5b642..9d5fd9424e8b 100644
@@ -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

Add softnet_stat to what table? I have to read the actual documentation and found that you mean /proc/net table. Please mention that in patch subject.

Regardless, this patch is from ZTE people, for which they have a reputation for ignoring critical code reviews and "atypical" email setup that needs to be fixed (try searching for tc:"zte.com.cn" AND f:"[email protected]" on LKML for details). If you can receive this email, please hit "Reply all", "Group Reply" or similar. Remember don't top-post, reply inline with appropriate context instead.

Thanks.

Signature · 1 line
An old man doll... just what I always wanted! - Clara
#2 lore raw
Quoted 3 lines · On 12/7/22 17:10, [email protected] wrote:

Add softnet_stat to what table? I have to read the actual documentation and found that you mean /proc/net table. Please mention that in patch subject.

OK, I will add this to subject.

Quoted 3 lines

Regardless, this patch is from ZTE people, for which they have a reputation for ignoring critical code reviews and "atypical" email setup that needs to be fixed

Really sorry for that, We will try to avoid this.

Thanks.