EF_FORK_NETIF

Onload User Guide (UG1586)

Document ID
UG1586
Release Date
2023-07-31
Revision
1.2 English
Name
fork_netif
Default
3
Minimum
CI_UNIX_FORK_NETIF_NONE
Maximum
CI_UNIX_FORK_NETIF_BOTH
Scope
per-process

This option controls behavior after an application calls fork():

  • 0 - Neither fork parent nor child creates a new Onload stack
  • 1 - Child creates a new stack for new sockets
  • 2 - Parent creates a new stack for new sockets
  • 3 - Parent and child each create a new stack for new sockets.