tcp: replace cnt & rtt with struct in pkts_acked()
Replace 2 arguments (cnt and rtt) in the congestion control modules' pkts_acked() function with a struct. This will allow adding more information without having to modify existing congestion control modules (tcp_nv in particular needs bytes in flight when packet was sent). As proposed by Neal Cardwell in his comments to the tcp_nv patch. Signed-off-by:Lawrence Brakmo <brakmo@fb.com> Acked-by:
Yuchung Cheng <ycheng@google.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/tcp.h 6 additions, 1 deletioninclude/net/tcp.h
- net/ipv4/tcp_bic.c 3 additions, 3 deletionsnet/ipv4/tcp_bic.c
- net/ipv4/tcp_cdg.c 7 additions, 7 deletionsnet/ipv4/tcp_cdg.c
- net/ipv4/tcp_cubic.c 3 additions, 3 deletionsnet/ipv4/tcp_cubic.c
- net/ipv4/tcp_htcp.c 5 additions, 5 deletionsnet/ipv4/tcp_htcp.c
- net/ipv4/tcp_illinois.c 11 additions, 10 deletionsnet/ipv4/tcp_illinois.c
- net/ipv4/tcp_input.c 6 additions, 2 deletionsnet/ipv4/tcp_input.c
- net/ipv4/tcp_lp.c 3 additions, 3 deletionsnet/ipv4/tcp_lp.c
- net/ipv4/tcp_vegas.c 3 additions, 3 deletionsnet/ipv4/tcp_vegas.c
- net/ipv4/tcp_vegas.h 1 addition, 1 deletionnet/ipv4/tcp_vegas.h
- net/ipv4/tcp_veno.c 4 additions, 3 deletionsnet/ipv4/tcp_veno.c
- net/ipv4/tcp_westwood.c 4 additions, 3 deletionsnet/ipv4/tcp_westwood.c
- net/ipv4/tcp_yeah.c 4 additions, 3 deletionsnet/ipv4/tcp_yeah.c
Loading
Please register or sign in to comment