Skip to content

tcp: remove tcp_rate.c

Eric Dumazet netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2tcp: move tcp_rate_gen to tcp_input.cinclude/net/tcp.h net/ipv4/tcp_input.c net/ipv4/tcp_rate.c+110 -1121 replyApplied
2/2tcp: move tcp_rate_check_app_limited() to tcp.cinclude/net/tcp.h net/ipv4/Makefile net/ipv4/tcp.c +1 more+20 -231 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchNeal Cardwell
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/2] tcp: remove tcp_rate.c

Move tcp_rate_gen() to tcp_input.c and tcp_rate_check_app_limited() to tcp.c for better code generation.

tcp_rate.c was interesting from code maintenance perspective but was adding cpu costs.

Eric Dumazet (2):
tcp: move tcp_rate_gen to tcp_input.c
tcp: move tcp_rate_check_app_limited() to tcp.c

 include/net/tcp.h    |   5 +-
 net/ipv4/Makefile    |   2 +-
 net/ipv4/tcp.c       |  18 ++++++
 net/ipv4/tcp_input.c | 110 ++++++++++++++++++++++++++++++++++++
 net/ipv4/tcp_rate.c  | 130 -------------------------------------------
 5 files changed, 130 insertions(+), 135 deletions(-)
 delete mode 100644 net/ipv4/tcp_rate.c

base-commit: d8f87aa5fa0a4276491fa8ef436cd22605a3f9ba

Signature · 1 line
2.52.0.457.g6b5491de43-goog