Home
last modified time | relevance | path

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

/Linux-v6.6/net/ipv4/
Dtcp_cdg.c193 s32 gmax = ca->rtt.max - ca->rtt_prev.max; in tcp_cdg_grad() local
198 ca->gsum.max += gmax - ca->gradients[ca->tail].max; in tcp_cdg_grad()
200 ca->gradients[ca->tail].max = gmax; in tcp_cdg_grad()
203 gmax = ca->gsum.max; in tcp_cdg_grad()
212 grad = gmin > 0 ? gmin : gmax; in tcp_cdg_grad()
225 if (gmin <= -32 || gmax <= -32) in tcp_cdg_grad()
231 gmax = DIV_ROUND_CLOSEST(gmax, 64); in tcp_cdg_grad()
233 if (gmin > 0 && gmax <= 0) in tcp_cdg_grad()
235 else if ((gmin > 0 && gmax > 0) || gmax < 0) in tcp_cdg_grad()