- Name
-
tcp_sockbuf_max_fraction
- Default
-
1
- Minimum
-
1
- Maximum
-
10
- Scope
- per-stack
This option controls the maximum fraction of the TX buffers that can be allocated to a single
socket with EF_TCP_SNDBUF_MODE=2
.
It also controls the maximum fraction of the RX buffers that can be allocated to a single socket
with EF_TCP_RCVBUF_MODE=1
.
The maximum allocation for a socket is EF_MAX_TX_PACKETS
/(2^N)
for TX and EF_MAX_RX_PACKETS
/(2^N)
for RX, where N
is specified here.