From: David Miller <davem@davemloft.net>
To: edumazet@google.com
Cc: netdev@vger.kernel.org, eric.dumazet@gmail.com,
mattmathis@google.com, salo@google.com, kafai@fb.com,
rapier@psc.edu
Subject: Re: [PATCH v2 net-next 1/2] tcp: add tcpi_bytes_acked to tcp_info
Date: Wed, 29 Apr 2015 18:12:29 -0400 (EDT) [thread overview]
Message-ID: <20150429.181229.257255832005649604.davem@davemloft.net> (raw)
In-Reply-To: <1430260098-14127-2-git-send-email-edumazet@google.com>
From: Eric Dumazet <edumazet@google.com>
Date: Tue, 28 Apr 2015 15:28:17 -0700
> This patch tracks total number of bytes acked for a TCP socket.
> This is the sum of all changes done to tp->snd_una, and allows
> for precise tracking of delivered data.
>
> RFC4898 named this : tcpEStatsAppHCThruOctetsAcked
>
> This is a 64bit field, and can be fetched both from TCP_INFO
> getsockopt() if one has a handle on a TCP socket, or from inet_diag
> netlink facility (iproute2/ss patch will follow)
>
> Note that tp->bytes_acked was placed near tp->snd_una for
> best data locality and minimal performance impact.
>
> Signed-off-by: Eric Dumazet <edumazet@google.com>
> Acked-by: Yuchung Cheng <ycheng@google.com>
Applied.
next prev parent reply other threads:[~2015-04-29 22:12 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-28 22:28 [PATCH v2 net-next 0/2] tcp: tcp_info extensions Eric Dumazet
2015-04-28 22:28 ` [PATCH v2 net-next 1/2] tcp: add tcpi_bytes_acked to tcp_info Eric Dumazet
2015-04-29 22:12 ` David Miller [this message]
2015-04-28 22:28 ` [PATCH v2 net-next 2/2] tcp: add tcpi_bytes_received " Eric Dumazet
2015-04-28 22:56 ` Yuchung Cheng
2015-04-28 23:07 ` Eric Dumazet
2015-04-29 22:12 ` David Miller
2015-05-12 13:08 ` [PATCH v2 net-next 0/2] tcp: tcp_info extensions Marcelo Ricardo Leitner
2015-05-12 20:31 ` Eric Dumazet
2015-05-12 22:21 ` Marcelo Ricardo Leitner
2015-05-20 23:35 ` [PATCH net-next] tcp: add tcpi_segs_in and tcpi_segs_out to tcp_info Eric Dumazet
2015-05-21 0:06 ` Rick Jones
2015-05-21 0:37 ` Eric Dumazet
2015-05-21 0:48 ` Rick Jones
2015-05-21 0:52 ` Eric Dumazet
2015-05-21 12:38 ` Marcelo Ricardo Leitner
2015-05-21 19:41 ` Yuchung Cheng
2015-05-21 20:06 ` Eric Dumazet
2015-05-21 21:53 ` Marcelo Ricardo Leitner
2015-05-22 3:25 ` David Miller
2015-05-22 3:43 ` Eric Dumazet
2015-05-22 4:51 ` [PATCH net-next] tcp: fix a potential deadlock in tcp_get_info() Eric Dumazet
2015-05-22 17:50 ` David Miller
2015-05-22 17:56 ` Eric Dumazet
2015-05-22 18:03 ` Eric Dumazet
2015-05-22 18:08 ` Eric Dumazet
2015-05-22 18:21 ` David Miller
2015-05-22 18:12 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150429.181229.257255832005649604.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=eric.dumazet@gmail.com \
--cc=kafai@fb.com \
--cc=mattmathis@google.com \
--cc=netdev@vger.kernel.org \
--cc=rapier@psc.edu \
--cc=salo@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).