Home
last modified time | relevance | path

Searched refs:max_ratio (Results 1 – 1 of 1) sorted by relevance

/net/dccp/ccids/
Dccid2.c88 u32 max_ratio = DIV_ROUND_UP(ccid2_hc_tx_sk(sk)->tx_cwnd, 2); in ccid2_change_l_ack_ratio() local
96 if (val == 0 || val > max_ratio) { in ccid2_change_l_ack_ratio()
97 DCCP_WARN("Limiting Ack Ratio (%u) to %u\n", val, max_ratio); in ccid2_change_l_ack_ratio()
98 val = max_ratio; in ccid2_change_l_ack_ratio()
717 u32 max_ratio; in ccid2_hc_tx_init() local
727 max_ratio = DIV_ROUND_UP(hc->tx_cwnd, 2); in ccid2_hc_tx_init()
728 if (dp->dccps_l_ack_ratio == 0 || dp->dccps_l_ack_ratio > max_ratio) in ccid2_hc_tx_init()
729 dp->dccps_l_ack_ratio = max_ratio; in ccid2_hc_tx_init()