[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160921163120.03c126d3@xeon-e3>
Date: Wed, 21 Sep 2016 16:31:20 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Neal Cardwell <ncardwell@...gle.com>
Cc: netdev@...r.kernel.org, Yuchung Cheng <ycheng@...gle.com>,
Eric Dumazet <edumazet@...gle.com>,
Soheil Hassas Yeganeh <soheil@...gle.com>
Subject: Re: [PATCH iproute2 3/3] ss: output TCP BBR diag information
On Tue, 20 Sep 2016 22:43:44 -0400
Neal Cardwell <ncardwell@...gle.com> wrote:
> Dump useful TCP BBR state information from a struct tcp_bbr_info that
> was grabbed using the inet_diag API.
>
> We tolerate info that is shorter or longer than expected, in case the
> kernel is older or newer than the ss binary. We simply print the
> minimum of what is expected from the kernel and what is provided from
> the kernel. We use the same trick as that used for struct tcp_info:
> when the info from the kernel is shorter than we hoped, we pad the end
> with zeroes, and don't print fields if they are zero.
>
> The BBR output looks like:
> bbr:(bw:1.2Mbps,mrtt:18.965,pacing_gain:2.88672,cwnd_gain:2.88672)
>
> The motivation here is to be consistent with DCTCP, which looks like:
> dctcp(ce_state:23,alpha:23,ab_ecn:23,ab_tot:23)
>
> Signed-off-by: Neal Cardwell <ncardwell@...gle.com>
> Signed-off-by: Yuchung Cheng <ycheng@...gle.com>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Signed-off-by: Soheil Hassas Yeganeh <soheil@...gle.com>
Applied, to net-next.
The first two patches were unnecessary. Already picked up current net-next headers.
Powered by blists - more mailing lists