EF_TCP_SOCKBUF_MAX_FRACTION

Onload User Guide (UG1586)

Document ID
UG1586
Release Date
2023-07-31
Revision
1.2 English
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.