EF_TCP_SNDBUF_ESTABLISHED_DEFAULT

Onload User Guide (UG1586)

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

Overrides the OS default SO_SNDBUF value for TCP sockets in the ESTABLISHED state if the OS default SO_SNDBUF 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_SNDBUF value is less than the lower bound, then the lower bound is used. If the OS default SO_SNDBUF value is more than the upper bound, then the upper bound is used.

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