EF_MAX_ENDPOINTS

Onload User Guide (UG1586)

Document ID
UG1586
Release Date
2023-07-31
Revision
1.2 English
Name
max_ep_bufs
Default
8192
Minimum
4
Maximum
CI_CFG_NETIF_MAX_ENDPOINTS_MAX (default 1<<21)
Scope
per-stack

This option places an upper limit on the number of accelerated endpoints (sockets, pipes etc.) in an Onload stack. This option should be set to a power of two between 4 and 2^21. When this limit is reached listening sockets are not able to accept new connections over accelerated interfaces. New sockets and pipes created via socket() and pipe() etc. are handed over to the kernel stack and so are not accelerated.

Note: ~4 syn-receive states consume one endpoint, see also EF_TCP_SYNRECV_MAX.