summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Chan2017-12-19 22:12:56 +0100
committerDavid S. Miller2017-12-20 19:04:01 +0100
commit97bbf6623ebea1517e74c21ee59ff6fe133ce7fd (patch)
treefba735007b5895ebb4023f3878def8b80e9f5ade
parentMerge branch 'netdevsim-couple-of-build-warning-fixes' (diff)
downloadkernel-qcow2-linux-97bbf6623ebea1517e74c21ee59ff6fe133ce7fd.tar.gz
kernel-qcow2-linux-97bbf6623ebea1517e74c21ee59ff6fe133ce7fd.tar.xz
kernel-qcow2-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