Skip to contentSkip to conversation

net: Clarify dev_weight documentation for LRO and GRO_HW.

PATCH Applied Michael Chan 3 participants 3 messages Dec 19, 2017 – Dec 20, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: Clarify dev_weight documentation for LRO and GRO_HW.

---
 Documentation/sysctl/net.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/sysctl/net.txt +3 -1
index b67044a..35c62f5 100644
@@ -95,7 +95,9 @@ dev_weight
 --------------
 
 The maximum number of packets that kernel can handle on a NAPI interrupt,
-it's a Per-CPU variable.
+it's a Per-CPU variable. For drivers that support LRO or GRO_HW, a hardware
+aggregated packet is counted as one packet in this context.
+
 Default: 64
 
 dev_weight_rx_bias
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 2 lines · Michael Chan

Thanks!

Quoted 22 lines
---
 Documentation/sysctl/net.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/sysctl/net.txt +3 -1
index b67044a..35c62f5 100644
@@ -95,7 +95,9 @@ dev_weight
 --------------
 
 The maximum number of packets that kernel can handle on a NAPI interrupt,
-it's a Per-CPU variable.
+it's a Per-CPU variable. For drivers that support LRO or GRO_HW, a hardware
+aggregated packet is counted as one packet in this context.
+
 Default: 64
 
 dev_weight_rx_bias
Signature · 1 line
1.8.3.1