Subject: Re: [RFC PATCH] tcp: correct srtt and mdev_us calculation

From: Stephen Hemminger <[email-masked]>
Date: Sun, 11 Dec 2022 09:04:56 -0800

On Sat, 10 Dec 2022 18:45:56 +0100
Eric Dumazet <[email-masked]> wrote:

> On Tue, Dec 6, 2022 at 10:29 AM Jakub Sitnicki <[email-masked]> wrote:
> 
> 
> > Nifty. And it's documented.
> >
> > struct tcp_sock {
> >         …
> >         u32     srtt_us;        /* smoothed round trip time << 3 in usecs */
> >
> > Thanks for the hint.  
> 
> The >> 3 is all over the place... So even without a formal comment,
> anyone familiar with TCP stack would spot this...

And it should be in every text book already and is in BSD as well.
Maybe a link to the SIGCOMM paper would be good for those
google deprived people?