Home
last modified time | relevance | path

Searched refs:CYCLE_LEN (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
H A Dtcp_bbr.c128 #define CYCLE_LEN 8 /* number of phases in a pacing gain cycle */ macro
131 static const int bbr_bw_rtts = CYCLE_LEN + 2;
593 bbr->cycle_idx = (bbr->cycle_idx + 1) & (CYCLE_LEN - 1); in bbr_advance_cycle_phase()
619 bbr->cycle_idx = CYCLE_LEN - 1 - prandom_u32_max(bbr_cycle_rand); in bbr_reset_probe_bw_mode()
/kernel/linux/linux-6.6/net/ipv4/
H A Dtcp_bbr.c130 #define CYCLE_LEN 8 /* number of phases in a pacing gain cycle */ macro
133 static const int bbr_bw_rtts = CYCLE_LEN + 2;
595 bbr->cycle_idx = (bbr->cycle_idx + 1) & (CYCLE_LEN - 1); in bbr_advance_cycle_phase()
621 bbr->cycle_idx = CYCLE_LEN - 1 - get_random_u32_below(bbr_cycle_rand); in bbr_reset_probe_bw_mode()

Completed in 7 milliseconds