ipv6: tcp: no longer rebuild fl6 at each transmit
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
Patches in v1 All 7 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | ipv6: add daddr/final storage in struct ipv6_pinfoinclude/ | +4 | 1 reply | Applied |
| 2/7 | ipv6: use np->final in inet6_sk_rebuild_header()net/ | +2 | 1 reply | Applied |
| 3/7 | ipv6: use inet->cork.fl.u.ip6 and np->final in ip6_datagram_dst_update()net/ | +11 | 1 reply | Applied |
| 4/7 | ipv6: inet6_csk_xmit() and inet6_csk_update_pmtu() use inet->cork.fl.u.ip6net/ | +11 | 1 reply | Applied |
| 5/7 | tcp: populate inet->cork.fl.u.ip6 in tcp_v6_connect()net/ | +24 | 1 reply | Applied |
| 6/7 | tcp: populate inet->cork.fl.u.ip6 in tcp_v6_syn_recv_sock()include/ net/ net/ | +17 | 1 reply | Applied |
| 7/7 | tcp: inet6_csk_xmit() optimizationnet/ | +15 | 1 reply | Applied |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Kuniyuki Iwashima |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/7] ipv6: tcp: no longer rebuild fl6 at each transmit
TCP v6 spends a good amount of time rebuilding a fresh fl6 at each transmit in inet6_csk_xmit()/inet6_csk_route_socket().
TCP v4 caches the information in inet->cork.fl.u.ip4 instead.
This series changes TCP v6 to behave the same, saving cpu cycles and reducing cache line misses and stack use.
Eric Dumazet (7):
ipv6: add daddr/final storage in struct ipv6_pinfo
ipv6: use np->final in inet6_sk_rebuild_header()
ipv6: use inet->cork.fl.u.ip6 and np->final in
ip6_datagram_dst_update()
ipv6: inet6_csk_xmit() and inet6_csk_update_pmtu() use
inet->cork.fl.u.ip6
tcp: populate inet->cork.fl.u.ip6 in tcp_v6_connect()
tcp: populate inet->cork.fl.u.ip6 in tcp_v6_syn_recv_sock()
tcp: inet6_csk_xmit() optimization
include/linux/ipv6.h | 4 ++ include/net/inet6_connection_sock.h | 4 +- net/ipv6/af_inet6.c | 4 +- net/ipv6/datagram.c | 21 +++++----- net/ipv6/inet6_connection_sock.c | 57 +++++++++++++------------ net/ipv6/tcp_ipv6.c | 64 ++++++++++++++--------------- 6 files changed, 82 insertions(+), 72 deletions(-)
Signature · 1 line
2.53.0.rc2.204.g2597b5adb4-goog