- 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.