]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Add information to "show quic" for CUBIC cc.
authorFrederic Lecaille <flecaille@haproxy.com>
Fri, 26 Jul 2024 14:06:27 +0000 (16:06 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Fri, 26 Jul 2024 14:42:44 +0000 (16:42 +0200)
commit76ff8afa2d9eb0206bc72f4e2f8ad230720dfb94
treea495c5d2d4b5dda920d64becd471c4ed20172ff2
parent2dab1ba84b11fe43baa91642ffcddb90e9ec09d2
MINOR: quic: Add information to "show quic" for CUBIC cc.

Add ->state_cli() new callback to quic_cc_algo struct to define a
function called by the "show quic (cc|full)" commands to dump some information
about the congestion algorithm internal state currently in use by the QUIC
connections.

Implement this callback for CUBIC algorithm to dump its internal variables:
   - K: (the time to reach the cubic curve inflexion point),
   - last_w_max: the last maximum window value reached before intering
     the last recovery period. This is also the window value at the
     inflexion point of the cubic curve,
   - wdiff: the difference between the current window value and last_w_max.
     So negative before the inflexion point, and positive after.
include/haproxy/quic_cc-t.h
src/quic_cc_cubic.c
src/quic_cli.c