EF_NETIF_DTOR - EF_NETIF_DTOR - UG1586

Onload User Guide (UG1586)

Document_ID
UG1586
Release_Date
2026-06-08
Revision
1.5 English
Name
netif_dtor
Default
1
Minimum
0
Maximum
2
Scope
per-process

This option controls the lifetime of Onload stacks when the last socket in a stack is closed:

  • 0 - Release the stack only when process exits.
  • 1 - Release the stack when closing the last socket if that stack has at any time been shared across a fork. In particular, sharing due to EF_NAME is not relevant here.
  • 2 - Release the stack immediately that the last socket in the process closes.