From: Pengcheng Yang <yangpc@wangsu.com>
To: Eric Dumazet <edumazet@google.com>,
Neal Cardwell <ncardwell@google.com>,
Yuchung Cheng <ycheng@google.com>,
netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>,
Pengcheng Yang <yangpc@wangsu.com>
Subject: [PATCH net-next v2 0/2] tcp: ensure rate sample to use the most recently sent skb
Date: Sat, 16 Apr 2022 17:19:07 +0800 [thread overview]
Message-ID: <1650100749-10072-1-git-send-email-yangpc@wangsu.com> (raw)
This patch ensure to use the most recently sent skb
when filling the rate sample. And make RACK and rate
sample share the use of tcp_skb_sent_after() helper.
v2: introduce a new help function tcp_skb_sent_after()
Pengcheng Yang (2):
tcp: ensure to use the most recently sent skb when filling the rate
sample
tcp: use tcp_skb_sent_after() instead in RACK
include/net/tcp.h | 6 ++++++
net/ipv4/tcp_rate.c | 11 ++++++++---
net/ipv4/tcp_recovery.c | 15 +++++----------
3 files changed, 19 insertions(+), 13 deletions(-)
--
1.8.3.1
next reply other threads:[~2022-04-16 9:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-16 9:19 Pengcheng Yang [this message]
2022-04-16 9:19 ` [PATCH net-next v2 1/2] tcp: ensure to use the most recently sent skb when filling the rate sample Pengcheng Yang
2022-04-17 18:51 ` Neal Cardwell
2022-04-19 13:59 ` Paolo Abeni
2022-04-20 1:48 ` Pengcheng Yang
2022-04-20 2:11 ` Neal Cardwell
2022-04-16 9:19 ` [PATCH net-next v2 2/2] tcp: use tcp_skb_sent_after() instead in RACK Pengcheng Yang
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=1650100749-10072-1-git-send-email-yangpc@wangsu.com \
--to=yangpc@wangsu.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=ncardwell@google.com \
--cc=netdev@vger.kernel.org \
--cc=ycheng@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 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.