OSDN Git Service

net: Clarify dev_weight documentation for LRO and GRO_HW.
authorMichael Chan <michael.chan@broadcom.com>
Tue, 19 Dec 2017 21:12:56 +0000 (16:12 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Dec 2017 18:04:01 +0000 (13:04 -0500)
Reported-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/sysctl/net.txt

index b67044a..35c62f5 100644 (file)
@@ -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