EF_TCP_SEND_NONBLOCK_NO_PACKETS_MODE

Onload User Guide (UG1586)

Document ID
UG1586
Release Date
2023-07-31
Revision
1.2 English
Name
tcp_nonblock_no_pkts_mode
Default
0
Minimum
0
Maximum
1
Scope
per-stack

This option controls how a non-blocking TCP send() call should behave if it is unable to allocate sufficient packet buffers. By default Onload will mimic Linux kernel stack behavior and block for packet buffers to be available. If set to 1, this option will cause Onload to return error ENOBUFS. Note this option can cause some applications (that assume that a socket that is writable is able to send without error) to malfunction.