EF_TCP_RCVBUF_ESTABLISHED_DEFAULT - UG1586

Onload User Guide (UG1586)

Document ID
UG1586
Release Date
2023-07-31
Revision
1.2 English
Name
tcp_rcvbuf_est_def
Default
131072
Minimum
0
Maximum
SMAX/4
Scope
per-stack

Overrides the OS default SO_RCVBUF value for TCP sockets in the ESTABLISHED state if the OS default SO_RCVBUF value falls outside bounds set with this option. This value is used when the TCP connection transitions to ESTABLISHED state, to avoid confusion of some applications like netperf.

The lower bound is set to this value and the upper bound is set to 4 * this value. If the OS default SO_RCVBUF value is less than the lower bound, then the lower bound is used. If the OS default SO_RCVBUF value is more than the upper bound, then the upper bound is used.

This variable overrides OS default SO_RCVBUF value only, it does not change SO_RCVBUF if the application explicitly sets it (see EF_TCP_RCVBUF variable which overrides application-supplied value).