summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2017-12-19 16:12:56 -0500
committerDavid S. Miller <davem@davemloft.net>2017-12-20 13:04:01 -0500
commit97bbf6623ebea1517e74c21ee59ff6fe133ce7fd (patch)
treefba735007b5895ebb4023f3878def8b80e9f5ade
parente200f7009bc2011839e34489906333d0225ae46e (diff)
downloadlinux-97bbf6623ebea1517e74c21ee59ff6fe133ce7fd.tar.gz
linux-97bbf6623ebea1517e74c21ee59ff6fe133ce7fd.tar.bz2
linux-97bbf6623ebea1517e74c21ee59ff6fe133ce7fd.zip
net: Clarify dev_weight documentation for LRO and GRO_HW.
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>
-rw-r--r--Documentation/sysctl/net.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/sysctl/net.txt b/Documentation/sysctl/net.txt
index b67044a2575f..35c62f522754 100644
--- a/Documentation/sysctl/net.txt
+++ b/Documentation/sysctl/net.txt
@@ -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