1XPRT_ADJUST_CWND(9) Linux Networking XPRT_ADJUST_CWND(9)
2
3
4
6 xprt_adjust_cwnd - adjust transport congestion window
7
9 void xprt_adjust_cwnd(struct rpc_xprt * xprt, struct rpc_task * task,
10 int result);
11
13 xprt
14 pointer to xprt
15
16 task
17 recently completed RPC request used to adjust window
18
19 result
20 result code of completed RPC request
21
23 The transport code maintains an estimate on the maximum number of out-
24 standing RPC requests, using a smoothed version of the congestion
25 avoidance implemented in 44BSD. This is basically the Van Jacobson
26
28 If a retransmit occurs, the congestion window is halved; otherwise, it
29 is incremented by 1/cwnd when
30
31 - a reply is received and - a full number of requests are outstanding
32 and - the congestion window hasn't been updated recently.
33
35Kernel Hackers Manual 3.10 June 2019 XPRT_ADJUST_CWND(9)