All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next] net: Clarify dev_weight documentation for LRO and GRO_HW.
@ 2017-12-19 21:12 Michael Chan
  2017-12-19 22:26 ` Marcelo Ricardo Leitner
  2017-12-20 18:04 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Chan @ 2017-12-19 21:12 UTC (permalink / raw)
  To: davem; +Cc: netdev

Reported-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
---
 Documentation/sysctl/net.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/sysctl/net.txt b/Documentation/sysctl/net.txt
index b67044a..35c62f5 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
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next] net: Clarify dev_weight documentation for LRO and GRO_HW.
  2017-12-19 21:12 [PATCH net-next] net: Clarify dev_weight documentation for LRO and GRO_HW Michael Chan
@ 2017-12-19 22:26 ` Marcelo Ricardo Leitner
  2017-12-20 18:04 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Marcelo Ricardo Leitner @ 2017-12-19 22:26 UTC (permalink / raw)
  To: Michael Chan; +Cc: davem, netdev

On Tue, Dec 19, 2017 at 04:12:56PM -0500, Michael Chan wrote:
> Reported-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
> Signed-off-by: Michael Chan <michael.chan@broadcom.com>

Thanks!

> ---
>  Documentation/sysctl/net.txt | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/sysctl/net.txt b/Documentation/sysctl/net.txt
> index b67044a..35c62f5 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
> -- 
> 1.8.3.1
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next] net: Clarify dev_weight documentation for LRO and GRO_HW.
  2017-12-19 21:12 [PATCH net-next] net: Clarify dev_weight documentation for LRO and GRO_HW Michael Chan
  2017-12-19 22:26 ` Marcelo Ricardo Leitner
@ 2017-12-20 18:04 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2017-12-20 18:04 UTC (permalink / raw)
  To: michael.chan; +Cc: netdev

From: Michael Chan <michael.chan@broadcom.com>
Date: Tue, 19 Dec 2017 16:12:56 -0500

> Reported-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
> Signed-off-by: Michael Chan <michael.chan@broadcom.com>

Applied, thanks a lot.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-12-20 18:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-19 21:12 [PATCH net-next] net: Clarify dev_weight documentation for LRO and GRO_HW Michael Chan
2017-12-19 22:26 ` Marcelo Ricardo Leitner
2017-12-20 18:04 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.