mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-05 20:03:16 +02:00
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.
This commit is contained in:
@@ -120,6 +120,7 @@ struct quic_cc_algo {
|
||||
void (*event)(struct quic_cc *cc, struct quic_cc_event *ev);
|
||||
void (*slow_start)(struct quic_cc *cc);
|
||||
void (*state_trace)(struct buffer *buf, const struct quic_cc *cc);
|
||||
void (*state_cli)(struct buffer *buf, const struct quic_cc_path *path);
|
||||
void (*hystart_start_round)(struct quic_cc *cc, uint64_t pn);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user