netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] tcp: ensure rate sample to use the most recently sent skb
@ 2022-04-16  9:19 Pengcheng Yang
  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-16  9:19 ` [PATCH net-next v2 2/2] tcp: use tcp_skb_sent_after() instead in RACK Pengcheng Yang
  0 siblings, 2 replies; 7+ messages in thread
From: Pengcheng Yang @ 2022-04-16  9:19 UTC (permalink / raw)
  To: Eric Dumazet, Neal Cardwell, Yuchung Cheng, netdev
  Cc: David S. Miller, Jakub Kicinski, Pengcheng Yang

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-04-20  2:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-16  9:19 [PATCH net-next v2 0/2] tcp: ensure rate sample to use the most recently sent skb Pengcheng Yang
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

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).