Subject: Re: [PATCH] Add initrwnd to iproute2

From: Eric Dumazet <[email-masked]>
Date: Tue, 15 Dec 2009 23:37:58 +0100

Le 15/12/2009 23:19, [email-masked] a écrit :
> Add initrwnd option parsing to iproute. This option uses the new
> rtnetlink init_rcvwnd to set the TCP initial receive window size
> advertised by passive and active TCP connections.
> 
> Signed-off-by: Laurent Chavey <[email-masked]>
> --
>  doc/ip-cref.tex           |    5 +++++
>  include/linux/rtnetlink.h |    2 ++
>  ip/iproute.c              |   13 ++++++++++++-
>  3 files changed, 19 insertions(+), 1 deletions(-)
> 
> diff --git a/doc/ip-cref.tex b/doc/ip-cref.tex
> index bb4eb78..30503c7 100644
> --- a/doc/ip-cref.tex
> +++ b/doc/ip-cref.tex
> @@ -1324,7 +1324,12 @@ peers are allowed to send to us.
>      If it is not given, Linux uses the value selected with \verb|sysctl|
>      variable \verb|net/ipv4/tcp_reordering|.
>  
> +\item \verb|initrwnd NUMBER|
>  
> +--- [2.5.70+ only] Initial receive window size for connections to 
> +    this destination. The actual window size is this value multiplied
> +    by the MSS (''Maximal Segment Size'') of the connection. The default
> +    value is zero, meaning to use Slow Start value.
>  

Maybe its true with google custom kernels, but for upstream, this is 2.6.33+ :)